MongoDB MCP
Database FeaturedOfficial MongoDB MCP server for working with MongoDB databases and Atlas clusters from AI clients.
Author
MongoDB
Category
Database
GitHub Stars
1,013+
Clients
4 supported
Freshness
Verified 2026-05-07
Sample Configuration
Add this to your MCP client configuration file (e.g., claude_desktop_config.json for Claude Desktop):
{
"mcpServers": {
"mongodb": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mongodb"
]
}
}
} Use our MCP Manifest Generator to build complete configurations visually, or the MCP Config Validator to check your existing config.
Compatible Clients
Details
| Server ID | mongodb |
| Author | MongoDB |
| Category | Database |
| Compatible With | Claude Desktop, Cursor, Windsurf, VS Code |
| Tags | mongodbatlasdatabaseofficial |
| GitHub | https://github.com/mongodb-js/mongodb-mcp-server |
| Website | https://www.mongodb.com/docs/mcp-server/overview/ |
| GitHub Stars | 1,013+ |
| Maintenance | Active maintenance |
| Last GitHub Push | 2026-05-07 |
| Metadata Verified | 2026-05-07 |
About MongoDB MCP
MongoDB MCP is a Model Context Protocol (MCP) server created by MongoDB. It enables AI assistants to interact with MongoDB capabilities.
MCP (Model Context Protocol) is an open standard that allows AI models to securely connect to external tools and data sources. By installing MongoDB MCP, you give your AI assistant the ability to perform real actions through a standardized interface, rather than just generating text about them.
This server is compatible with Claude Desktop, Cursor, Windsurf, VS Code and has 1,013+ stars on GitHub. It falls under the "Database" category of MCP servers.
To get started, use our MCP Manifest Generator to create a complete configuration, or validate your existing setup with the MCP Config Validator.
Other Database Servers
PostgreSQL Server
Anthropic
Read-only access to PostgreSQL databases with schema inspection and query execution. Part of the official MCP servers collection.
SQLite Server
Anthropic
Full SQLite database operations including queries, tables, and schema management.
Supabase MCP
Supabase
Official Supabase MCP server — manage database, auth, storage, and edge functions via AI.
Popular MCP Servers
Filesystem Server
Anthropic · 85,203+ stars
Secure file operations with configurable access controls. Read, write, and manage files and directories.
GitHub Server
GitHub · 29,569+ stars
GitHub API integration for repository management, issues, pull requests, and more. Now a standalone package maintained by GitHub.
Context7 MCP
Upstash · 54,683+ stars
Up-to-date, version-specific library documentation and code examples for AI coding agents.
Related Tools
FAQ
How do I install MongoDB MCP?
Visit the GitHub repository at https://github.com/mongodb-js/mongodb-mcp-server for detailed installation instructions. Setup steps vary depending on your MCP client.
What clients work with MongoDB MCP?
MongoDB MCP is compatible with Claude Desktop, Cursor, Windsurf, VS Code. Each client has its own configuration file format, but the MCP server setup is similar across all of them.
What can I do with MongoDB MCP?
Official MongoDB MCP server for working with MongoDB databases and Atlas clusters from AI clients. Once configured, your AI assistant can interact with these capabilities through natural language commands, making it possible to perform real actions directly from your AI chat interface.