Skip to main content
Glama
hypen-code

MCE — MCP Code Execution

by hypen-code

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCE_HOSTNoHTTP server bind host0.0.0.0
MCE_PORTNoHTTP server port8000
MCE_DEBUGNoEnable debug modefalse
MCE_LLM_MODELNoLiteLLM model stringgemini/gemini-2.0-flash
MCE_LOG_LEVELNoLog verbosityINFO
MCE_DOCKER_HOSTNoDocker host socket (e.g. unix:///var/run/docker.sock)
MCE_LLM_API_KEYNoAPI key for the LLM provider
MCE_LLM_ENHANCENoEnable LLM docstring enhancement at compile timefalse
MCE_DOCKER_IMAGENoSandbox image namemce-sandbox:latest
MCE_LINT_ENABLEDNoEnable ruff lint validation before sandbox executionfalse
MCE_NETWORK_MODENoDocker network for sandbox containersmce_network
MCE_SANDBOX_MODENoExecution mode: warm (persistent container pool) or cold (new container per request)warm
MCE_CACHE_DB_PATHNoSQLite cache database path./data/cache.db
MCE_CACHE_ENABLEDNoEnable code cachingtrue
MCE_WARM_POOL_SIZENoNumber of persistent containers to pre-create in warm mode2
MCE_ALLOWED_DOMAINSNoComma-separated API domain allowlist (empty = allow all)
MCE_CACHE_MAX_ENTRIESNoMaximum cached entries before LRU eviction500
MCE_CACHE_TTL_SECONDSNoCache entry lifetime3600
MCE_COMPILE_ON_STARTUPNoAuto-compile swagger sources at startuptrue
MCE_COMPILED_OUTPUT_DIRNoCompiled functions directory./compiled
MCE_MAX_CODE_SIZE_BYTESNoMaximum allowed code size (64 KB)65536
MCE_SWAGGER_CONFIG_FILENoSwagger source definitions./config/swaggers.yaml
MCE_MAX_OUTPUT_SIZE_BYTESNoMax sandbox stdout size (1 MB)1048576
MCE_ENABLE_ADDITIONAL_TOOLSNoEnable optional list_skills and get_server_skills toolsfalse
MCE_EXECUTION_TIMEOUT_SECONDSNoMax code execution time30

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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