mongo-mcp MCP Server

A Machine Chat Protocol (MCP) service for MongoDB operations. This service provides a comprehensive set of tools that allow Large Language Models (LLMs) to interact with MongoDB databases through complete CRUD…

Local serverstdio

What is the mongo-mcp Server?

mongo-mcp source profile. From the maintainer documentation: “A Machine Chat Protocol (MCP) service for MongoDB operations. This service provides a comprehensive set of tools that allow Large Language Models (LLMs) to interact with MongoDB databases through complete CRUD operations, administrative tasks, and advanced features.”

Installation

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

Configuration values

The example declares MONGODB_URI, MONGODB_DEFAULT_DB, LOG_LEVEL. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

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": {
    "mongo-mcp": {
      "command": "uvx",
      "args": [
        "mongo-mcp"
      ],
      "env": {
        "MONGODB_URI": "mongodb://localhost:27017",
        "MONGODB_DEFAULT_DB": "your_database_name",
        "LOG_LEVEL": "INFO"
      }
    }
  }
}

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

Configuration

VariableDescriptionRequired
MONGODB_URIDeclared in the maintainer’s client configuration.Check documentation
MONGODB_DEFAULT_DBDeclared in the maintainer’s client configuration.Optional
LOG_LEVELDeclared in the maintainer’s client configuration.Check documentation