Make the MongoDB docs better! We value your opinion. Share your feedback for a chance to win $100.
Click here >
Docs Menu
Docs Home
/

MongoDB with Codex

You can use MongoDB with Codex through the official MongoDB Codex Plugin.

The MongoDB Codex Plugin provides:

  • The MongoDB MCP Server

  • Pre-built agent skills for common MongoDB tasks. See the MongoDB Agent Skills documentation for more information.

The MongoDB Codex Plugin is available by adding the MongoDB marketplace to Codex.

To install the MongoDB Codex Plugin:

  1. From the terminal, add the MongoDB marketplace:

    codex plugin marketplace add mongodb/agent-skills
  2. Open a new Codex session, then install the plugin:

    /plugins
  3. Search for the MongoDB plugin and select it.

  4. Follow the prompts to complete the installation.

After installing the plugin, you must configure the MCP Server before using any agent skills or functionality that connects to MongoDB.

The MongoDB Codex Plugin bundles the MongoDB MCP Server. To configure the MCP Server, see MongoDB MCP Server Get Started.

Back

Claude Plugin

On this page