MongoDB Read-Only
Provides a strictly read-only MongoDB Model Context Protocol (MCP) server for secure data interaction.
This Go-based MCP server offers a secure gateway to your MongoDB data, meticulously designed for read-only operations. It ensures data integrity by completely omitting write functionalities from its codebase and blocking any write-capable aggregation stages. Ideal for connecting AI or other MCP clients, it allows safe exploration and retrieval of MongoDB data, making it a robust solution for environments requiring stringent access control.
Key Features
01Supports a wide array of read operations including find, aggregate, count, distinct, and schema inference
02Provides secure input type-checking to prevent panics from malformed MCP input
03Strictly read-only by design, with no write operations in the codebase or implemented commands
04Supports MongoDB Extended JSON for seamless handling of BSON types
05Enhances safety with capped query results (100 documents/values per request) and operation timeouts
060 GitHub stars
Use Cases
01Securely connecting AI or MCP clients to MongoDB for data querying and exploration
02Providing read-only access to MongoDB databases for analytics, reporting, or data visualization tools
03Integrating MongoDB data retrieval into applications where write permissions must be explicitly denied