Back to directory
mongodb-js/mongodb-mcp-server

mongodb-js/mongodb-mcp-server

@mongodb-js

A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.

mongodbatlasdatabasenosqlmcp-servertypescript

Installation & Configuration

{
  "mcpServers": {
    "MongoDB": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server@latest",
        "--readOnly"
      ],
      "env": {
        "MDB_MCP_CONNECTION_STRING": "mongodb://localhost:27017/myDatabase"
      }
    }
  }
}

Information

Transport
stdiosse
Language
TypeScript
Created
2026/6/12
Updated
2026/6/12