MCP MongoDB Server
A Model Context Protocol server that provides access to MongoDB databases. This server enables LLMs to inspect collection schemas and execute MongoDB operations.
Key Features:
- Read-Only Mode: Connect to MongoDB in read-only mode to prevent write operations.
- Resource Listing: List and access collections via
mongodb://
URIs. - Schema Access: Each collection has a name, description, and schema.
- Tools: Includes query, aggregate, update, serverInfo, insert, createIndex, and count operations.
- Prompts: Includes analyze_collection to analyze collection structure and contents.
Use Cases:
- Connect LLMs to MongoDB databases.
- Inspect collection schemas.
- Execute MongoDB operations.
- Protect data from accidental writes.