mongo-mcp MCP Server

A Model Context Protocol (MCP) server that enables LLMs to interact directly with MongoDB databases. Query collections, inspect schemas, and manage data seamlessly through natural language.

Local serverstdioMIT

What is the mongo-mcp Server?

mongo-mcp is an MCP project maintained in the quantgeekdev/mongo-mcp repository. The maintainer describes its purpose as “A Model Context Protocol (MCP) server that enables LLMs to interact directly with MongoDB databases. Query collections, inspect schemas, and manage data seamlessly through natural…”. Read the project documentation for the complete scope.

Installation

The documented npm package is mongo-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the mongo-mcp Server

{
  "mcpServers": {
    "mongodb": {
      "command": "npx",
      "args": [
        "mongo-mcp",
        "mongodb://<username>:<password>@<host>:<port>/<database>?authSource=admin"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.