SZ84.NET
Back to List
OfficialDatabaseNoSQL

MongoDB MCP

The official MongoDB MCP server allows AI models to query and manage MongoDB databases. It provides tools for executing aggregation pipelines, managing collections, and performing CRUD operations on documents. This is a vital tool for developers and data scientists who want to use AI for flexible, document-based data management and exploration.

How to Install

1

1. Ensure you have an MCP client installed (e.g., Claude Desktop)

2

2. Click 'Visit Source' below to get the code or package

3

3. Follow the README instructions in the project

4

4. Add the server configuration to your MCP client config file

Configuration Example (claude_desktop_config.json)

{
  "mcpServers": {
    "mongodb": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mongodb"
      ],
      "env": {
        "MONGODB_URI": "mongodb://localhost:27017"
      }
    }
  }
}

Key Features

Execute complex aggregation pipelines

Manage MongoDB collections and indexes

Perform document CRUD operations via AI

Support for both local and Atlas clusters

Server Details

The official MongoDB MCP server allows AI models to query and manage MongoDB databases. It provides tools for executing aggregation pipelines, managing collections, and performing CRUD operations on documents. This is a vital tool for developers and data scientists who want to use AI for flexible, document-based data management and exploration.

Pricing

free

Tags

OfficialDatabaseNoSQL

Visit Source / Official Link

Go to the official GitHub repository to view source code, documentation, and installation instructions.

GitHub Repository