MongoDB MCP Server
@thinking-bzf
About MongoDB MCP Server
A Model Context Protocol (MCP) server that enables LLMs to connect MongoDB using mcp-go.
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
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.
More Databases MCP servers
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
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.
mcp-server-duckdb
ktanaka101A Model Context Protocol (MCP) server implementation for DuckDB, providing database interaction capabilities

Redis
modelcontextprotocolModel Context Protocol Servers
MongoDB Lens
furey🍃🔎 MongoDB Lens: Full Featured MCP Server for MongoDB Databases
Comments