MCP Server

io.github.mongodb-js/mongodb-mcp-server

databasesdeveloper-toolsai-ml

MongoDB Model Context Protocol Server

Install

Paste into claude_desktop_config.json:

{
  "mcpServers": {
    "mongodb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server"
      ],
      "env": {
        "MDB_MCP_API_CLIENT_ID": "<MDB_MCP_API_CLIENT_ID>",
        "MDB_MCP_API_CLIENT_SECRET": "<MDB_MCP_API_CLIENT_SECRET>",
        "MDB_MCP_CONNECTION_STRING": "<MDB_MCP_CONNECTION_STRING>",
        "MDB_MCP_VOYAGE_API_KEY": "<MDB_MCP_VOYAGE_API_KEY>"
      }
    }
  }
}

Run in a terminal:

claude mcp add mongodb-mcp-server --env MDB_MCP_API_CLIENT_ID=<MDB_MCP_API_CLIENT_ID> --env MDB_MCP_API_CLIENT_SECRET=<MDB_MCP_API_CLIENT_SECRET> --env MDB_MCP_CONNECTION_STRING=<MDB_MCP_CONNECTION_STRING> --env MDB_MCP_VOYAGE_API_KEY=<MDB_MCP_VOYAGE_API_KEY> -- npx -y mongodb-mcp-server

Paste into .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "mongodb-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server"
      ],
      "env": {
        "MDB_MCP_API_CLIENT_ID": "<MDB_MCP_API_CLIENT_ID>",
        "MDB_MCP_API_CLIENT_SECRET": "<MDB_MCP_API_CLIENT_SECRET>",
        "MDB_MCP_CONNECTION_STRING": "<MDB_MCP_CONNECTION_STRING>",
        "MDB_MCP_VOYAGE_API_KEY": "<MDB_MCP_VOYAGE_API_KEY>"
      }
    }
  }
}

Transport & auth

Transport: stdio - Runs locally over stdio. Your client launches the process itself; you need the matching runtime installed (Node for npx, uv for uvx, Docker for docker run).

Auth: requires credentials - replace the <PLACEHOLDER> environment values in the config with your own keys (see the vendor's docs).

Links

Source repository

Skip the install — WingMan's own 271 tools run hosted, no setup: browse the hosted tool directory. One endpoint, one free key: https://wingmanprotocol.com/mcp.