MongoDB MCP Server

by MongoDB · TypeScript

Official
View source

Overview

Query and manage MongoDB databases and collections from AI clients.

Set up

Runs locally

This server runs on your machine, so the install command depends on its package. The project README has the exact steps. Most clients expect an entry shaped like this:

mcp.json
{
  "mcpServers": {
    "mongodb": {
      "command": "<command from the docs>",
      "args": [
        "<args>"
      ],
      "env": {}
    }
  }
}
Open README