MongoDB

mongodb-js@mongodb-js1.2Kon mongodb-js/mongodb-mcp-serverMCP server

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

MCP configuration

Copy into a client that accepts mcpServers JSON. Other clients may use a different configuration format.

{
  "mcpServers": {
    "MongoDB": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server"
      ],
      "env": {
        "MDB_MCP_CONNECTION_STRING": "mongodb+srv://username:[email protected]/myDatabase"
      }
    }
  }
}

Use this in your own environment. Copying text here does not run it.

Made forDatabases
What you needAn MCP client that accepts server configuration
Project links
Sources checked2026-11-23

How to use it

  1. Open the listing page and read the server's documentation.
  2. Copy the configuration or command into your MCP client.
  3. Restart the client and try one of the server's tools.