MongoDB MCP Server 🚀
@syedasad-kiwi
关于 MongoDB MCP Server 🚀
A powerful Model Context Protocol (MCP) server implementation for MongoDB integration
基本信息
配置
使用下面的配置,将此服务器添加到你的 MCP 客户端。
{
"mcpServers": {
"mongodb-mcp-bridge": {
"command": "uvx",
"args": [
"mongodb-mcp-bridge"
]
}
}
}工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MongoDB MCP Server?
A Model Context Protocol (MCP) server implementation for MongoDB integration, providing standardized interaction with MongoDB databases. It supports operations on databases, collections, and documents with async/await patterns and error handling, and is built for use with AI assistants and MCP-compatible IDEs.
How to use MongoDB MCP Server?
Run with uvx mongodb-mcp-bridge (Python) or npx mongodb-mcp-bridge (Node.js); add --transport=sse for remote connections. Set the required MONGODB_URI environment variable and optionally MONGODB_DB and MCP_PORT. Docker support is available via docker build and docker run. Configure in VS Code, Cursor, or Windsurf using the provided JSON snippets.
Key features of MongoDB MCP Server
- Full MongoDB CRUD operations support
- Secure connection handling with MongoDB Atlas
- Async/await patterns for optimal performance
- Comprehensive error handling
- Docker support for easy deployment
- Query execution with proper type hints
Use cases of MongoDB MCP Server
- Quick connectivity test via the
pingtool - List all databases in a MongoDB instance
- Query documents in a collection with filters and limits
- Integrate MongoDB operations into AI assistant workflows
FAQ from MongoDB MCP Server
What runtime or dependencies are required?
Python with uvx or Node.js with npx; no additional manual installation of drivers is needed.
How does it connect and authenticate to MongoDB?
Authentication is handled via the MONGODB_URI environment variable, which contains the MongoDB connection string including credentials.
What transport does the server use?
By default it uses standard MCP transport; the --transport=sse flag enables SSE (Server-Sent Events) transport for remote connections.
Where does my data live?
All data remains in the connected MongoDB database. The server only executes queries and returns results; it does not store data locally.
What are the available operations?
The server provides ping, list_databases, and find_documents tools for connectivity testing, database enumeration, and filtered document queries.
数据库 分类下的更多 MCP 服务器
MotherDuck's DuckDB MCP Server
motherduckdbLocal MCP server for DuckDB and MotherDuck
MCP 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.
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
mcp-server-qdrant: A Qdrant MCP server
qdrantAn official Qdrant Model Context Protocol (MCP) server implementation
MCP Server for Milvus
zilliztechModel Context Protocol Servers for Milvus
评论