atlas-mcp-server

Atlas MCP Server

MongoDB and Atlas users can query data, inspect collections, and export results through atlas-mcp-server in MCP clients. Developers also get tools for connection management, database diagnostics, and MongoDB knowledge searches.

Server facts

atlas-mcp-server

Project

License
Apache-2.0
Category
Databases

Tech

Runtime / language
node
Transports
stdio
Remote available
No
Authentication
Not specified

Activity

GitHub stars
1,143
Last commit
Data as of

Overview

MongoDB work in atlas-mcp-server starts with connections that can stay active independently. A connection identifier lets other database tools target the appropriate instance, while dedicated tools list active connections or close them. From there, users can list databases and collections, run find queries or aggregations, count matching documents, and export query or aggregation output as EJSON. Inspection tools expose collection schemas, indexes, storage sizes, and database statistics; execution-plan details and recent mongod events support investigation of database behavior.

For reference material alongside database work, the MongoDB Assistant tools let users explore available knowledge sources and search documentation, expert guidance, and other MongoDB resources, with filters for source and version. The documented setup accepts a MongoDB connection string for local or Atlas clusters, or Atlas service-account credentials for Atlas tools. Setup examples enable read-only access, with instructions to remove that restriction when writes are needed. The project runs on Node.js and supports stdio integration with MCP clients, with Docker also documented as a deployment option.

atlas-mcp-server setup notes

  • atlas-mcp-server records stdio only; confirm a network transport upstream before planning remote access.

Related MCP servers