monkdb
An MCP server 🚀 for MonkDB, licensed under Apache 2.0 📜
claude mcp add --transport stdio monkdbofficial-monkdb-mcp python -m mcp_monkdb \ --env MONKDB_URI="your-monkdb-uri" \ --env MONKDB_USER="your-username" \ --env MONKDB_PASSWORD="your-password"
How to use
MonkDB MCP Server exposes MonkDB functionality as standardized MCP commands that can be consumed by MCP clients and LLMs. The Python and TypeScript implementations both provide a consistent surface for querying the MonkDB instance, inspecting table schemas, and performing health checks. Through MCP, you can translate natural language requests into structured operations such as searching documents, filtering results, retrieving specific records, and exploring database schemas. The two server variants allow you to choose the stack you prefer or that best fits your deployment constraints, while preserving a unified set of capabilities and response formats for LLM integration.
How to install
Prerequisites:
- Node.js and npm (for the TypeScript MCP server)
- Python 3.8+ (for the Python MCP server)
- Access credentials to your MonkDB instance (URI, user, password)
- Optional: pipx for Python package management
Python MCP server installation:
- Ensure Python is installed and accessible via python3.
- Install the MCP MonkDB package (from PyPI): pip install mcp-monkdb
- Verify installation by running the module (adjust if needed to your environment): python -m mcp_monkdb --help
TypeScript MCP server installation:
- Ensure Node.js and npm are installed.
- Install the TS MCP package (from npm): npm install @monkdb/monkdb-mcp
- Build or run the TypeScript server as per your project structure. Example (adjust paths as needed): node typescript/server.js --help
Configuration tips:
- Replace MONKDB_URI, MONKDB_USER, and MONKDB_PASSWORD with your actual MonkDB credentials.
- For production, consider using environment-based secret management and TLS where supported.
- If you prefer to run with Docker, adapt the mcp_config accordingly (not shown in this config).
Additional notes
Tips and common issues:
- Ensure the MonkDB instance is reachable from your MCP server host; network ACLs and firewalls can block access.
- If you update the MonkDB connection details, restart the MCP server to apply changes.
- Check logs for authentication errors, malformed requests, or missing required fields in MCP payloads.
- The two implementations (Python and TypeScript) expose the same MCP commands; use the one that matches your stack preference.
- Common MCP commands include: connect, query, explain_schema, health, and list_tables. Use a client to exercise these commands and verify responses.
- Environment variables: MONKDB_URI, MONKDB_USER, MONKDB_PASSWORD are the primary required values; add any extra security-related variables as needed by your deployment.
Related MCP Servers
mcp-searxng
MCP Server for SearXNG
mcp-redis
The official Redis MCP Server is a natural language interface designed for agentic applications to manage and search data in Redis efficiently
mem0
✨ mem0 MCP Server: A memory system using mem0 for AI applications with model context protocl (MCP) integration. Enables long-term memory for AI agents as a drop-in MCP server.
browserai
A powerful Model Context Protocol (MCP) server that provides an access to serverless browser for AI agents and apps
packt-netops-ai-workshop
🔧 Build Intelligent Networks with AI
HydraMCP
Connect agents to agents. MCP server for querying any LLM through your existing subscriptions: compare, vote, and synthesize across GPT, Gemini, Claude, and local models from one terminal.