1. Conduid
  2. Data
  3. Mongo MCP Go
MCP server · Data

Mongo MCP Go

A Model Context Protocol (MCP) server that enables LLMs to connect MongoDB using mcp-go.

Unclaimed last commit a year ago data
41Fair

Scored 5 months ago · breakdown

About Mongo MCP Go

Mongo MCP Go is an MCP server published by thinking-bzf in the Data category: a Model Context Protocol (MCP) server that enables LLMs to connect MongoDB using mcp-go.

The repository has 2 stars and 1 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/thinking-bzf/mongo-mcp-go

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Mongo MCP Go

Powered by Claude · Grounded in docs

I know everything about Mongo MCP Go. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository yesterday. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • !License declaredNo license file. Legally you have no right to use it in a product.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

MongoDB MCP Server

A Model Context Protocol (MCP) server that enables LLMs to connect MongoDB using mcp-go. The server acts as a bridge between the LLM and the MongoDB database, allowing you to perform CRUD operations using natural language.

Features

  • MongoDB action: Query Collection, Document and Index
  • SSE Support: Run MCP Server using Server-Sent Events (SSE)

Available Tools

Query 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

Index Tools

  • createIndex: Create a new index
  • dropIndex: Remove an index
  • indexes: List indexes for a collection

Configuration

copy the config.yml.example file to config.yml and modify it according to your needs.

The server configuration is managed through the config.yml file. Below is an example configuration:

mongo:
  host: mongodb
  port: 27017
  user: admin
  password: 123456
  database: db

mcp:
  name: mongo-mcp-server
  version: 1.0.0
  base_url: localhost:8081
  address: ":8081"
  sse: true
  • MongoDB Configuration:

    • host: MongoDB server host.
    • port: MongoDB server port.
    • user: MongoDB username.
    • password: MongoDB password.
    • database: Target MongoDB database.
  • MCP Server Configuration:

    • name: Name of the MCP server.
    • version: Version of the MCP server.
    • base_url: Base URL for the server.
    • address: Address and port for the server to listen on.
    • sse: Enable or disable SSE support, default is true.

Usage

Start the MCP Server: Run the server using the following command:

go run main.go

Use in DeepChat img.png

Example

find find

References

README fetched from the repository yesterday. The original is authoritative.

Questions

About Mongo MCP Go

How do I install Mongo MCP Go?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Mongo MCP Go safe to use with an AI agent?

Its trust score is 41 out of 100 (fair). It passes 3 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Mongo MCP Go still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.