MCP server · Audited from source
Mongo MCP server
by kiliczsh/mcp-mongo-serverMIT licenceAudited 5 Oct 2026 · source ff733a6ceb3d
Is it safe? With care — CAUTION, grade B (89/100). It exposes 12 tools: 7 read, 5 write and 0 destructive. The audit recorded 3 findings (0 critical, 1 high, 0 medium, 2 low). Maintainer's description: A Model Context Protocol Server for MongoDB
Cite
Cite this page
ModelsAtlas. “Mongo MCP server (kiliczsh/mcp-mongo-server)”. Retrieved 5 Oct 2026. https://modelsatlas.com/mcp/kiliczsh/mongo
Trust audit
Audit 0.4.1 · full source read 5 Oct 2026
3 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.
What the source does
- FilesystemNone observedNothing seen in the source
- NetworkNone observedNothing seen in the source
- ShellNone observedNothing seen in the source
- DependenciesNot pinnedSome ranges float
- SecretsFoundSee the findings
“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.
Five audit layers
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 1 finding |
L1 Static source | Secrets, path traversal, supply chain | FAIL 2 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | PASS |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
Provenance & runtime
Who published it, and what the audit could and could not run
Provenance
- Repository owner
kiliczshUser accountAccount type recorded when we read the repository. - PackagePublished on npm
mcp-mongo-serverat version 3.0.1 - LicenceMITFrom the repository, as read at the audited commit.
- Last push2 months agoActivity of the repository when we read it.
- Source commit readff733a6ceb3dThe audit covers exactly this commit, read on 5 Oct 2026.
Runtime
- Sandbox runNot run yetThis audit read the source only; it did not execute the server.
- Tool inventory12 declaredRead from the source and classed read, write or destructive.
Every value here is read from the record's own repository and audit.Suggest a correction
Findings (3)
Sorted by severity
HIGHHard-coded secretssecret.db_uri · docker-compose.yml:8
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@modelcontextprotocol/express, @modelcontextprotocol/node, @modelcontextprotocol/server, mongodb, @biomejs/biome, @modelcontextprotocol/client, @modelcontextprotocol/inspector, @types/node
- Why
- 10 dependency range(s) float
- Fix
- pin exact versions or ship a lockfile
Tools it exposes
12 declared in source · 0 destructive
| Tool | Risk | What it does |
|---|---|---|
aggregate | write | Execute a MongoDB aggregation pipeline with optional execution plan analysis |
createIndex | write | Create one or more indexes on a MongoDB collection |
insert | write | Insert one or more documents into a MongoDB collection |
query | write | Execute a MongoDB query with optional execution plan analysis |
update | write | Update documents in a MongoDB collection |
analyze_collection | read | Analyze a MongoDB collection structure and contents |
collection | read | Name of the collection to analyze |
convertTime | read | Convert a Unix timestamp or date string to multiple formats (UTC ISO 8601, GMT, Unix seconds/milliseconds) and report the server |
count | read | Count documents in a collection matching a query |
listCollections | read | List all collections in the MongoDB database |
mongodb_query | read | Template for constructing MongoDB queries |
serverInfo | read | Get MongoDB server information including version, storage engine, and other details |
Install
Package version 3.0.1 · audited commit ff733a6
Read the findings first. The most severe is Hard-coded secrets (high) at docker-compose.yml.
One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 3.0.1. The audit covers commit ff733a6 only.
claude mcp add mcp-mongo-server --env MCP_HTTP_AUTH_TOKEN=${MCP_HTTP_AUTH_TOKEN} -- npx -y [email protected]{
"mcpServers": {
"mcp-mongo-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MCP_HTTP_AUTH_TOKEN": "${MCP_HTTP_AUTH_TOKEN}"
}
}
}
}The command pins the package version recorded in the source (3.0.1); the audit covers commit ff733a6ceb3d. Transport: not declared. Reads this environment variable: MCP_HTTP_AUTH_TOKEN. Give it the narrowest token it needs.
Audit history
- !CAUTION B 89 / 100
First audit ·
ff733a6ceb3d
README badge
For maintainers · updates on every re-audit
[](https://modelsatlas.com/mcp/kiliczsh/mongo/)
The badge always shows the latest audit; a maintainer cannot pin an old verdict.
Other ratings
Cited, never blended into our score
No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.
Questions about Mongo MCP server
What is the Mongo MCP server?
What tools does Mongo expose?
Is Mongo safe to connect to an agent?
What credentials does Mongo need?
How current is this page?
Sources
- kiliczsh/mcp-mongo-server on GitHub — the source we read, its licence, stars and activityObserved · 5 Oct 2026
- ModelsAtlas trust audit — CAUTION verdict for commit ff733a6ceb3dObserved · 5 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What is the Mongo MCP server?
- What tools does Mongo expose?
- Is Mongo safe to connect to an agent?