GPTMap

MongoDB MCP

MongoDB's official MCP server — a connection-string-driven database surface; 18 tools verified.

MCP serversmcpmongodbdatabasestdioofficial

Specs

Verified:

Transport
stdio (local subprocess)
Package
mongodb-mcp-server (npm)
Probed version
3.3.0
Tools
18 (--readOnly, verified via tools/list)
Vendor
MongoDB official

MongoDB's official server, npm package `mongodb-mcp-server`, docs at mongodb.com/docs/mcp-server/ (both verified on 2026-11-20). Launched with `--readOnly`, tools/list returned **18 tools** — it starts without credentials, and `connect` is a first-class tool (the connection string can come later).

Key features

  • Officially maintained by MongoDB
  • 18 tools across Atlas Tools/Database Tools
  • Starts without credentials; connect comes later

Use cases

Give the agent the Atlas-management + database-ops tool surfaces — start with --readOnly for diagnostics.

Install

`codex mcp add mongodb -- npx -y mongodb-mcp-server --readOnly` (start read-only); connection string via `--env MDB_MCP_CONNECTION_STRING=...` or the connect tool.

Caveats

It can write by default — lock --readOnly for diagnostics; the connection string is a credential, keep it out of logs.

Added

Updated

Verified

Related entries