Files
2026-07-21 01:22:41 +02:00

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-atlas plugin instead; see the main README.

Installation

Claude

Install the plugin from the Claude marketplace, or run the following command from a Claude session:

  1. Install the plugin:

    /plugin install mongodb
    
  2. Follow the prompts to complete the installation, then run /reload-plugins to activate it.

Cursor

Install the plugin from the Cursor marketplace, or run the following command from a Cursor session:

  1. Install the plugin:

    /add-plugin mongodb
    
  2. Follow the prompts to complete the installation.

Codex

  1. Add the mongodb/agent-skills marketplace to Codex:

    codex plugin marketplace add mongodb/agent-skills
    
  2. Start Codex and open the plugins browser:

    /plugins
    
  3. Navigate to the "MongoDB Agent Skills" tab and install the mongodb plugin.

Gemini

Install the extension from the Gemini marketplace, or run the following command from Gemini CLI:

  1. Install the extension:

    gemini extensions install https://github.com/mongodb/agent-skills
    
  2. 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.