MCP server for querying and managing MongoDB databases and MongoDB Atlas clusters.
MCP server for querying and managing MongoDB databases and MongoDB Atlas clusters.
MongoDB MCP Server
A Model Context Protocol server for interacting with MongoDB Databases and MongoDB Atlas.
MongoDB MCP Server comes bundled with the official MongoDB plugins for AI agents. The following plugins are available:
mongodb-atlas — connects to the MongoDB-hosted Atlas MCP server over OAuth. This does not require you to run anything locally, and is the recommended way to connect to MongoDB Atlas from your AI agent:
• Cursor: marketplace
• VSCode: Open the Extensions view (⇧⌘X / Ctrl+Shift+X), search for @agentPlugins, and install mongodb-atlas.
• Claude: marketplace
• Codex: Open /plugins and install mongodb-atlas.
• GitHub Copilot CLI: Run copilot plugin install mongodb-atlas.
• Grok: Open /marketplace in Grok Build and install mongodb-atlas.
mongodb — runs the MongoDB MCP server locally and connects to any self-managed deployment:
• Cursor: marketplace
• Claude: marketplace
• Gemini: marketplace
• Codex: Run codex plugin marketplace add mongodb/agent-skills, then open /plugins and install mongodb.
• GitHub Copilot CLI: Run copilot plugin install mongodb.
• Grok: Open /marketplace in Grok Build and install mongodb.
You can manually set up the local MCP server by running the following command:
npx -y mongodb-mcp-server@latest setup
This will guide you through an interactive setup process, including configuring your MongoDB connection string or Atlas API credentials.
For more advanced setup options, see the Manual Setup section below.
You can add and use the MongoDB MCP Server setup skill to configure your local MCP server using an AI agent.
npx skills add https://github.com/mongodb/agent-skills --skill mongodb-mcp-setup
See Manual Setup for instructions on how to manually configure the MongoDB MCP Server.
📚 Table of Contents
• 🚀 Getting Started
• Prerequisites
• Manual Setup
• 🛠️ Supported Tools
• MongoDB Atlas Tools
• MongoDB Database Tools
• MongoDB Assistant Tools
• 📄 Supported Resources
• ⚙️ Configuration
• Configuration Options
• Atlas API Access
• Configuration Methods
• Environment Variables
• Command-Line Arguments
• MCP Client Configuration
• Proxy Support
• 🚀 Deploy on Public Clouds
• Azure Cloud
• 🤝 Contributing
NOTE:
Node 20.x support is deprecated and will be removed in a future release. Please upgrade to Node 22.13 or later. See https://nodejs.org/en/blog/migrations/v20-to-v22 for migration details.
• Node.js
• At least v22.13.0. Check with node -v.
• A MongoDB connection string or Atlas API credentials.
• Service Accounts Atlas API credentials are required to use the Atlas tools. You can create a service account in MongoDB Atlas and use its credentials for authentication. See Atlas API Access for more details.
• If you have a MongoDB connection string, you can use it directly to connect to your MongoDB instance.
🔒 Security Recommendation 1: When using Atlas API credentials, be sure to assign only the minimum required permissions to your service account. See Atlas API Permissions for details. …
MCP server · MCP servers / Databases · Open Source · Apache-2.0 · TypeScript
Website https://github.com/mongodb-js/mongodb-mcp-server · Repo https://github.com/mongodb-js/mongodb-mcp-server
1,161 stars · 299 forks · 41 open issues · pushed 2026-11-11 · verified 2026-11-12
Tags: ai-agents, mcp-server, databases
Install: npx -y mongodb-mcp-server@latest setup
What is MongoDB MCP Server? MongoDB MCP Server is a coding website listed on Scriptiii Webnest. MCP server for querying and managing MongoDB databases and MongoDB Atlas clusters. Pricing: Free. Free to use. Best for: ai-agents, mcp-server, databases.
Everything you need to know about MongoDB MCP Server
Similar websites in Coding
Open-source vector database that stores objects and vectors with hybrid search and filtering.
Coding·Free