Skip to main content
← MCP

MongoDB MCP Server

MongoDB
MCP Databases MongoDB Atlas Apache-2.0 Local stdio 8 axes checked Active Checked 2026-10-30

Read the two badges separately: the first is whether this page is backed by evidence, the second is whether the product is still maintained. An archived product can have complete evidence; complete evidence does not mean the product is active.

30-second check: should it make your shortlist?

In one line

MongoDB's official MCP server (mongodb-js repo, Apache-2.0): agents connect to…

How you use it

Local / self-hosted · MCP server

Licence / commercial use

Open licence

Read the original licence before commercial use
Mainland China

Blocked · Not in filing list

These four cards help you rule things out, not decide for you. The real differences are in the eight questions and sources below.

Information not confirmed

  • The support surface of read-only connection options (kept at the official category level)
  • The complete Atlas tool inventory (kept at category level)
  • Whether the docs/mcp official page will come back (no statement seen — only the 404 fact is recorded)

MongoDB's official MCP server (mongodb-js repo, Apache-2.0): agents connect to databases, query collections, run aggregations, write data, manage Atlas. Honest note: the docs/mcp path 404s — the live official line is the GitHub repo. Delete tools carry confirmation parameters, but confirmation is not a sandbox — credentials are the boundary.

When to use it, when not to

Fits: agent dev flows on the MongoDB stack, Atlas management into agents. Not a fit: hard read-only boundaries; non-MongoDB stacks.

China availability domestic / direct access / CAC filing · snapshot 2026-10-21

Origin
foreign-made MongoDB, Inc. (US).
Direct access
direct blocked github.com measured 000 direct (fluctuating; 200 via proxy the same day); mongodb.com measured 200 direct (docs home).
CAC filing
not in filing list:not in the CAC public registry (searched 2026-10-21); the product does not serve the mainland public, so filing does not apply.

Filing status is quoted from the CAC public registry (updated batch by batch; this site copies the number and does not interpret it). "Direct access" is this site's own reachability measurement from a mainland network, not a vendor promise. GitHub-hosted sites fluctuated on the measurement day — the note says so.

11 questions, one table

11 questions, each comparable item by item with its peers.

Model & openness

It calls no model itself — an interface implementation called by MCP clients. It wraps MongoDB database operations (connecting, collection queries, aggregations) and Atlas management as tools for agents.

Where it runs

A local process (npx stdio); GitHub 1,152★, last push 2026-10-30 (API verified). The official docs/mcp page direct-fetched 404 — the current official line is the repo itself (direct-fetch verified 2026-10-21).

Local files

Reads and writes no local project files — the scope is database instances (a local mongod or an Atlas cluster both count as its targets).

Tasks after shutdown

stdio lives and dies with the client; no background-task semantics.

Tools & extensions

Connect/list databases and collections, find/aggregate/insert/update/delete, Atlas cluster management, etc.; write capabilities are complete. The complete inventory follows the repo README.

Context & memory

No cross-session memory — data state lives in the database itself.

Permissions & limits

Two credential routes: a connection string direct connection (whatever database it can reach = whatever it can do, including writes/deletes) or an Atlas API key (the Atlas management surface). The official README explicitly notes a confirmation mechanism for high-risk operations (delete-class tools carry a confirmation parameter) — but the boundary is still the credential: before hooking up an agent, defend on the assumption "it can drop collections".

Best for

Fits: agent dev flows for MongoDB projects (inspect schemas, run aggregations, try write operations). Not a fit: hard read-only sandboxes; non-MongoDB stacks.

Transport

stdio (npx starts a local process). Verified: repo README (fetched directly 2026-10-21).

Authentication

Two routes: connection string (mongodb:// direct to an instance) or Atlas API credentials; the support surface of read-only connection options kept at the official category level.

Permission scope

Read surface: list databases/collections, find/aggregate; write surface: insert/update/delete, Atlas cluster management. Delete-class tools carry a confirmation parameter (official README wording); no separate approval layer.

Licence and terms of use

Apache-2.0 (GitHub API verified 2026-10-21).

Top misconception

  • Looking for mongodb.com/docs/mcp — that path 404s (direct-fetched 2026-10-21); the live line is the mongodb-js repo
  • Treating 'delete tools ask for confirmation' as a security boundary — the agent can fill in the confirmation parameter itself; credentials are the boundary
  • Mixing direct local connections with Atlas in configuration — the two credential routes have different permission surfaces

Evidence sources

Checked 2026-10-30,Content updated 2026-10-21。This is the date of the entry, not a claim that every field was rechecked that day.

TypeNameLink
repomongodb-js/mongodb-mcp-server · repository (Apache-2.0; 1,152★, last push 2026-10-30, GitHub API verified)https://github.com/mongodb-js/mongodb-mcp-server
changelogmongodb-js/mongodb-mcp-server · Releases (changelog)https://github.com/mongodb-js/mongodb-mcp-server/releases
docsMongoDB · official docs home (product background)https://www.mongodb.com/docs

Test notes

This site has not completed measured runs. The test protocol is at protocols/mcp/_protocol.md.

Related entries

  • Supabase MCPBoth database-class servers: Supabase works through its own BaaS project surface, MongoDB through the connection-string direct-to-instance surface.
  • CursorOther layer · AI coding
  • Claude Code (IDE extension)Other layer · AI coding

Same-category peers

Look at these three before reading further

Selected by overlap in jobs, not ranked. Compare where it runs, licence and status first; if one of the three fails, skip it.

ObjectWhereLicenceEvidence / statusWhat it is for
Neon MCP ServerNot checkedOpen licence8 questions checked
Active
Neon's official MCP server (MIT): agents manage Neon projects, create br
Supabase MCPNot checkedOpen licence8 questions checked
Active
Supabase's official MCP server (Apache-2.0, repo now supabase/mcp): agen
1Password Environments MCP ServerLocal / self-hostedOpen licence8 questions checked
Active
1Password official Environments MCP server (local stdio, rides the deskt

This page is generated from the ai-handbook data layer (CC BY 4.0). For the judging criteria and method notes, see METHODOLOGY.md.