Back to MCP ToolsDatabaseOfficial
MongoDB logo

MongoDB

Official

Query, explore, manage your data & deployments.

Provider:MongoDB
Category:Database

Installation

Command Line
npx create-mongodb-express-app

Configuration

Add this configuration to your MCP settings file (usually mcp.json or your IDE's MCP configuration):

JSON Configuration
{
  "mcpServers": {
    "mongodb": {
      "command": "npx",
      "args": [
        "-y",
        "mongodb-mcp-server"
      ],
      "env": {
        "MONGODB_URI": "<your-mongodb-connection-string>"
      }
    }
  }
}