Mongodb MCP That Works MCP Server

A MongoDB MCP server that actually works - with schema discovery, field validation, and all MongoDB operations

Local serverstdioTypeScript

What is the Mongodb MCP That Works MCP Server?

A MongoDB MCP server that actually works - with schema discovery, field validation, and all MongoDB operations

The short version

A reliable MongoDB MCP (Model Context Protocol) server that provides seamless MongoDB integration for Claude Desktop with built-in schema discovery and field validation.

  • 🔍 Schema Discovery: Automatically analyze collection structures
  • ✅ Field Validation: Prevent field name mistakes
  • 📊 Full MongoDB Support: Find, aggregate, insert, update, delete operations
  • 🚀 High Performance: Efficient connection pooling and query optimization
  • 🔐 Secure: Support for MongoDB Atlas and authentication
  • 🎯 Type-Safe: Built with TypeScript and Zod validation

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
listCollectionstrue
findtrue
findOnetrue
aggregatetrue
counttrue
distincttrue
getSchematrue
insertOnefalse
updateOnefalse
deleteOnefalse

How to install the Mongodb MCP That Works MCP Server

{
  "mcpServers": {
    "mongodb": {
      "command": "npx",
      "args": [
        "-y",
        "@sourabhshegane/mongodb-mcp-that-works@latest"
      ],
      "env": {
        "MONGODB_URI": "mongodb+srv://<user>:<password>@cluster.mongodb.net/<database>",
        "MONGODB_DATABASE": "your_database_name"
      }
    }
  }
}

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

Configuration

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

Example prompts to try

  • “Use Mongodb MCP That Works to Performance.”

Frequently asked questions

A MongoDB MCP server that actually works - with schema discovery, field validation, and all MongoDB operations Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.