Skip to content

MongoDB Read-Only MCP for Zed

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

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

client:Zed transport:stdio runtime:npm

Install MongoDB Read-Only MCP in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

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

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

Merge this into your existing settings object — do not replace the file. Zed docs

MongoDB Read-Only MCP in other clients