EasyMCP
by klogdog
Overview
A Docker-native server factory that automatically builds, configures, and deploys Model Context Protocol (MCP) servers from user-defined tools and connectors in TypeScript or Python.
Installation
docker run -it --privileged -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd)/tools:/app/tools -v $(pwd)/connectors:/app/connectors -v $(pwd)/config:/app/config mcp-generator buildEnvironment Variables
- DATABASE_URL
- OPENAI_API_KEY
- SLACK_BOT_TOKEN
- TRANSLATION_API_KEY
- GMAIL_CLIENT_ID
- GMAIL_CLIENT_SECRET
- GMAIL_REFRESH_TOKEN
- NOTION_TOKEN
- NODE_ENV
- PORT
- HOST
- LOG_LEVEL
Security Notes
The MCP generator itself requires `--privileged` Docker access and mounts `/var/run/docker.sock` to the host. This grants the container full root access to the host's Docker daemon, making it highly sensitive. If the generator or its inputs (tools/connectors) are compromised, it could lead to host system compromise. While this is intentional for its Docker-in-Docker build functionality, it necessitates extreme trust in the generator's code and all dynamic modules it processes. Dynamic execution of Python tools via `child_process` also presents a potential risk if inputs are not thoroughly sanitized. The project uses `zod` for schema validation and a `SecretManager` for credential handling, which are good practices, but the fundamental privilege requirement remains a critical security consideration.
Similar Servers
mcp-k8s
A Kubernetes MCP (Model Control Protocol) server that enables natural language interaction with Kubernetes clusters and Helm for resource and release management.
zeromcp
A minimal, pure Python Model Context Protocol (MCP) server for exposing tools, resources, and prompts via HTTP/SSE and Stdio transports.
mcp-servers
Provides an MCP server for Qdrant vector database integration, enabling AI agents to perform semantic search, store documents, and manage collections with advanced multi-tenant filtering capabilities.
mcp-server
A web-based Docker management platform for deploying, managing, and building custom AI tools (MCP servers) for integration with language models.