MongoDB Agent Skills
June 3, 2026 ยท View on GitHub
Collection of official MongoDB agent skills for use in agentic workflows. For more information, refer to the MongoDB Agent Skills documentation.
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.
Install using Vercel's Agent Skills Directory
https://skills.sh/ is a popular directory and a CLI that automates the installation of skills.
-
Add the skills you want to your agent:
npx skills add mongodb/agent-skills -
Install the MCP server:
npx "mongodb-mcp-server@<3" setupand follow the instructions.
Local install from repository
-
Clone the repository:
git clone https://github.com/mongodb/agent-skills.git -
Install the skills for your platform:
Copy the
skills/directory to the location where your coding agent reads its skills or context files. Refer to your agent's documentation for the correct path. -
Install the MCP server:
npx "mongodb-mcp-server@<3" setupand follow the instructions.
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.