Preparing for system design interviews?  Try bugzed.com →

MongoDB MCP Server

JSON →
library 1.0.4 ·javascript
verified Jun 5, 2026

A read-only Model Context Protocol (MCP) server for querying MongoDB databases, version 1.0.4, actively maintained. It exposes tools like list_databases, list_collections, list_indexes, run_aggregation, and run_aggregation_to_file via the MCP standard, allowing AI agents to inspect MongoDB schemas and run aggregation pipelines. Key differentiators: entirely read-only (rejects write stages $out, $merge), enforces a 50-second query timeout, and uses secondaryPreferred read preference for safety. Requires Node >=18 and a MongoDB connection string via MONGODB_URI environment variable. Published on npm, includes TypeScript types.

total hits 9
actors 3 distinct systems
last hit 16d ago AhrefsBot
GPTBot
3
Humans
4

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇳 China · 🇨🇦 Canada · AR