MongoDB MCP Server
@thinking-bzf
关于 MongoDB MCP Server
A Model Context Protocol (MCP) server that enables LLMs to connect MongoDB using mcp-go.
基本信息
配置
工具
未检测到工具
工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。
概览
What is MongoDB MCP Server?
A Model Context Protocol (MCP) server that enables LLMs to connect MongoDB using mcp-go. It acts as a bridge between the LLM and the MongoDB database, allowing you to perform CRUD operations using natural language.
How to use MongoDB MCP Server?
Copy the config.yml.example file to config.yml, modify it with your MongoDB and MCP server settings, then run the server using go run main.go. The server exposes tools for querying and managing collections, documents, and indexes.
Key features of MongoDB MCP Server
- Perform CRUD operations via natural language
- Query, count, and list MongoDB collections
- Insert, update, and delete single documents
- Create, drop, and list indexes
- Supports Server-Sent Events (SSE) transport
Use cases of MongoDB MCP Server
- Enable an LLM to query MongoDB collections with filters and projections
- Let an LLM insert, update, or delete documents in a MongoDB database
- Allow an LLM to manage indexes (create, drop, list) on MongoDB collections
FAQ from MongoDB MCP Server
How is MongoDB MCP Server configured?
Configuration is managed through a config.yml file with MongoDB connection details (host, port, user, password, database) and MCP server settings (name, version, base URL, address, SSE toggle).
What tools does MongoDB MCP Server provide?
It provides tools for find, count, listCollections, insertOne, updateOne, deleteOne, createIndex, dropIndex, and indexes.
Does MongoDB MCP Server support SSE?
Yes, SSE support is enabled by default (configurable via the sse field in config.yml).
What runtime does MongoDB MCP Server require?
The server is written in Go and is started with go run main.go. It uses the mcp-go library and the official MongoDB Go driver.
Can I run MongoDB MCP Server with DeepChat?
Yes, the README shows usage in DeepChat with a screenshot depicting integration.
数据库 分类下的更多 MCP 服务器

PostgreSQL
modelcontextprotocolModel Context Protocol Servers
MCP Server for Milvus
zilliztechModel Context Protocol Servers for Milvus
MongoDB MCP Server
mongodb-jsA Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
ClickHouse MCP Server
ClickHouseConnect ClickHouse to your AI assistants.

Redis
modelcontextprotocolModel Context Protocol Servers
评论