mongodb/mongodb-mcp-setup
Set up the MongoDB MCP server with authentication and connection configuration
Description
mongodb-mcp-setup is an agent skill that walks you through configuring the MongoDB MCP server so an AI agent can reach your database. It covers three setup paths: a direct connection string for an existing cluster, Atlas Service Account credentials for Atlas Admin API access, and Atlas Local running in Docker for offline development. The skill handles the shell profile edits, switching the server to read-only mode, and adding a developer's IP address to the Service Account API access list. It keeps credentials out of the chat and out of your dotfiles by putting them in a locked-down ~/.mcp-env file that the shell profile sources, and it says it does not touch credentials directly. A coding assistant that has the skill will guide you through each choice and make the file and profile changes for you. Typical tasks are connecting an agent to an existing Atlas cluster through a connection string, setting up Service Account credentials for the Admin API, running Atlas Local in Docker, changing a configured server from read-write to read-only, and adding a developer IP to the access list. Install it with the command shown on this page.…
Highlights
- Setup for connection string, Atlas Service Account or Atlas Local
- Read-only mode switch
- Credentials kept in a locked ~/.mcp-env file
- IP access list setup
- Shell profile edits handled for you
Ratings & Reviews
No ratings yet
Be the first to rate mongodb/mongodb-mcp-setup.
People also visit
mongodb/mongodb-mcp-setup FAQ
What does this skill do?
It walks you through configuring the MongoDB MCP server so an AI agent can connect to your database with the right authentication.
How do I install it?
Run npx skills add https://github.com/mongodb/agent-skills --skill mongodb-mcp-setup, or paste the skill link into your coding assistant and ask it to install the skill.
Where are my credentials stored?
The page says they go in a locked-down ~/.mcp-env file, which the shell profile sources, rather than in chat or dotfiles.
Can I make the server read-only?
Yes. The skill covers switching an already configured MCP server from read-write to read-only.
What are the best mongodb/mongodb-mcp-setup alternatives?
Popular alternatives to mongodb/mongodb-mcp-setup include mongodb-mcp-setup, kiliczsh/mcp-mongo-server and QuantGeekDev/mongo-mcp. See all mongodb/mongodb-mcp-setup alternatives




















