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
Facilitates natural language interaction and automation for Kubernetes cluster management and Helm operations via the Model Control Protocol (MCP).
mcp-execution
Transforms any Model Context Protocol (MCP) server into executable, type-safe TypeScript tools for AI agents, enabling progressive loading and achieving significant token savings.
mcp-devcontainers
Provides a Model Context Protocol (MCP) server for integrating with and managing devcontainer environments via the devcontainers CLI.
Create-MCP
Generates Model Context Protocol (MCP) server projects through a command-line interface.