Apache-2.0 ยท Plugins

MongoDB MCP Server

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

1.0K stars 0.3K forks Apache-2.0 license 2026-06-10 verified
bash
$# MongoDB MCP Server
$pip install mongodb-mcp-server
$npx mongodb-mcp-server --help
Open sourceMCPAPI
Overview

What is MongoDB MCP Server?

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.

MongoDB data connector

The server connects AI assistants to MongoDB databases and Atlas clusters.

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.

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.

A permissive license makes it easier for teams to evaluate and adapt the connector.
Use cases

What teams use it for

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.

Ecosystem

Tags & capabilities

pluginopen sourcepluginmcpprotocolconnectorsopen sourcemcp compatible
Comparison

How it stacks up

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.

FAQ

Questions

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.

Decision brief

Should you use MongoDB MCP Server?

JSON
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
Trust and freshness
  • Verified 2026-06-10
  • License: Apache-2.0
  • Repo: mongodb-js/mongodb-mcp-server
  • Open-source signal
Deployment

Check source

Permission surface

memory, external services

Decision signals

MCP, API

Agent packet

Structured decision data for MongoDB MCP Server

This packet is the compact machine-readable view agents should use before following source links or taking action.

Capabilities

plugin, mcp, protocol, connectors

Constraints

open source, mcp compatible

Deployment

Check source

Permission surface

memory, external services

Recommended workflows

Coding agent workflow, Connector or protocol layer

Overview

What MongoDB MCP Server does

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 to evaluate it

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

Facts

Known metadata and operating surface

These fields are separated from editorial interpretation so agents can reason over facts and missing checks.

Resource type plugin
Category Plugins
Maturity active
Difficulty Unknown
License Apache-2.0
Pricing open source
Verified 2026-06-10
Source confidence medium
Risk level moderate
Fit matrix

Where MongoDB MCP Server fits in an agent stack

strong

Coding agent workflow

MongoDB MCP Server has multiple signals for coding agent workflow, including matching tags, capabilities, category, or positioning.

  • Run a small repository change and inspect the diff, tests, and rollback path.
  • Confirm official docs, current maintenance, license, and runtime constraints before production use.
strong

Connector or protocol layer

MongoDB MCP Server has multiple signals for connector or protocol layer, including matching tags, capabilities, category, or positioning.

  • Connect one low-risk service, then inspect schemas, auth scope, errors, and logs.
  • Confirm official docs, current maintenance, license, and runtime constraints before production use.
partial

Evaluation and observability

MongoDB MCP Server has at least one signal for evaluation and observability, but should be checked against a real task before adoption.

  • Add one repeatable test case and confirm results can run again in review or CI.
  • Confirm official docs, current maintenance, license, and runtime constraints before production use.
partial

Memory or RAG workflow

MongoDB MCP Server has at least one signal for memory or rag workflow, but should be checked against a real task before adoption.

  • Create, update, retrieve, correct, and delete memory or retrieval objects with real data.
  • Confirm official docs, current maintenance, license, and runtime constraints before production use.
partial

Reusable skill workflow

MongoDB MCP Server has at least one signal for reusable skill workflow, but should be checked against a real task before adoption.

  • Run one skill end to end and check whether it produces evidence or structured output.
  • Confirm official docs, current maintenance, license, and runtime constraints before production use.
weak

Browser automation

MongoDB MCP Server is not primarily positioned for browser automation in the current metadata.

  • Run one non-sensitive website task and inspect clicks, waits, retries, and changed URLs.
  • Confirm official docs, current maintenance, license, and runtime constraints before production use.
Inputs and outputs

What an agent should inspect

Likely inputs

  • Repositories, files, issues, terminal output, and test results
  • Tool schemas, API requests, service resources, and auth scopes
  • Prompts, messages, documents, images, or model inputs
  • Official setup instructions and a small real workflow

Likely outputs

  • Diffs, commits, explanations, test results, or review notes
  • Scores, traces, regression results, dashboards, or failure cases
  • A decision on whether this resource fits the target workflow
Evidence

Sources, claims, and missing checks

Claims are marked separately from source links so future crawlers and reviewers can update them without rewriting the page.

verified

MongoDB MCP Server is listed as open source.

License metadata: Apache-2.0
verified

MongoDB MCP Server has a recorded GitHub repository: mongodb-js/mongodb-mcp-server.

Resource facts and GitHub source link.
inferred

MongoDB MCP Server is tagged with plugin, mcp, protocol, connectors capabilities.

OpenAgent capability taxonomy.
Missing checks
  • Dedicated docs link is missing.
  • Repository freshness has not been recorded.
Next action

How to start evaluating MongoDB MCP Server

Inspect repository

Check license, recent activity, issues, examples, and security-sensitive code paths.

Open source
Compare

Alternatives and nearby resources

Use related resources to compare category fit, license, deployment model, and first-workflow behavior.

FAQ

Common questions about MongoDB MCP Server

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.