mongo-mcp-go
If you are the rightful owner of mongo-mcp-go and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
A Model Context Protocol (MCP) server that enables LLMs to connect MongoDB using mcp-go.
The MongoDB MCP Server acts as a bridge between Language Model Models (LLMs) and MongoDB databases, facilitating CRUD operations through natural language commands. By leveraging the mcp-go library, this server allows seamless interaction with MongoDB, enabling users to perform complex database operations without needing to write traditional database queries. The server supports Server-Sent Events (SSE) for real-time data streaming, enhancing its capability to handle dynamic data environments. Configuration is managed through a YAML file, allowing users to easily set up and customize their server settings, including database connection details and server parameters. This server is particularly useful for developers looking to integrate natural language processing capabilities with MongoDB, providing a more intuitive interface for database management.
Features
- MongoDB action: Query Collection, Document and Index
- SSE Support: Run MCP Server using Server-Sent Events (SSE)
Tools
find
Query documents with filtering and projection
Count
Count documents in a collection
listCollections
List available collections
insertOne
Insert a single document
updateOne
Update a single document
deleteOne
Delete a single document
createIndex
Create a new index
dropIndex
Remove an index
indexes
List indexes for a collection