mcpmongo

mcpmongo

3.2

If you are the rightful owner of mcpmongo 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.

This project demonstrates the integration of MongoDB with the Model Context Protocol (MCP) to provide AI assistants with database interaction capabilities.

The MCP MongoDB Integration project is designed to enable AI assistants to interact with MongoDB databases through the Model Context Protocol (MCP). It consists of two main components: the MCP MongoDB Server, which exposes MongoDB operations as MCP tools, and the Client-side Gemini Integration, a terminal-based chatbot that utilizes Google's Gemini AI with access to MongoDB tools. The project structure includes a server directory for setting up the MCP server with MongoDB tools and a client directory for the Gemini AI-based application. The integration allows for full CRUD operations on MongoDB, providing a seamless interface for AI-driven database interactions. The setup requires Node.js, a MongoDB instance, and a Google Gemini API key. The server and client can be started with simple setup scripts, and the system supports a variety of MongoDB operations as tools.

Features

  • MongoDB Integration: Full CRUD operations exposed as MCP tools.
  • MCP Server: Implements the Model Context Protocol for AI tool use.
  • Gemini AI Integration: Connects to Google's Gemini models.
  • Terminal Chatbot: Interactive chat interface for database operations.

Tools

  1. findDocuments

    Query documents in a collection.

  2. insertOneDocument

    Insert a document.

  3. updateOneDocument

    Update a single document.

  4. deleteOneDocument

    Delete a document.

  5. aggregateDocuments

    Run aggregation pipelines.