MongoDB MCP Server
Official MCP server for querying and managing MongoDB databases and MongoDB Atlas clusters, with a read-only mode.
Tags
Description
Runs locally via npx mongodb-mcp-server with a connection string (optionally --readOnly). For Atlas, MongoDB recommends its hosted Atlas MCP server over OAuth, installed as the mongodb-atlas plugin in Cursor, VS Code, Claude, Codex and GitHub Copilot CLI.
Related
- MCP Toolbox for Databases: Google's open-source MCP server for databases: prebuilt tools for MCP clients plus a framework for defining secure custom database tools for agents.
- Supabase MCP Server: Connects AI assistants to your Supabase projects over MCP (hosted with OAuth 2.1, or locally via the Supabase CLI).
- Neon MCP Server: Lets AI assistants manage Neon serverless Postgres projects and databases through the Neon Management API.
Guides & comparisons
- Database MCP servers compared (Comparison): Google's MCP Toolbox for Databases and the MongoDB, Neon and Supabase MCP servers compared on what they connect to, where they run, how they authenticate, how read-only mode and scoping work, and what guards their write tools.
Sources
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)