MongoDB MCP Server connects AI agents to MongoDB databases and MongoDB Atlas clusters through the Model Context Protocol. It lets agents interact with self-managed MongoDB deployments locally or use the hosted Atlas MCP server through the official plugins. The catalogue entries provide agent integrations and guidance for using the server.
Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/mongodb-js/mongodb-mcp-serverWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/mcp/mongodb-js/mongodb-mcp-server/mongodb-mcp-server-mongodb-mcp-server)<a href="https://agentmods.dev/mcp/mongodb-js/mongodb-mcp-server/mongodb-mcp-server-mongodb-mcp-server"><img src="https://agentmods.dev/badge/mcp/mongodb-js/mongodb-mcp-server/mongodb-mcp-server-mongodb-mcp-server/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/mcp/mongodb-js/mongodb-mcp-server/mongodb-mcp-server-mongodb-mcp-server"><img src="https://agentmods.dev/badge/mcp/mongodb-js/mongodb-mcp-server/mongodb-mcp-server-mongodb-mcp-server.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket warn
Grade A, and why
mongodb-mcp-server scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
{
"mongodb-mcp-server": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server"
],
"env": {
"MDB_MCP_ALLOW_REQUEST_OVERRIDES": "",
"MDB_MCP_API_CLIENT_ID": "",
"MDB_MCP_API_CLIENT_SECRET": "",
"MDB_MCP_ASSISTANT_BASE_URL": "",
"MDB_MCP_ATLAS_TEMPORARY_DATABASE_USER_LIFETIME_MS": "",
"MDB_MCP_CONFIRMATION_REQUIRED_TOOLS": "",
"MDB_MCP_CONNECTION_SCOPE": "",
"MDB_MCP_CONNECTION_STRING": "",
"MDB_MCP_DISABLE_SERVER_SIDE_JS": "",
"MDB_MCP_DISABLED_TOOLS": "",
"MDB_MCP_DRY_RUN": "",
"MDB_MCP_ELICITATION_TIMEOUT_MS": "",
"MDB_MCP_EXPORT_CLEANUP_INTERVAL_MS": "",
"MDB_MCP_EXPORT_TIMEOUT_MS": "",
"MDB_MCP_EXPORTS_PATH": "",
"MDB_MCP_EXTERNALLY_MANAGED_SESSIONS": "",
"MDB_MCP_HEALTH_CHECK_HOST": "",
"MDB_MCP_HEALTH_CHECK_PORT": "",
"MDB_MCP_HTTP_BODY_LIMIT": "",
"MDB_MCP_HTTP_HEADERS": "",
"MDB_MCP_HTTP_HOST": "",
"MDB_MCP_HTTP_PORT": "",
"MDB_MCP_HTTP_RESPONSE_TYPE": "",
"MDB_MCP_IDLE_TIMEOUT_MS": "",
"MDB_MCP_INDEX_CHECK": "",
"MDB_MCP_LOG_PATH": "",
"MDB_MCP_LOGGERS": "",
"MDB_MCP_MAX_ACTIVE_CONNECTIONS": "",
"MDB_MCP_MAX_BYTES_PER_QUERY": "",
"MDB_MCP_MAX_DOCUMENTS_PER_QUERY": "",
"MDB_MCP_MAX_SESSIONS": "",
"MDB_MCP_MAX_TIME_M_S": "",
"MDB_MCP_MCP_CLIENT_LOG_LEVEL": "",
"MDB_MCP_MONITORING_SERVER_FEATURES": "",
"MDB_MCP_MONITORING_SERVER_HOST": "",
"MDB_MCP_MONITORING_SERVER_PORT": "",
"MDB_MCP_NOTIFICATION_TIMEOUT_MS": "",
"MDB_MCP_PREVIEW_FEATURES": "",
"MDB_MCP_READ_ONLY": "",
"MDB_MCP_TELEMETRY": "",
"MDB_MCP_TRANSPORT": "",
"MDB_MCP_VOYAGE_API_KEY": ""
}
}
}What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 53 lines scan A a35e02faad42
mongodb-mcp-server is an MCP server published in the GitHub repository mongodb-js/mongodb-mcp-server (1,124 stars, last pushed yesterday), licensed Apache-2.0. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other mcp servers, from other repositories
haiku-rag
Local-first agentic RAG with citations - hybrid search, reranking and multimodal retrieval over your own documents, no database server required. Runs locally from the haiku-rag Python package.
haiku-rag
MCP server "haiku-rag" as configured in ggozad/haiku.rag. Launched with haiku-rag mcp --stdio.
octocode
AI-powered code indexer with semantic search and knowledge graphs. Runs locally from the @muvon/octocode npm package.
mcp-local-rag
Easy-to-setup local RAG server with minimal configuration. Runs locally from the mcp-local-rag npm package. Needs 8 environment variables to run.
prism-mcp
Persistent session memory for AI coding agents that never leaves your machine — including the on-device model that reasons over it. Restores your prior decisions, open TODOs, and changed files across sessions; adds associative recall of related past work. Runs locally from the prism-mcp-server npm package. Needs 1…
openzim-mcp
OpenZIM MCP - ZIM MCP Server that enables AI models to access and search ZIM format knowledge bases offline. Runs locally from the openzim-mcp Python package. Needs 1 environment variable to run.