FRENES

Databases · MCP server

Mongodb MCP server: MCP server, setup and security

Mongodb MCP server is an open-source MCP server that lets an AI agent interact with MongoDB through a Model Context Protocol server. Its repository has 1,151 stars and its last commit is from October 23, 2026 and it is licensed under Apache-2.0.

Actively maintainedNeeds secretsTop 10% by stars

What Mongodb MCP server does

According to its repository: “MongoDB Model Context Protocol Server”

An MCP server gives an AI agent extra tools it calls during the conversation: the agent reads their description, decides to use them and gets the result back. Mongodb MCP server is listed under Databases, a category of 138 servers in the directory, where it ranks #15 by stars.

Topics declared by the repository: mongodb, mongodb-atlas, mongodb-database.

Installing and connecting Mongodb MCP server

Distribution modes declared in the official MCP registry:

  • npm package (Node.js, usually started with npx)
  • Docker (OCI) image

Like any MCP server, you declare it in your client's configuration (Claude Desktop, Claude Code, Cursor, VS Code, Codex…): a name, the command that starts it or its URL, and any environment variables. The client then starts it and lists its tools. Project language: TypeScript.

The registry lists 8 secret variables to provide (API key, access token). Keep them in the client's environment variables, never in a shared file or a repository.

Security: what to check

An MCP server runs code with the rights you give it, and the model reads its tool descriptions: a malicious or compromised server can hijack the agent. Read the code, or pick a maintained and widely used server, before connecting it.

Points found for Mongodb MCP server:

  • Secrets: the server acts with your credentials. Create a dedicated key with minimum rights and an expiry date.

Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.

Project activity and maintenance

Created on April 4, 2025, the mongodb-js/mongodb-mcp-server repository has 1,151 stars and 297 forks, with 9 open issues. It has more stars than 92% of the servers in the directory. It received changes this month. Version published in the registry: 2.1.0 (August 10, 2026).

Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.

DbxDbx : 27.7K27.7KMCP Toolbox for DatabasesMCP Toolbox for Databases : 16.7K16.7KNhostNhost : 9.4K9.4KJitsuJitsu : 5.1K5.1KPostgres MCP (crystaldba)Postgres MCP (crystaldba) : 3.4K3.4KLINQ to DBLINQ to DB : 3.3K3.3KSupabaseSupabase : 3K3KMindwtrMindwtr : 2.3K2.3KMongodb MCP serverMongodb MCP server : 1.2K1.2K
GitHub stars of the most followed servers in the category (log scale); Mongodb MCP server in orange. Checked October 25, 2026.

Verdict

Mongodb MCP server is one of the most solid servers in its category: followed, maintained and well framed.

Strengths

  • Active project: recent commit
  • Widely followed: 1.2K stars
  • Listed in the official MCP registry
  • Permissive licence (Apache-2.0)

Limitations

  • Requires an API key or token

Avoid if…

  • You do not want to give credentials to an agent

Frequently asked questions

How do I install Mongodb MCP server?

Mongodb MCP server is distributed as npm package (Node.js, usually started with npx) and Docker (OCI) image. Add it to your client's MCP configuration (Claude Desktop, Cursor, VS Code…) following the README of mongodb-js/mongodb-mcp-server.

Is Mongodb MCP server free?

The code is published under the Apache-2.0 licence and can be used free of charge. It needs an API key: the service it connects to may be paid.

Is Mongodb MCP server safe?

Points to watch: secrets. Give it minimum rights and approve sensitive actions.

Is it an official server?

Nothing says so: it is a project published by mongodb-js on GitHub. Check who maintains it before giving it access.

What are the alternatives to Mongodb MCP server?

In the same category: Nhost, ArcadeDB MCP Server, Jitsu, and Supabase. Nhost and ArcadeDB MCP Server score higher on our grid.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score