CuratedMCP
πŸ„
Windsurf
Free

How to Install MongoDB MCP in Windsurf

Official MongoDB integration β€” query documents, manage clusters, and orchestrate database workflows through AI

What MongoDB MCP does

The official MongoDB MCP server gives AI agents access to MongoDB Atlas and local clusters. It can query document collections, manage indexes, and explore schema patterns. Features: - Query documents with filters and aggregations - Inspect collections, indexes, and schema suggestions - Create and update documents and collections - Manage clusters, users, and roles - Monitor performance and slow queries - Support Atlas search and change streams MongoDB MCP is ideal for developers who want AI to work with NoSQL data fluently.

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"
    ],
    "env": {
      "MONGODB_URI": "mongodb+srv://user:pass@cluster.mongodb.net/mydb"
    }
  }
}
Full server details 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://curatedmcp.com/api/badge/mongodb-mcp)](https://curatedmcp.com/marketplace/mongodb-mcp)

Related servers