ConnectoryIndex of MCP servers — No. 060

Index / Data & Search / No. 034

DAT · Data & Search · Official server

MongoDB

MongoDB's official MCP server for databases and Atlas clusters.

Transport
Local (stdio)
Status
Official · MongoDB
Auth method
Connection string or Atlas service accountMDB_MCP_CONNECTION_STRING
Scopes / permissions
Not documented
Last verified
Oct 15, 2026
Tools listed
04

§1What it does

The MongoDB MCP server connects agents to MongoDB databases and MongoDB Atlas, supporting queries, aggregations, schema inspection and Atlas management. It supports a read-only mode.

§2Setup

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

Snippets adapted from the official documentation. Check the official page for current options and auth requirements.

§3Prompts to try

  1. “What does a typical document in the orders collection look like?”
  2. “Count users who signed up this week.”

The Weekly Digest · Every Thursday

New MCP servers, weekly.

One short email: the newest servers, what changed in the ones you use, and one setup tip. No tracking pixels, no fluff.