MongoDB with Cursor

For the complete MongoDB documentation index, see www.mongodb.com/docs/llms.txt

MongoDB with Cursor

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

The MongoDB Cursor Plugin provides:

  • The MongoDB MCP Server

  • Pre-built agent skills for common MongoDB tasks. See the [MongoDB Agent Skills documentation](https://www.mongodb.com/docs/agent-skills.md#std-label-agent-skills for more information.

Install the MongoDB Cursor Plugin

The MongoDB Cursor Plugin is available in the official Cursor Plugin Marketplace.

Install the MongoDB Plugin from the Cursor Marketplace

To install the MongoDB Cursor Plugin from the Cursor Marketplace:

  1. Open Cursor.

  2. Open the Marketplace (using the command palette or from your Cursor Settings)

  3. Search for MongoDB.

  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.

Install the MongoDB Plugin from Agent

To install the MongoDB Cursor Plugin:

  1. Open Cursor.

  2. Install the plugin:

bash /add-plugin mongodb

Tip:

If you don't see MongoDB in the list of available plugins, you can find it using the Browse Marketplace option.

  1. 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.

Configure the MCP Server

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