1. Conduid
  2. Data
  3. mongo-server
MCP server · Data

mongo-server

A Model Context Protocol server for MongoDB connections

Unclaimed data
39Low

Scored 5 months ago · breakdown

About mongo-server

mongo-server is an MCP server published by git+kiliczsh in the Data category: a Model Context Protocol server for MongoDB connections.

Install

Install
npx mcp-mongo-server
Claude Code
claude mcp add mongo-server-gitkilic -- npx -y mcp-mongo-server
npx
npx -y mcp-mongo-server

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-server

Powered by Claude · Grounded in docs

I know everything about mongo-server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 checks have not been run yet.

README

MCP MongoDB Server


NPM Version NPM Downloads NPM License smithery badge Verified on MseeP

A Model Context Protocol server that enables LLMs to interact with MongoDB databases. This server provides capabilities for inspecting collection schemas and executing MongoDB operations through a standardized interface.

Demo

Key Features

  • Smart ObjectId Handling - Configurable auto/none/force modes for string-to-ObjectId conversion
  • Read-Only Mode - Protection against write operations, uses secondary read preference
  • Schema Inference - Automatic collection schema detection from document samples
  • Query & Aggregation - Full MongoDB query and aggregation pipeline support with optional explain plans
  • Write Operations - Insert, update, and index creation (when not in read-only mode)
  • Collection Completions - Auto-complete collection names for LLM integration

Installation

npx -y mcp-mongo-server mongodb://localhost:27017/database

Usage

# Start server with MongoDB URI
npx -y mcp-mongo-server mongodb://muhammed:kilic@localhost:27017/database

# Connect in read-only mode
npx -y mcp-mongo-server mongodb://muhammed:kilic@localhost:27017/database --read-only

Environment Variables

Variable Description
MCP_MONGODB_URI MongoDB connection URI
MCP_MONGODB_READONLY Enable read-only mode ("true")

Documentation

License

MIT - see LICENSE for details.

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About mongo-server

How do I install mongo-server?

Run npx mcp-mongo-server, then add the server to your MCP client's configuration.

Is mongo-server safe to use with an AI agent?

Its trust score is 39 out of 100 (low). It passes 1 of the 2 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-server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.