pickfit

BrowseMCP servers

MongoDB MCP Server

A Model Context Protocol server that lets AI clients query and manage MongoDB databases and MongoDB Atlas resources.

Tested on LinuxKnown vulnerabilities

Use it

Before you install: known vulnerabilities

pickfit found 1 known high or critical vulnerability in the packages a fresh install brings (OSV.dev, 16 Nov 2026). Weigh this before you install it.

  • npm:basic-ftp 5.3.1 basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking) (GHSA-c475-qrg2-pj4r, high, fixed in 6.2.1)

Linux x86_64

You need first

  • Runtimes: node>=22.13.0
  • Keys or accounts: MongoDB connection string or Atlas service account API credentials
  1. npm install -g mongodb-mcp-server@latest

    npm install -g mongodb-mcp-server@latest

Check that it works

mongodb-mcp-server --version

The output should contain “3.3.0”.

Add it to your agent

claude mcp add mongodb-mcp-server -- mongodb-mcp-server --readOnly
JSON for Claude Desktop, Cursor and other clients
{
  "mcpServers": {
    "mongodb-mcp-server": {
      "command": "mongodb-mcp-server",
      "args": [
        "--readOnly"
      ]
    }
  }
}

Add mongodb-mcp-server as an MCP server in your AI client, with the MDB_MCP_CONNECTION_STRING environment variable set to your MongoDB connection string.

What it does

  • Query and change data in MongoDB collections
    How to use it
    1. Set MDB_MCP_CONNECTION_STRING to your database, for example mongodb://<host>:<port>.
    2. Start the server from your MCP client with mongodb-mcp-server --readOnly.
    3. Ask your AI client to use the find tool with a database, a collection and a filter.
    Tested
  • Manage MongoDB Atlas clusters and users
    Not tested
  • Search the MongoDB documentation
    Not tested

How far pickfit got

Linux x86_64

  1. Installs
  2. Connects
  3. 1 of 3 features work
  4. Works offline

Good for

  • run find queries and aggregations on MongoDB collections from an AI agent
  • create and manage MongoDB Atlas clusters
  • get Atlas performance advisor index suggestions

How pickfit tested it

Each run starts from a clean machine and follows the steps above. How pickfit verifies

Linux x86_64

An MCP client called one of its tools

  • Replayed from scratch
  • Works offline
  • Checked on 15 Nov 2026
  • Version 3.3.0

An MCP client handshake over stdio listed 18 tools, and a call to list-connections returned a result.

Differences the test machine hit

  • README: npx -y mongodb-mcp-server@latest setup
    In the test: setup is an interactive wizard that needs a terminal. For a non-interactive install, I used npm install -g mongodb-mcp-server@latest and launched the server as `mongodb-mcp-server --readOnly`
  • README: A MongoDB connection string
    In the test: I needed a local MongoDB server to test the database tools. I downloaded the mongod 8.0.4 tarball from fastdl.mongodb.org, ran it on 127.0.0.1:27017 and set MDB_MCP_CONNECTION_STRING; the connection then shows up with connectionId "preconfigured"
  • README: `find` - Run a find query against a MongoDB collection
    In the test: With --readOnly, only read tools are listed (18 tools). Write tools need the flag removed

How to read a tool card

Stitching
pickfit installed this tool itself. Everything under the stitches comes from that run. A tool pickfit has not run never gets stitches.
Verified on your OS
The install steps ran on the system you chose. “Ran on Linux only” means it has not been run on yours yet.
macOS, Linux and WindowsWhere it ran
Green OS marks: pickfit ran the install steps there. Grey ones: the README says it runs there, and pickfit has not tried.
How far the run got
Installs and starts, its main function works, its service answers, it produces model output. A window means a desktop app opened; a plug, an MCP client used it. The mark sits beside the run’s result, under “Why it fits and how we know” and in “How pickfit tested it”.
Visual check
pickfit looked at screenshots of the app. Green: it looks right. Amber with a number: things that look wrong; open it to see them. Grey and dashed: not checked yet.
Known vulnerabilities
Known high or critical vulnerabilities (OSV.dev) in what it installs. Green: none known. Red with a number: how many; open it for the list, and read it before you install. Grey and dashed: not checked, which does not mean safe.
About the run
The day it ran, and the version that ran.
Source of a reason
Every reason a pick fits rests on one profile field. Open the reason to see the field and the value it relies on.
Hidden gem
High quality, little known.
Quality and popularity
Two scores out of 100. Quality: how well it installed and worked when pickfit tried it, and how good its install docs and upkeep are. Popularity: from stars, downloads and Hacker News.
Features checked
Of the main features the README advertises, how many the run actually exercised (green), and how many failed (red). Grey ones were not checked, and the card says why.
Not verified
A well-known tool Fitz mentions from general knowledge. No run record, no steps, no score.