# MongoDB MCP Server

Model Context Protocol server for connecting AI assistants to MongoDB databases and Atlas clusters.

## Agent Decision Summary
- Risk level: moderate
- Source confidence: medium
- Recommended workflows: Coding agent workflow, Connector or protocol layer
- Permission surface: memory, external services
- Agent JSON: https://www.openagent.bot/plugins/mongodb-mcp-server.agent.json

## Summary
MongoDB MCP Server is an open-source Model Context Protocol server that connects AI assistants and agent tools to MongoDB databases and MongoDB Atlas clusters. It gives agents a structured way to inspect and work with MongoDB data through MCP.


## Guide
MongoDB MCP Server connects AI assistants to MongoDB databases and MongoDB Atlas clusters through Model Context Protocol.

### What it is
It is a connector plugin for agent hosts that support MCP.

### Why it matters
Database access is powerful and risky, so agents need a controlled interface rather than raw credentials in prompts.

### How it works
Start in a development database, configure permissions carefully, and inspect all available operations before giving an agent broader access.


### FAQ
- Is MongoDB MCP Server open source?
  - Yes. The repository is listed under the Apache-2.0 license.
- Who should use it?
  - Teams that use MongoDB and want to expose database context to MCP-compatible AI assistants should evaluate it.
## What It Does
It is a connector plugin for agent hosts that support MCP.

## How To Evaluate
Start in a development database, configure permissions carefully, and inspect all available operations before giving an agent broader access.

## Why It Matters
Databases are one of the highest-value tool surfaces for agents, but they need controlled access. MongoDB MCP Server provides an official-looking open-source connector path for MongoDB and Atlas workflows.


## Best For
- Developers connecting agents to MongoDB databases
- Teams building MCP tool layers around data stores
- MongoDB Atlas users evaluating AI assistant access

## Not For
- Teams that do not use MongoDB
- Workflows that cannot expose database access to an agent tool even with permissions

## What It Actually Does
- MongoDB data connector: The server connects AI assistants to MongoDB databases and Atlas clusters.
  - Why it matters: Agent workflows often need database context, but direct access should be mediated by a tool boundary.
- MCP-native interface: The project is built around Model Context Protocol.
  - Why it matters: MCP makes the same database tool easier to reuse across compatible agent hosts.
- Apache-licensed repository: The repository is listed under Apache-2.0 license metadata.
  - Why it matters: A permissive license makes it easier for teams to evaluate and adapt the connector.

## Typical Use Cases
- Database exploration: Let an assistant inspect MongoDB schemas and data under controlled permissions.
- Agent data tools: Expose MongoDB access as an MCP tool in an agent stack.
- Atlas assistant workflows: Evaluate agent access for MongoDB Atlas-based applications.

## How It Compares
- When to choose MongoDB MCP Server: Compare it with nearby plugins by looking at hosting model, integration surface, license, and whether the official docs show the workflow you need.

## Fit Matrix
- Coding agent workflow: strong. MongoDB MCP Server has multiple signals for coding agent workflow, including matching tags, capabilities, category, or positioning. Required check: Run a small repository change and inspect the diff, tests, and rollback path.
- Connector or protocol layer: strong. MongoDB MCP Server has multiple signals for connector or protocol layer, including matching tags, capabilities, category, or positioning. Required check: Connect one low-risk service, then inspect schemas, auth scope, errors, and logs.
- Evaluation and observability: partial. MongoDB MCP Server has at least one signal for evaluation and observability, but should be checked against a real task before adoption. Required check: Add one repeatable test case and confirm results can run again in review or CI.
- Memory or RAG workflow: partial. MongoDB MCP Server has at least one signal for memory or rag workflow, but should be checked against a real task before adoption. Required check: Create, update, retrieve, correct, and delete memory or retrieval objects with real data.
- Reusable skill workflow: partial. MongoDB MCP Server has at least one signal for reusable skill workflow, but should be checked against a real task before adoption. Required check: Run one skill end to end and check whether it produces evidence or structured output.
- Browser automation: weak. MongoDB MCP Server is not primarily positioned for browser automation in the current metadata. Required check: Run one non-sensitive website task and inspect clicks, waits, retries, and changed URLs.

## Evidence
- verified: MongoDB MCP Server is listed as open source. Source: License metadata: Apache-2.0
- verified: MongoDB MCP Server has a recorded GitHub repository: mongodb-js/mongodb-mcp-server. Source: Resource facts and GitHub source link.
- inferred: MongoDB MCP Server is tagged with plugin, mcp, protocol, connectors capabilities. Source: OpenAgent capability taxonomy.

## Missing Checks
- Dedicated docs link is missing.
- Repository freshness has not been recorded.

## Next Actions
- Inspect repository: https://github.com/mongodb-js/mongodb-mcp-server

## Facts
- Category: plugins
- Resource type: plugin
- Open source: yes
- License: Apache-2.0
- Last verified: 2026-06-10
- GitHub repo: mongodb-js/mongodb-mcp-server
- GitHub stars: 1045

## Capabilities
- plugin
- mcp
- protocol
- connectors

## Structured Use Case Tags
- developer-workflow

## Getting Started
- Open the GitHub repository: https://github.com/mongodb-js/mongodb-mcp-server

## Links
- GitHub: https://github.com/mongodb-js/mongodb-mcp-server

## Structured Outputs
- JSON: https://www.openagent.bot/plugins/mongodb-mcp-server.json
- Markdown: https://www.openagent.bot/plugins/mongodb-mcp-server.md
- Agent JSON: https://www.openagent.bot/plugins/mongodb-mcp-server.agent.json
- Canonical: https://www.openagent.bot/plugins/mongodb-mcp-server
