CuratedMCP
πŸ„
Windsurf
Free

How to Install MongoDB MCP in Windsurf

MongoDB's official MCP server for databases and Atlas.

What MongoDB MCP does

MongoDB's official MCP server. Runs locally with npx and a connection string (or Atlas API credentials), and lets an agent query and manage databases and collections and, with Atlas credentials, clusters and users. A read-only mode is available.

mongodb
database
atlas
nosql
documents

Installation steps

  1. 1Copy the config below
  2. 2Open ~/.codeium/windsurf/mcp_config.json
  3. 3Paste inside "mcpServers": {}
  4. 4Restart Windsurf

Configuration

File location: ~/.codeium/windsurf/mcp_config.json

mcp_config.jsonjson
{
  "mongodbMcp": {
    "command": "npx",
    "args": [
      "-y",
      "mongodb-mcp-server"
    ],
    "env": {
      "MDB_MCP_CONNECTION_STRING": "mongodb+srv://<user>:<password>@<cluster>/"
    }
  }
}
Full server details GitHub Open Config Editor

Install in other clients

For maintainers

If you maintain MongoDB MCP, add this badge to your README to show it's verified on CuratedMCP:

CuratedMCP Verified
[![CuratedMCP Verified](https://www.curatedmcp.com/api/badge/mongodb-mcp)](https://www.curatedmcp.com/marketplace/mongodb-mcp)

Related servers