Skip to content
Agents tracked: 258 Downloads (7d): 219M up 6.1% GitHub stars: 5.5M VS Code installs: 148M Releases (7d): 327 Agent status: 1 with issues Updated Oct 7, 2026

mongodb MCP server

MongoDB Model Context Protocol Server

Databases ★ 1,141 GitHub starsv2.1.0Updated Aug 10, 2026

Install

npm (stdio)npx -y mongodb-mcp-server
Docker (stdio)docker run -i --rm docker.io/mongodb/mongodb-mcp-server:2.1.0

JSON for apps that use an mcpServers block (Claude Desktop, Cursor and others):

{"mcpServers": {
  "mongodb-mcp-server": {
    "command": "npx",
    "args": ["-y", "mongodb-mcp-server"]
  }
}}

From the server's registry entry. Many servers also need an API key or other settings: check the repository's README before you run it.

About this server

Registry nameio.github.mongodb-js/mongodb-mcp-server
Repositorygithub.com/mongodb-js/mongodb-mcp-server
Packagesnpm mongodb-mcp-server
oci docker.io/mongodb/mongodb-mcp-server:2.1.0
In the registry sinceAug 10, 2026
GitHub stars1,141

Listed from the official MCP Registry. We have not reviewed or tested this server; a local server runs code on your machine, so read the repository first.

Use it with

AI agents whose docs say they support MCP.

Similar databases servers

All databases servers →