mongo-mcp-go

mongo-mcp-go

3.2

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

  1. find

    Query documents with filtering and projection

  2. Count

    Count documents in a collection

  3. listCollections

    List available collections

  4. insertOne

    Insert a single document

  5. updateOne

    Update a single document

  6. deleteOne

    Delete a single document

  7. createIndex

    Create a new index

  8. dropIndex

    Remove an index

  9. indexes

    List indexes for a collection