Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, get in touch and we’ll put it right.

io.github.mongodb-js/mongodb-mcp-server

OCI · DOCKER.IO/MONGODB/MONGODB-MCP-SERVER:2.1.0 · 2 COMPONENTS · SCANNED SEP 20

MongoDB Model Context Protocol Server

0 this week 52 Trust /100
Trust breakdown (7 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score → Why this is hard to score →

Supply Chain Security0
  • Malware scan not yet available for this package.Unverified
  • Known CVEs could not be checked: this artifact ships no SBOM, so there is no dependency list to read. Publishing one would let us assess it.Unverified
  • Install-script risk not yet assessed.Unverified
  • Dependency health could not be checked: this artifact ships no SBOM, so there is no dependency list to read. Publishing one would let us assess it.Unverified
Provenance & Transparency32
Schema Quality & AI Usability82
  • 100% of prompts and resources have a non-trivial description (not blank, and not just the item's name).Pass
  • AI-judged instruction clarity (excellent).Pass
  • Context-footprint check failed: tool/resource definitions use about 3973 tokens (~137/item across 29 items; 27 tools + 2 resources), over budget; trim descriptions and params. See how to fix → Fail
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management90
  • Stability observed for 27 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage100
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 100% of tool parameters carry a description.Pass
  • Structured output schemas are declared (89% of tools); any adoption earns full credit.Pass
Tool Safety100
  • No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.Pass
  • All 4 tool(s) whose name or description implies an irreversible operation declare an MCP destructiveHint annotation.Pass
  • An AI judge read all 29 captured unit(s) of tool text and found none that tries to manipulate the model reading it.Pass
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass

Unverified: 1 category

A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

Install

How do I install the io.github.mongodb-js/mongodb-mcp-server server?

io.github.mongodb-js/mongodb-mcp-server runs locally as a container image, launched with docker run --rm -i docker.io/mongodb/mongodb-mcp-server:2.1.0. Ready-made configuration for Claude, Cursor, VS Code, Codex and 3 more is on this page, copied from each client's own documentation.

oci · docker.io/mongodb/mongodb-mcp-server:2.1.0

# add to Claude Code
claude mcp add mongodb-js-mongodb-mcp-server -- docker run --rm -i docker.io/mongodb/mongodb-mcp-server:2.1.0
// .cursor/mcp.json
{
  "mcpServers": {
    "mongodb-js-mongodb-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "docker.io/mongodb/mongodb-mcp-server:2.1.0"
      ]
    }
  }
}
// .vscode/mcp.json
{
  "servers": {
    "mongodb-js-mongodb-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "docker.io/mongodb/mongodb-mcp-server:2.1.0"
      ]
    }
  }
}
# add to Codex CLI
codex mcp add mongodb-js-mongodb-mcp-server -- docker run --rm -i docker.io/mongodb/mongodb-mcp-server:2.1.0
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "mongodb-js-mongodb-mcp-server": {
      "type": "local",
      "command": [
        "docker",
        "run",
        "--rm",
        "-i",
        "docker.io/mongodb/mongodb-mcp-server:2.1.0"
      ],
      "enabled": true
    }
  }
}
# ~/.hermes/config.yaml
mcp_servers:
  mongodb-js-mongodb-mcp-server:
    command: "docker"
    args: ["run", "--rm", "-i", "docker.io/mongodb/mongodb-mcp-server:2.1.0"]
