Co-authored-by: Eduarda Scharnhorst <eduardascharnhorst@gmail.com>
2.6 KiB
MongoDB Agent Skills — Community & Enterprise Advanced
This guide covers the mongodb plugin, which runs the MongoDB MCP server locally (via npx) and connects to a MongoDB deployment you manage yourself — MongoDB Community, Enterprise Advanced, or any self-hosted or Atlas deployment reachable by connection string. It bundles the official MongoDB agent skills, including mongodb-mcp-setup to help you configure the connection.
Looking for the MongoDB-hosted Atlas experience — a hosted MCP server with OAuth and no local setup? Use the
mongodb-atlasplugin instead; see the main README.
Installation
Claude
Install the plugin from the Claude marketplace, or run the following command from a Claude session:
-
Install the plugin:
/plugin install mongodb -
Follow the prompts to complete the installation, then run
/reload-pluginsto activate it.
Cursor
Install the plugin from the Cursor marketplace, or run the following command from a Cursor session:
-
Install the plugin:
/add-plugin mongodb -
Follow the prompts to complete the installation.
Codex
-
Add the mongodb/agent-skills marketplace to Codex:
codex plugin marketplace add mongodb/agent-skills -
Start Codex and open the plugins browser:
/plugins -
Navigate to the "MongoDB Agent Skills" tab and install the
mongodbplugin.
Gemini
Install the extension from the Gemini marketplace, or run the following command from Gemini CLI:
-
Install the extension:
gemini extensions install https://github.com/mongodb/agent-skills -
Follow the prompts to complete the installation.
Copilot CLI
Install the plugin from the GitHub repository: /plugin install https://github.com/mongodb/agent-skills.git. Then restart Copilot CLI to activate the MCP server.
To install just the agent skills without a plugin — via the Agent Skills Directory or a local clone — see Installing the skills directly in the main README.
Configuration
Using the MCP Server to connect to MongoDB requires authentication - you can use the mongodb-mcp-setup skill to guide you through the process. Alternatively, refer to the MongoDB MCP server documentation for a full list of configuration options.