{"slug":"mongodb","kind":"mcp","name":"MongoDB MCP Server","summary":"MongoDB's MCP server for querying and indexing collections, with optional MongoDB Atlas admin tools.","owner":"mongodb-js","repoUrl":"https://github.com/mongodb-js/mongodb-mcp-server","license":"Apache-2.0","categories":["databases"],"tags":["mongodb","nosql","atlas","queries","indexes"],"runtime":"node","local":true,"cloudCapable":true,"cloudCapability":"yes","cloudReadyOnPlatform":false,"needsApiKey":true,"reviewed":false,"syncedAt":"2026-10-13T00:00:00.000Z","sample":false,"url":"https://conduits.dev/tools/mongodb","language":"TypeScript","transports":["stdio","http"],"install":{"npm":"mongodb-mcp-server"},"requirements":{"env":[{"name":"MDB_MCP_CONNECTION_STRING","required":false,"secret":true,"description":"MongoDB connection string"},{"name":"MDB_MCP_API_CLIENT_ID","required":false,"secret":false,"description":"Atlas API service account client ID (for Atlas tools)"},{"name":"MDB_MCP_API_CLIENT_SECRET","required":false,"secret":true,"description":"Atlas API service account client secret"},{"name":"MDB_MCP_READ_ONLY","required":false,"secret":false,"description":"Restrict the server to read, connect and metadata operations"},{"name":"MDB_MCP_TRANSPORT","required":false,"secret":false,"description":"stdio (default) or http"}],"service":"MongoDB","upstreamMayCharge":true},"tools":[{"name":"find","description":"Query documents"},{"name":"aggregate","description":"Run an aggregation pipeline"},{"name":"insert-many","description":"Insert documents"},{"name":"update-many","description":"Update documents"},{"name":"collection-indexes","description":"List indexes"},{"name":"atlas-create-cluster","description":"Create an Atlas cluster (Atlas tools)"}],"readme":"# MongoDB MCP Server\n\nMongoDB's MCP server for querying and indexing collections, with optional MongoDB Atlas admin tools.\n\n## Install\n\n```bash\nnpx -y mongodb-mcp-server\n```\n\n## Configuration\n\n| Variable | Required | Description |\n| --- | --- | --- |\n| `MDB_MCP_CONNECTION_STRING` | No | MongoDB connection string |\n| `MDB_MCP_API_CLIENT_ID` | No | Atlas API service account client ID (for Atlas tools) |\n| `MDB_MCP_API_CLIENT_SECRET` | No | Atlas API service account client secret |\n| `MDB_MCP_READ_ONLY` | No | Restrict the server to read, connect and metadata operations |\n| `MDB_MCP_TRANSPORT` | No | stdio (default) or http |\n\n## Tools\n\n- `find` — Query documents\n- `aggregate` — Run an aggregation pipeline\n- `insert-many` — Insert documents\n- `update-many` — Update documents\n- `collection-indexes` — List indexes\n- `atlas-create-cluster` — Create an Atlas cluster (Atlas tools)\n\n## About this listing\n\nDetails were gathered from the project's public pages on 2026-10-13 and have not been reviewed by a person yet. Read the project's own documentation before giving it access to anything sensitive.\n\nSources:\n\n- <https://github.com/mongodb-js/mongodb-mcp-server>\n- <https://registry.npmjs.org/mongodb-mcp-server/latest>"}