MongoDB Agent Skills
Collection of official MongoDB agent skills for use in agentic workflows. For more information, refer to the MongoDB Agent Skills documentation.
This README covers the mongodb-atlas plugin, which connects your agent to the MongoDB-hosted Atlas MCP server over HTTP using OAuth. It bundles the official MongoDB agent skills for writing queries, designing schemas, optimizing queries, using Atlas Search and Vector Search, and more.
Connecting to MongoDB Community or Enterprise Advanced? For self-managed deployments, use the
mongodbplugin instead — it runs the MongoDB MCP server locally and connects to your own deployment. See Community & Enterprise Advanced setup for installation and configuration instructions.
The mongodb-atlas plugin is available on Claude, Cursor, Codex, GitHub Copilot (CLI and VS Code), and Grok.
Installation
Claude
Install mongodb-atlas from the Claude marketplace, or run the following command from a Claude session:
-
Install the plugin:
/plugin install mongodb-atlas -
Follow the prompts to complete the installation, then run
/reload-pluginsto activate it.
Cursor
Install mongodb-atlas from the Cursor marketplace, or run the following command from a Cursor session:
-
Install the plugin:
/add-plugin mongodb-atlas -
Follow the prompts to complete the installation.
Codex
-
Open the plugins browser:
/plugins -
Find the
mongodb-atlasplugin and install it.
GitHub Copilot CLI
-
Install the plugin:
copilot plugin install mongodb-atlasTo browse first, run
copilot plugin marketplace browse.
VS Code
Open the Extensions view (⇧⌘X / Ctrl+Shift+X), search for @agentPlugins,
find mongodb-atlas, and select Install.
Grok
-
Open the marketplace browser in Grok Build:
/marketplace -
Find
mongodb-atlasand pressito install it.
Authentication
The mongodb-atlas plugin connects to the MongoDB-hosted Atlas MCP server using OAuth. The first time your agent uses the server, you'll be prompted to sign in to MongoDB Atlas in your browser.
Installing the skills directly
The methods below install just the agent skills — the same skills both plugins bundle — for agents or workflows that don't use a plugin marketplace. They don't configure an MCP server; to add one, run npx "mongodb-mcp-server@latest" setup, which can configure either the hosted Atlas MCP server or a self-managed deployment. Installing the mongodb-atlas or mongodb plugin just does this for you as a convenience (bundling the MCP configuration); for self-managed specifics, see Community & Enterprise Advanced setup.
Vercel's Agent Skills Directory
https://skills.sh/ is a popular directory and CLI that automates installing skills:
npx skills add mongodb/agent-skills
Local install from repository
-
Clone the repository:
git clone https://github.com/mongodb/agent-skills.git -
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.
No comments yet
Be the first to share your take.