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

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_serversA

Discover servers with function names and descriptions. All summaries are included when they fit. Follow next_cursor and next_function_cursor together as cursor and function_cursor; a nonzero function cursor continues the same server. Truncated descriptions are marked. cursor defaults to 0; limit defaults to 10 (1–100 servers, capped by discovery_limit). Results include the registry fingerprint; restart pagination if it changes. Use search_functions to search and get_functions for full schemas.

search_functionsA

Search the compiled registry before requesting full function schemas.

get_functionsA

Inspect real parameter, request-body, and response metadata for 1–5 functions.

execute_codeB

Run restricted Python with inputs, result, and await call_tool("server.function", args).

run_cached_codeB

Reuse unchanged cached code with a new structured inputs object.

submit_codeB

Submit execution and return a persistent receipt, not an MCP Tasks promise.

get_runA

Read a persistent run receipt owned by the authenticated caller.

cancel_runA

Request cooperative cancellation; completed external effects cannot be undone.

list_recipesA

Find reusable recipes in the authenticated caller's namespace.

read_artifactA

Read a bounded chunk of an execution artifact in the caller's namespace.

transform_artifactA

Reduce stored JSON offline, without refetching or reading chunks.

Prompts

Interactive templates invoked by user choice

NameDescription
reusable_code_guideExplain the reusable restricted-Python contract on demand. Returns: A concise prompt using structured inputs and broker-mediated calls.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 11 tools

Disambiguation5/5

Each tool targets a distinct operation: search/get/list for discovery, execute/submit/cached for running code, and dedicated tools for run management and artifact access. Even execute_code and submit_code are clearly differentiated by synchronous execution vs. persistent receipt submission.

Naming Consistency5/5

All 11 tool names follow the snake_case verb_noun pattern, such as search_functions, cancel_run, and transform_artifact. The pattern is consistent across discovery, execution, and artifact operations, with no mixing of conventions.

Tool Count5/5

With 11 tools, the server is well-scoped for its purpose: it covers function discovery, code execution variants, run lifecycle, and artifact handling without excess. The count is within the ideal range and each tool serves a clear role.

Completeness4/5

The surface covers the main workflow well: discovering functions, executing code, managing runs, and reading/transforming artifacts. A minor gap is the lack of a list_runs tool to enumerate persistent runs; callers must know a receipt ID upfront, which is a small workaround.

Maintenance

ActivityMaintained
ResponsivenessNo issues