Voyage AI joins MongoDB to power more accurate and trustworthy AI applications on Atlas.

Explore Developer Center's New Chatbot! MongoDB AI Chatbot can be accessed at the top of your navigation to answer all your MongoDB questions.

MongoDB Developer
Developer Topics
chevron-right
Products
chevron-right
MongoDB
chevron-right

How to Setup an MCP Server in Cursor #mongodb #mcp #cursor

1 min • Published Jun 02, 2025
Facebook Icontwitter iconlinkedin icon
Rate this video
star-empty
star-empty
star-empty
star-empty
star-empty
Let's learn how to setup an MCP (Model Context Protocol) server in the Cursor IDE by installing the official MongoDB MCP Server. JSON Configuration: ``` "MongoDB": { "command": "npx", "args": [ "-y", "@mongodb-js/mongodb-mcp-server" ], "env": { "MDB_MCP_API_CLIENT_ID": "your-atlas-service-account-client-id", "MDB_MCP_API_CLIENT_SECRET": "your-atlas-service-account-client-secret", "MDB_MCP_CONNECTION_STRING": "your-mongodb-connection-string" } } ```All MongoDB Videos

Facebook Icontwitter iconlinkedin icon
Rate this video
star-empty
star-empty
star-empty
star-empty
star-empty
Related
Article

Generating MQL Shell Commands Using OpenAI and New mongosh Shell


Jul 11, 2023 | 7 min read
Quickstart

Introduction to the MongoDB Aggregation Framework


Sep 23, 2022 | 5 min read
Article

5 Key Takeaways from Hacktoberfest 2020


Sep 23, 2022 | 8 min read
Tutorial

Subscribe to MongoDB Change Streams Via WebSockets


Sep 23, 2022 | 3 min read