# MongoDB MCP
> MongoDB's MCP offering connects AI clients to MongoDB database deployments and Atlas resources. It is available as a locally run server and as a separately managed Atlas-hosted server; available tools differ by deployment mode and configuration.
Canonical: https://www.mcpfolio.com/servers/mongodb
Last updated: 2026-10-28
## Catalog record

- Publisher: MongoDB
- Categories: database, search

## Website

https://www.mongodb.com/products/tools/mcp-server

## Repository

https://github.com/mongodb-js/mongodb-mcp-server

## Transports

stdio (local); remote MCP (Atlas Managed; client setup documented by MongoDB)

## Authentication

Local server uses a MongoDB connection string for database access and optional Atlas service-account API credentials for Atlas management tools. Atlas Managed uses MongoDB Atlas authentication/App Connections and the user's permitted Atlas access.

## Tools

- **find**: Run a MongoDB database query.
- **aggregate**: Run an aggregation pipeline.
- **count**: Count documents in a collection.
- **collection-schema**: Inspect a collection schema (listed by official getting-started documentation).
- **insert-many**: Insert documents into a collection.
- **update-one**: Modify one document.
- **atlas-list-orgs**: List Atlas organizations.
- **atlas-list-projects**: List Atlas projects.
- **atlas-list-clusters**: List Atlas clusters.
- **list-knowledge-sources**: List data sources for MongoDB Assistant knowledge.
- **search-knowledge**: Search MongoDB Assistant knowledge sources.

## Sources

- [official_tool_reference](https://www.mongodb.com/docs/mcp-server/tools/)
- [official_documentation_or_source](https://github.com/mongodb-js/mongodb-mcp-server)

## Setup

Use the interactive setup panel on [the detail page](https://www.mcpfolio.com/servers/mongodb) to view instructions for each supported client.