MongoDB MCP Server
@MCP-Mirror
关于 MongoDB MCP Server
Mirror of
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mongodb-js_mongodb-mcp-server": {
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server",
"--apiClientId=your-atlas-service-accounts-client-id",
"--apiClientSecret=your-atlas-service-accounts-client-secret"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MongoDB MCP Server?
A Model Context Protocol server for interacting with MongoDB databases and MongoDB Atlas. It provides AI/LLM assistants with tools to manage Atlas resources and perform database operations.
How to use MongoDB MCP Server?
Install via npx and configure with either a MongoDB connection string or Atlas API credentials. Set environment variables or pass command-line arguments. Then add the server to your MCP client’s configuration file (e.g., Windsurf, VSCode, Claude Desktop, Cursor).
Key features of MongoDB MCP Server
- List, create, and inspect MongoDB Atlas organizations and projects.
- Manage Atlas clusters, IP access lists, and database users.
- Execute find, aggregate, insert, update, and delete operations.
- Control access with read-only mode and disabled tools.
- Configure telemetry, log path, and tool categories.
Use cases of MongoDB MCP Server
- AI‑powered code assistants managing MongoDB Atlas infrastructure.
- Automating database queries and schema exploration via chat.
- Securely provisioning free Atlas clusters from an LLM interface.
- Enforcing read‑only access for data analysis without mutation risk.
FAQ from MongoDB MCP Server
What runtime is required?
Node.js v20 or later.
How do I connect to a MongoDB database?
Provide a MongoDB connection string via the --connectionString argument or the MDB_MCP_CONNECTION_STRING environment variable.
How do I use the Atlas tools?
Set Atlas API credentials (service account client ID and secret) via environment variables (MDB_MCP_API_CLIENT_ID, MDB_MCP_API_CLIENT_SECRET) or command‑line arguments.
Can I restrict the server to read‑only operations?
Yes, use --readOnly or MDB_MCP_READ_ONLY=true to disable all create, update, and delete tools.
How is telemetry handled?
Telemetry is enabled by default. Disable it by setting MDB_MCP_TELEMETRY=disabled or DO_NOT_TRACK=1.
数据库 分类下的更多 MCP 服务器
mcp-server-duckdb
ktanaka101A Model Context Protocol (MCP) server implementation for DuckDB, providing database interaction capabilities
Dbhub
bytebaseZero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
MCP Alchemy
runekaagaardA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
Elasticsearch MCP Server
elasticMCP Server for MySQL based on NodeJS
benborlaA Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
评论