Stack Registry№ index of agent tools
042
MCP server · Databases

MongoDB MCP Server

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

Checked 2026-10-30

Install

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

Replace placeholder paths and keys with your own. Never paste real secrets into shared configs.

Verification note

Config snippet copied verbatim from the official README on 2026-10-30. Not run by Stack Registry.

Repo
mongodb-js/mongodb-mcp-server
Maintainer
mongodb-js
Stars
★ 1.2k
Commit
2026-10-30
License
Apache-2.0
Auth
Access token
Tags
mongodbdatabase

Maintain this project? Request a correction or feature it.

Same drawer: Databases