Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"MongoDB": {
"env": {
"MDB_MCP_CONNECTION_STRING": "mongodb://localhost:27017/myDatabase"
},
"args": [
"-y",
"mongodb-mcp-server@latest",
"--readOnly"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A Model Context Protocol server for interacting with MongoDB Databases and MongoDB Atlas.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'mongodb-mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked mongodb-mcp-server against OSV.dev.
Click any tool to inspect its schema.
Supported ResourcesMongoDB MCP Server resources
mongodb://
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in data
Query and manage PostgreSQL databases directly from AI assistants
Manage Supabase projects — databases, auth, storage, and edge functions
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
🔥 Official Firecrawl MCP Server - Adds powerful web scraping and search to Cursor, Claude and any other LLM clients.
MCP Security Weekly
Get CVE alerts and security updates for io.github.mongodb-js/mongodb-mcp-server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.