1. Conduid
  2. Data
  3. kiliczsh/mcp-mongo-server
MCP server · Data

kiliczsh/mcp-mongo-server

A Model Context Protocol Server for MongoDB

80Excellent

Scored 4 hours ago · breakdown

About kiliczsh/mcp-mongo-server

kiliczsh/mcp-mongo-server is an MCP server published by kiliczsh in the Data category: a Model Context Protocol Server for MongoDB. It has been installed 0 times through Conduid.

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

Install

Install
npx 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 kiliczsh/mcp-mongo-server

Powered by Claude · Grounded in docs

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

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

3.0.13.0.1 · 29 Jul 2026Patch release.** Renames the CLI bin from `mongodb` to `mcp-mongo-server` so `npx -y mcp-mongo-server "<connection-string>"` (the form documented in the README) resolves directly. Previously, because the package name (`mcp-mongo-server`)…
3.0.03.0.0 · 29 Jul 2026Major release: migrates to the **MCP SDK v2** with dual-era protocol support, adds security hardening, and introduces new capabilities. Highlights Protocol / SDK Migrated to **MCP SDK v2** (`@modelcontextprotocol/server`, `/node`,…
2.1.12.1.1 · 21 Jul 2026Security fix Fixes a read-only mode bypass in the `aggregate` tool. When the server was started with `--read-only` (or `MCP_MONGODB_READONLY=true`), an aggregation pipeline containing `$out` or `$merge` could still write to or replace…
2.1.02.1.0 · 21 Jul 2026MCP 2025-11-25 spec compliance, security hardening and dependency updates Spec compliance SEP-1303**: validation and MongoDB runtime errors are now tool execution errors (`isError: true`) so models can self-correct; unknown tools remain…
2.0.22.0.2 · 6 Feb 20262.0.2 Breaking Changes Dockerfile completely rewritten — now uses multi-stage `oven/bun` + `node:22-slim` build instead of `debian:bullseye-slim` with `mcp-proxy` Removed `mcp-proxy` dependency — HTTP transport is now native…

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 mirrored from the source repository 4 hours ago. The original is authoritative.

Questions

About kiliczsh/mcp-mongo-server

How do I install kiliczsh/mcp-mongo-server?

Run npx mcp-mongo-server, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

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

Its trust score is 80 out of 100 (excellent). It passes 0 of 1 static security checks; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is kiliczsh/mcp-mongo-server still maintained?

Yes — the latest release is 3.0.1 (29 Jul 2026), and the last commit was 6 months ago. The repository has 276 stars and 0 open issues.