MongoDB MCP
Query and manage MongoDB Atlas clusters and self-hosted databases.
Share:
About
Official MongoDB MCP server: run find/aggregate queries, inspect schemas, manage indexes, and administer Atlas projects, clusters, and users. Supports both connection-string access to any MongoDB deployment and the Atlas Admin API for cloud management. Read-only mode available for safe exploration.
Example tools
Illustrative tool names — the actual tool set is defined by the server at runtime.
query
Run a read-only SQL query
list_tables
List tables in the connected database
describe_table
Return column info for a table
Screenshots
No screenshots yet.
Install MongoDB MCP
Claude Desktop
Add this to claude_desktop_config.json.
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mongodb"
]
}
}
}Cursor
Add this to ~/.cursor/mcp.json.
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mongodb"
]
}
}
}VS Code
Add this to your workspace settings.json.
{
"mcp.servers": {
"mongodb": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mongodb"
]
}
}
}Reviews
Sign in to leave a review.
No reviews yet. Be the first!
Discussion(0)
No comments yet.