Rate this video
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"
}
}
```