drio
Open app

Mcp Mongodb

Source

MCP Server

Catalog onlyCatalog onlySTDIO

Overview

Mcp Mongodb is a server configuration tool designed to manage and interact with MongoDB databases.

To use Mcp Mongodb, configure the MCP server settings in the provided configuration file and utilize the defined commands to interact with your MongoDB instance.

  • Configuration management for MongoDB servers - Support for executing commands and reading resources - Multi-collection querying capabilities
  1. Managing MongoDB server configurations.
  2. Executing commands to manipulate data in MongoDB.
  3. Performing complex queries across multiple collections.

Add to your AI client

Use these steps to connect Mcp Mongodb in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-mongodb-nan-qin": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-mongodb-nan-qin"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-mongodb-nan-qin": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-mongodb-nan-qin"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-mongodb-nan-qin": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-mongodb-nan-qin"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-mongodb-nan-qin": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-mongodb-nan-qin"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-mongodb-nan-qin": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-mongodb-nan-qin"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-mongodb-nan-qin": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-mongodb-nan-qin"
      ]
    }
  }
}

FAQ

What is the purpose of the MCP configuration file?

The MCP configuration file is used to define server settings and commands for interacting with MongoDB.

Can I use Mcp Mongodb for other databases?

No, Mcp Mongodb is specifically designed for MongoDB.

Is there a graphical interface for Mcp Mongodb?

No, Mcp Mongodb is a command-line tool and does not have a graphical interface.