Skip to content
Windsurf

MongoDB Read-Only MCP for Windsurf

io.github.fean-developer/mongodb-readonly-mcp

Read-only MongoDB queries with database, collection and field policies.

client:Windsurf transport:stdio runtime:npm

Install MongoDB Read-Only MCP in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mongodb-readonly-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@fean-developer/mongodb-readonly-mcp"
      ],
      "env": {
        "MONGODB_MCP_PROFILE": "<MONGODB_MCP_PROFILE>",
        "MONGODB_URI": "<MONGODB_URI>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

MongoDB Read-Only MCP in other clients