MongoDB MCP Server
Query MongoDB collections and manage Atlas clusters from an agent session.
Add it to your client
Officialnpx -y mongodb-mcp-server@latest
{
"mcpServers": {
"mongodb-mcp": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server@latest"
]
}
}
}- Transport
- both
- Runtime
- Node
- Auth
- Required
- License
- Apache-2.0
MongoDB's own MCP server exposes the database layer as agent tools: find, aggregate, insert, update and delete documents, inspect collection schemas and indexes, and read database statistics. A second group of tools covers Atlas administration, so clusters, projects and database users can be listed or created without leaving the chat. It connects through a standard MongoDB connection string, or through Atlas service account credentials when cluster management is needed. A read-only flag is available for sessions where write access would be unnecessary risk.
Similar MCP servers
SurrealDB MCP Server
MCP serverCommunity bridge to SurrealDB: run SurrealQL, manage records and relations from an agent.
Elasticsearch MCP Server
MCP serverSearch Elasticsearch indices and read mappings through a Docker-run MCP server.
ClickHouse MCP Server
MCP serverRun read-only SQL against ClickHouse and browse its databases and tables.

Comments(0)
Sign in to comment