The Mongo MCP server enables LLMs to query, insert, update, and delete data in MongoDB. It provides tools for CRUD operations, aggregation, and index management. It connects directly to MongoDB instances via the MongoDB Node.js driver. Developers use it to build AI agents that manage and analyze data in MongoDB databases.
The Mongo MCP server enables LLMs to query, insert, update, and delete data in MongoDB. It provides tools for CRUD operations, aggregation, and index management. It connects directly to MongoDB instances via the MongoDB Node.js driver. Developers use it to build AI agents that manage and analyze data in MongoDB databases.
npx -y @coderay/mongodb-mcp-serverAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"1rb-mongo-mcp-github": {
"command": "npx",
"args": [
"-y",
"npx -y @coderay/mongodb-mcp-server"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from mongo mcp?"
API Key Required
This server requires an API key from mongo mcp. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| MONGO_MCP_API_KEY | Yes | Your mongo mcp API key |
"What resources are available in mongo mcp?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in mongo mcp"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in mongo mcp with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.