{"slug": "mongodb-mcp-server-recorded-a-github-repository-push", "title": "MongoDB MCP Server recorded a GitHub repository push", "summary": "MongoDB's official MCP server, which connects AI agents to MongoDB databases and Atlas clusters, recorded its latest GitHub repository push in November 2026 and has 1.2k stars, according to an index listing written primarily in TypeScript. The server runs locally against self-managed deployments, supports an optional read-only mode, and ships in official MongoDB plugins for Cursor, VS Code, Claude, Codex and GitHub Copilot CLI, with MongoDB recommending its hosted Atlas MCP server over OAuth for Atlas users. The listing notes that its specific permissions have not been reviewed and advises narrowly scoped credentials, since local launch is not local-only data processing.", "body_md": "# MongoDB MCP Server\n\nMongoDB's official MCP server for querying databases and managing Atlas clusters from AI agents.\n\n## Sources and review\n\nChecked against public documentation on . Suitability guidance is our editorial judgment; this is not a performance benchmark or an endorsement.\n\nExploring collections, writing queries and managing Atlas from an AI coding assistant.\n\n## About MongoDB MCP Server\n\nMongoDB's official MCP server connects AI agents to MongoDB databases and MongoDB Atlas. It runs locally against any self-managed deployment, optionally in read-only mode, and ships in official MongoDB plugins for Cursor, VS Code, Claude, Codex and GitHub Copilot CLI; MongoDB recommends its hosted Atlas MCP server over OAuth for Atlas users.\n\nMongoDB MCP Server is listed in this index written primarily in TypeScript, with 1.2k stars on GitHub. Its latest recorded repository push was in November 2026; that is not an ASE editorial review date.\n\n## Before connecting: access and data\n\nThis record's specific permissions have not been reviewed by ASE. Read the publisher's documentation before copying setup or connecting.\n\n- List the accounts, files and services the enabled tools can read, change or execute. Check your actual credentials and discovered tools.\n- Use narrowly scoped credentials and read-only mode where supported. Review proposed writes before approving them; a generated configuration does not apply these limits for you.\n- Local launch is not local-only data processing. External services receive requests, and your client may pass tool results to its model provider. Check both destinations before sharing private data.\n- Keep keys and browser session files out of shared config, repositories and screenshots. Know how to disconnect the server and separately revoke its credentials or account sessions.\n\n## Add MongoDB MCP Server to your MCP client\n\nGenerated from the launch command in the project's README. Your client starts the server on demand.\n\n## Claude Code\n\n```\nclaude mcp add mongodb-mcp-server -e MDB_MCP_CONNECTION_STRING=mongodb://localhost:27017/myDatabase -- npx -y mongodb-mcp-server@latest --readOnly\n```\n\n## Cursor\n\n```\n{\n  \"mcpServers\": {\n    \"mongodb-mcp-server\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mongodb-mcp-server@latest\", \"--readOnly\"],\n      \"env\": {\n        \"MDB_MCP_CONNECTION_STRING\": \"mongodb://localhost:27017/myDatabase\"\n      }\n    }\n  }\n}\n```\n\n## VS Code\n\n```\n{\n  \"servers\": {\n    \"mongodb-mcp-server\": {\n      \"type\": \"stdio\",\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mongodb-mcp-server@latest\", \"--readOnly\"],\n      \"env\": {\n        \"MDB_MCP_CONNECTION_STRING\": \"mongodb://localhost:27017/myDatabase\"\n      }\n    }\n  }\n}\n```\n\n## Claude Desktop\n\n```\n{\n  \"mcpServers\": {\n    \"mongodb-mcp-server\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"mongodb-mcp-server@latest\", \"--readOnly\"],\n      \"env\": {\n        \"MDB_MCP_CONNECTION_STRING\": \"mongodb://localhost:27017/myDatabase\"\n      }\n    }\n  }\n}\n```\n\n## Codex\n\n```\n[mcp_servers.mongodb-mcp-server]\ncommand = \"npx\"\nargs = [\"-y\", \"mongodb-mcp-server@latest\", \"--readOnly\"]\nenv = { MDB_MCP_CONNECTION_STRING = \"mongodb://localhost:27017/myDatabase\" }\n```\n\n**Make your product part of the discovery.** Explore advertising", "url": "https://wpnews.pro/news/mongodb-mcp-server-recorded-a-github-repository-push", "canonical_source": "https://agentsearchengine.app/agents/mongodb-mcp-server", "published_at": "2026-11-16 14:35:10+00:00", "updated_at": "2026-11-16 14:52:29.146550+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools"], "entities": ["MongoDB", "MongoDB MCP Server", "MongoDB Atlas", "Cursor", "VS Code", "Claude", "Codex", "GitHub Copilot CLI"], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/mongodb-mcp-server-recorded-a-github-repository-push", "markdown": "https://wpnews.pro/news/mongodb-mcp-server-recorded-a-github-repository-push.md", "text": "https://wpnews.pro/news/mongodb-mcp-server-recorded-a-github-repository-push.txt", "jsonld": "https://wpnews.pro/news/mongodb-mcp-server-recorded-a-github-repository-push.jsonld"}}