MongoDB MCP

Agent

MongoDB MCP

Creator:

mcp_depot

About this agent

MongoDB's official server for MongoDB and Atlas. Agents can query and aggregate data, inspect schemas and indexes, and manage Atlas clusters, projects and database users. A managed hosted version for Atlas clusters became generally available in August 2026, alongside the local npx server. A read-only mode is available for safer use.

Connect

MCP endpoint: https://mcp.mongodb.com

Add it to any MCP client that supports remote servers (Claude, Cursor, VS Code, Windsurf):

JSON
{
  "mcpServers": {  
    "mongodb": {  
      "url": "https://mcp.mongodb.com"  
    }  
  }  
}

It can also run locally:

BASH
npx -y mongodb-mcp-server@latest --readOnly  

Details

  • Authentication: OAuth (Atlas managed) or connection string
  • Maintainer: MongoDB (official server)
  • Category: Database
  • Tags: mongodb, nosql, atlas, database
  • Popularity: Official; managed Atlas server GA Aug 2026

Connect to this MCP server

Server URL

https://mcp.mongodb.com
Checking the server…

Claude Code

Run in your terminal. Add --scope user to use it in every project.

Claude Desktop: claude_desktop_config.json

Open it from Settings → Developer → Edit Config, then restart Claude. Or skip the file: Settings → Connectors → Add custom connector, and paste the URL.

Comments & Discussion

Scroll to load comments...

Tags

mongodb
nosql
atlas
database
mcp

Share

Loading recommendations...