MongoDB agent plugins add MongoDB database exploration capabilities to AI clients through a client's plugin marketplace. Installing a plugin installs both the MongoDB MCP Server and MongoDB agent skills together.
Agent skills are pre-built, reusable instructions that help AI coding agents perform common MongoDB tasks efficiently. These skills enable agents to help you build applications faster and with fewer errors. To learn more, see MongoDB Agent Skills.
Choose a Plugin
Two MongoDB plugins are available across different AI clients, the MongoDB Atlas (Managed MCP) Plugin and the MongoDB Local Plugin. These plugins fit different use cases. Use the following table to compare each plugin and decide which best fits your use case.
MongoDB Atlas (Managed MCP) Plugin | MongoDB Local Plugin | |
|---|---|---|
MCP server | ||
Hosting | MongoDB hosts and manages the MCP server in Atlas. You don't deploy, upgrade, or maintain any MCP infrastructure. | You run, host, and maintain the MCP server yourself, including handling server upgrades. |
Supported deployments | MongoDB Atlas clusters | Any MongoDB deployment, including:
|
Authentication | You authorize the AI client through an OAuth flow tied to your Atlas identity. Token refresh is automatic, and you don't manage connection strings, secrets, or certificates. | You directly manage the credentials that the MCP server uses to connect to your deployment. |
Setup after install | Authenticate to Atlas and authorize the requested permissions. | Run the |
Supported Clients
The following table shows which AI clients support each plugin:
AI Client | MongoDB Atlas (Managed MCP) Plugin | MongoDB Local Plugin |
|---|---|---|
Claude Code | ||
Cursor | ||
Grok Build | ||
Codex | ||
ChatGPT | ||
Devin |
For clients that don't support a plugin, you can configure the MongoDB MCP Server manually. To learn how, see Get Started with the MongoDB MCP Server.
Install a Plugin
The following instructions show how to install a plugin in each supported client.
Select your client and plugin type from the dropdown below.
After you install the plugin, complete the remaining setup steps for your AI client in Get Started with the MongoDB MCP Server.