MCE — MCP Code Execution
by hypen-code
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MCE_HOST | No | HTTP server bind host | 0.0.0.0 |
| MCE_PORT | No | HTTP server port | 8000 |
| MCE_DEBUG | No | Enable debug mode | false |
| MCE_LLM_MODEL | No | LiteLLM model string | gemini/gemini-2.0-flash |
| MCE_LOG_LEVEL | No | Log verbosity | INFO |
| MCE_DOCKER_HOST | No | Docker host socket (e.g. unix:///var/run/docker.sock) | |
| MCE_LLM_API_KEY | No | API key for the LLM provider | |
| MCE_LLM_ENHANCE | No | Enable LLM docstring enhancement at compile time | false |
| MCE_DOCKER_IMAGE | No | Sandbox image name | mce-sandbox:latest |
| MCE_LINT_ENABLED | No | Enable ruff lint validation before sandbox execution | false |
| MCE_NETWORK_MODE | No | Docker network for sandbox containers | mce_network |
| MCE_SANDBOX_MODE | No | Execution mode: warm (persistent container pool) or cold (new container per request) | warm |
| MCE_CACHE_DB_PATH | No | SQLite cache database path | ./data/cache.db |
| MCE_CACHE_ENABLED | No | Enable code caching | true |
| MCE_WARM_POOL_SIZE | No | Number of persistent containers to pre-create in warm mode | 2 |
| MCE_ALLOWED_DOMAINS | No | Comma-separated API domain allowlist (empty = allow all) | |
| MCE_CACHE_MAX_ENTRIES | No | Maximum cached entries before LRU eviction | 500 |
| MCE_CACHE_TTL_SECONDS | No | Cache entry lifetime | 3600 |
| MCE_COMPILE_ON_STARTUP | No | Auto-compile swagger sources at startup | true |
| MCE_COMPILED_OUTPUT_DIR | No | Compiled functions directory | ./compiled |
| MCE_MAX_CODE_SIZE_BYTES | No | Maximum allowed code size (64 KB) | 65536 |
| MCE_SWAGGER_CONFIG_FILE | No | Swagger source definitions | ./config/swaggers.yaml |
| MCE_MAX_OUTPUT_SIZE_BYTES | No | Max sandbox stdout size (1 MB) | 1048576 |
| MCE_ENABLE_ADDITIONAL_TOOLS | No | Enable optional list_skills and get_server_skills tools | false |
| MCE_EXECUTION_TIMEOUT_SECONDS | No | Max code execution time | 30 |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hypen-code/mcp-code-execution'
If you have feedback or need assistance with the MCP directory API, please join our Discord server