MongoDB MCP Server

by MongoDB
Open

Connects AI assistants to MongoDB and Atlas to inspect collections, run queries, and manage database resources.

Description

MongoDB MCP Server connects compatible AI assistants to MongoDB databases through the Model Context Protocol. It supplies collection and schema context for software development and data exploration. Tools can inspect collections, describe document structures, and execute queries and aggregations. With appropriate credentials, additional operations manage MongoDB Atlas projects and clusters. The local server runs with npx or Docker and connects using a MongoDB connection string. A managed MCP option is available for Atlas; coding assistants can investigate data without manually copying schemas. Read-only mode must be enabled explicitly; write operations may otherwise be available. The local server has no built-in authentication for public multi-user HTTP deployment and should not be internet-facing without additional protection. Database permissions and MongoDB infrastructure are required.