// ~/.netclaw/config/netclaw.json
{
  "McpServers": {
    "mongodb-js-mongodb-mcp-server": {
      "Transport": "stdio",
      "Command": "docker",
      "Arguments": [
        "run",
        "--rm",
        "-i",
        "docker.io/mongodb/mongodb-mcp-server:2.1.0"
      ]
    }
  }
}
// mcp.json
{
  "mcpServers": {
    "mongodb-js-mongodb-mcp-server": {
      "command": "docker",
      "args": [
        "run",
        "--rm",
        "-i",
        "docker.io/mongodb/mongodb-mcp-server:2.1.0"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 20 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.

  • 18 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.

  • 17 Sept 26 −3
    • Stability: pass → 0.80 functional
  • 16 Sept 26 0
    • Stability: 0.97 → pass security
  • 15 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 93 to 97. That category is still filling its 30-day observation window: 28 days of observed history at the previous scan, 29 at this one. The score rises as the window fills, whether or not the server changes.

  • 13 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 87 to 90. That category is still filling its 30-day observation window: 26 days of observed history at the previous scan, 27 at this one. The score rises as the window fills, whether or not the server changes.

  • 11 Sept 26 +1

    No change was recorded against any check on this day. Stability & Change Management went from 80 to 83. That category is still filling its 30-day observation window: 24 days of observed history at the previous scan, 25 at this one. The score rises as the window fills, whether or not the server changes.

  • 10 Sept 26 −3
    • Stability: pass → 0.80 functional
Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 20 Sept 2026 · Analysed oci/docker.io/mongodb/mongodb-mcp-server:2.1.0

Provenance No attestation

The registry publishes no build provenance for this version, so there is nothing to verify.

Result No attestation
Ecosystem oci
Reason Verification failed
Discovered via OCI referrers API

Background: How many MCP packages publish verified provenance →

MCP tools · 27 exposed · ~3,906 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability. A tool's description is untrusted text the model reads on every call, which is what makes this list a security surface and not just an inventory: how tool poisoning works →

Tool Tokens
aggregate ~1,365

Run an aggregation against a MongoDB collection

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
pipelinearrayyesAn array of aggregation stages to execute. If the user has asked for a vector search, `$vectorSearch` **MUST** be the first stage of the pipeline (or the first stage of a `$unionWith` sub-pipeline o…
responseBytesLimitnumberThe maximum number of bytes to return in the response. This value is capped by the server's configured maximum and cannot be exceeded.
NameTypeReqDescription
appliedLimitsarrayyesThe limits applied to the aggregation pipeline
countyesThe total number of documents returned by the aggregation pipeline
documentsarrayyesThe documents returned by the aggregation pipeline

No examples provided.

aggregate-db ~154

Run an aggregation against a MongoDB database

NameTypeReqDescription
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
pipelinearrayyesAn array of aggregation stages to execute. The first stage must be a database-level aggregation stage (one of `$changeStream`, `$currentOp`, `$documents`, `$listLocalSessions`, `$queryStats`). https:…
responseBytesLimitnumberThe maximum number of bytes to return in the response. This value is capped by the server's configured maximum and cannot be exceeded.
NameTypeReqDescription
aggResultsCountnumberThe total number of documents returned by the aggregation pipeline
appliedLimitsarrayyesThe limits applied to the aggregation pipeline
documentsarrayyesThe documents returned by the aggregation pipeline

No examples provided.

collection-indexes ~60

Describe the indexes for a collection

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
NameTypeReqDescription
classicIndexesarrayyes
classicIndexesCountnumberyes
searchIndexesarrayyes
searchIndexesCountnumberyes

No examples provided.

collection-schema ~109

Describe the schema for a collection

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
responseBytesLimitnumberThe maximum number of bytes to return in the response. This value is capped by the server's configured maximum and cannot be exceeded.
sampleSizenumberNumber of documents to sample for schema inference
NameTypeReqDescription
fieldsCountnumberyes
schemaobjectyes

No examples provided.

collection-storage-size ~60

Gets the size of the collection

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
NameTypeReqDescription
sizenumberyes
unitsstringyes

No examples provided.

connect ~118

Connect to a MongoDB instance and get back a connectionId to pass to the other MongoDB tools. Each call establishes a new, independent connection — multiple connections can be active at the same time.

NameTypeReqDescription
connectionNamestringOptional short label for the connection (stored slugified with a short suffix, e.g. "staging" becomes staging-<suffix>). Shown in connection listings; helpful for telling multiple connections apart.
connectionStringstringyesMongoDB connection string (in the mongodb:// or mongodb+srv:// format)
NameTypeReqDescription
connectionIdstringyes

No examples provided.

count ~106

Gets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parameter

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
queryobjectA filter/query parameter. Allows users to filter the documents to count. Matches the syntax of the filter argument of db.collection.count().
NameTypeReqDescription
countnumberyesThe number of documents in the collection

No examples provided.

create-collection ~73

Creates a new collection in a database. If the database doesn't exist, it will be created automatically.

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
NameTypeReqDescription
collectionstringyes
createdbooleanyes
databasestringyes

No examples provided.

create-index ~111

Create an index for a collection

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
definitionarrayyesThe index definition. Use 'classic' for standard indexes, 'vectorSearch' for vector search indexes, and 'search' for Atlas Search (lexical) indexes.
namestringThe name of the index
NameTypeReqDescription
collectionstringyes
databasestringyes
indexNamestringyes
indexTypestringyes

No examples provided.

db-stats ~56

Returns statistics that reflect the use state of a single database

NameTypeReqDescription
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
NameTypeReqDescription
statsobjectyes

No examples provided.

delete-many ~93

Removes all documents that match the filter from a MongoDB collection

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
filterobjectThe query filter, specifying the deletion criteria. Matches the syntax of the filter argument of db.collection.deleteMany()
NameTypeReqDescription
collectionstringyes
databasestringyes
deletedCountnumberyes

No examples provided.

disconnect ~44

Close a MongoDB connection and revoke its connectionId.

NameTypeReqDescription
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
NameTypeReqDescription
outcomestringyes

No examples provided.

drop-collection ~74

Removes a collection or view from the database. The method also removes any indexes associated with the dropped collection.

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
NameTypeReqDescription
collectionstringyes
databasestringyes
droppedbooleanyes

No examples provided.

drop-database ~55

Removes the specified database, deleting the associated data files

NameTypeReqDescription
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
NameTypeReqDescription
databasestringyes
droppedbooleanyes

No examples provided.

drop-index ~111

Drop an index for the provided database and collection.

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
indexNamestringyesThe name of the index to be dropped.
typestringyesThe type of index to be deleted. Use 'classic' for standard indexes and 'search' for atlas search and vector search indexes.
NameTypeReqDescription
collectionstringyes
databasestringyes
droppedbooleanyes
indexNamestringyes

No examples provided.

explain ~135

Returns statistics describing the execution of the winning plan chosen by the query optimizer for the evaluated method

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
methodarrayyesThe method and its arguments to run
verbositystringThe verbosity of the explain plan, defaults to queryPlanner. If the user wants to know how fast is a query in execution time, use executionStats. It supports all verbosities as defined in the MongoDB…
NameTypeReqDescription
explainResultobjectyes
methodstringyes
verbositystringyes

No examples provided.

export ~188

Export a query or aggregation results in the specified EJSON format.

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
exportTargetarrayyesThe export target along with its arguments.
exportTitlestringyesA short description to uniquely identify the export.
jsonExportFormatstringThe format to be used when exporting collection data as EJSON with default being relaxed. relaxed: A string format that emphasizes readability and interoperability at the expense of type preservation…

No output schema declared.

No examples provided.

find ~206

Run a find query against a MongoDB collection

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
filterobjectThe query filter, matching the syntax of the query argument of db.collection.find()
limitnumberThe maximum number of documents to return
projectionobjectThe projection, matching the syntax of the projection argument of db.collection.find()
responseBytesLimitnumberThe maximum number of bytes to return in the response. This value is capped by the server's configured maximum and cannot be exceeded.
sortobjectA document, describing the sort order, matching the syntax of the sort argument of cursor.sort(). The keys of the object are the fields to sort on, while the values are the sort directions (1 for asc…
NameTypeReqDescription
appliedLimitsarrayyesThe limits applied to the find query
documentsarrayyesThe documents returned by the find query
queryResultsCountnumberThe total number of documents returned by the find query

No examples provided.

insert-many ~109

Insert an array of documents into a MongoDB collection. If the list of documents is above com.mongodb/maxRequestPayloadBytes, consider inserting them in batches.

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
documentsarrayyesThe array of documents to insert, matching the syntax of the document argument of db.collection.insertMany().
NameTypeReqDescription
collectionstringyes
databasestringyes
insertedCountnumberyes
insertedIdsarrayyes

No examples provided.

list-collections ~52

List all collections for a given database

NameTypeReqDescription
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
NameTypeReqDescription
collectionsarrayyes
totalCountnumberyes

No examples provided.

list-connections ~30

List the active MongoDB connections and their connectionIds. Use this to find a connectionId established earlier.

Input schema present but exposes no named parameters.

NameTypeReqDescription
connectionsarrayyes

No examples provided.

list-databases ~45

List all databases for a MongoDB connection

NameTypeReqDescription
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
NameTypeReqDescription
databasesarrayyes
totalCountnumberyes

No examples provided.

list-knowledge-sources ~43

List available data sources in the MongoDB Assistant knowledge base. Use this to explore available data sources or to find search filter parameters to use in search-knowledge.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

mongodb-logs ~93

Returns the most recent logged mongod events

NameTypeReqDescription
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
limitintegerThe maximum number of log entries to return.
typestringThe type of logs to return. Global returns all recent log entries, while startupWarnings returns only warnings and errors from when the process started.
NameTypeReqDescription
logsarrayyes
shownCountnumberyes
totalLinesWrittennumberyes

No examples provided.

rename-collection ~95

Renames a collection in a MongoDB database

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
dropTargetbooleanIf true, drops the target collection if it exists
newNamestringyesThe new name for the collection
NameTypeReqDescription
databasestringyes
newCollectionstringyes
oldCollectionstringyes
renamedbooleanyes

No examples provided.

search-knowledge ~171

Search for information in the MongoDB Assistant knowledge base. This includes official documentation, curated expert guidance, and other resources provided by MongoDB. Supports filtering by data source and version.

NameTypeReqDescription
dataSourcesarrayA list of one or more data sources to limit the search to. You can specify a specific version of a data source by providing the version label. If not provided, the latest version of all data sources…
limitnumberThe maximum number of results to return
querystringyesA natural language query to search for in the MongoDB Assistant knowledge base. This should be a single question or a topic that is relevant to the user's MongoDB use case.

No output schema declared.

No examples provided.

update-many ~150

Updates all documents that match the specified filter for a collection. If the list of documents is above com.mongodb/maxRequestPayloadBytes, consider updating them in batches.

NameTypeReqDescription
collectionstringyesCollection name
connectionIdstringyesThe connection to run the operation against. Use the id returned by one of the connect tools.
databasestringyesDatabase name
filterobjectThe selection criteria for the update, matching the syntax of the filter argument of db.collection.updateOne()
updateobjectyesAn update document describing the modifications to apply using update operator expressions
upsertbooleanControls whether to insert a new document if no documents match the filter
NameTypeReqDescription
collectionstringyes
databasestringyes
matchedCountnumberyes
modifiedCountnumberyes
upsertedCountnumberyes
upsertedIdstring

No examples provided.

Common questions

What is the io.github.mongodb-js/mongodb-mcp-server server?

io.github.mongodb-js/mongodb-mcp-server is listed in the public MCP registry as io.github.mongodb-js/mongodb-mcp-server. MongoDB Model Context Protocol Server. This page covers its container image (docker.io/mongodb/mongodb-mcp-server:2.1.0).

Is the io.github.mongodb-js/mongodb-mcp-server server safe to use?

io.github.mongodb-js/mongodb-mcp-server scores 52 out of 100 on VerifyMCP. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

What tools does the io.github.mongodb-js/mongodb-mcp-server server expose?

io.github.mongodb-js/mongodb-mcp-server exposes 27 tools: aggregate-db, aggregate, collection-indexes, collection-schema, collection-storage-size, and 22 more. Their descriptions and schemas cost roughly 3,906 tokens of context every time the server is loaded.

Is the io.github.mongodb-js/mongodb-mcp-server server still maintained?

io.github.mongodb-js/mongodb-mcp-server is still listed as active in the MCP registry. We last reached this channel on 20 September 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.