Back to Home
klogdog icon

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

Run Command
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 build

Environment 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

Stats

Interest Score0
Security Score4
Cost ClassHigh
Avg Tokens5000
Stars0
Forks0
Last Update2025-11-27

Tags

mcpserver-generatordockerautomationtoolsconnectorstypescriptpythondevopsapi-factorycode-generation