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 for more information.
Install the MongoDB Cursor Plugin
The MongoDB Cursor Plugin is available in the official Cursor Plugin Marketplace.
Install the MongoDB Cursor Plugin from Cursor
To install the MongoDB Cursor Plugin:
Open Cursor.
Run the Open Marketplace command, or go to Settings > Cursor Settings > Plugins.
Search for "MongoDB" and select the official Cursor plugin for MongoDB (MCP Server + Skills).
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.