Skip to main content
Glama
elusznik

MCP Server Code Execution Mode

by elusznik

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_BRIDGE_CPUSNoCPU limit
MCP_BRIDGE_PIDSNoProcess limit128
MCP_BRIDGE_IMAGENoContainer imagepython:3.12-slim
MCP_BRIDGE_MEMORYNoMemory limit512m
MCP_BRIDGE_RUNTIMENoContainer runtime (podman/docker)auto
MCP_BRIDGE_TIMEOUTNoDefault timeout30s
MCP_BRIDGE_STATE_DIRNoHost directory for IPC sockets and temp state./.mcp-bridge
MCP_BRIDGE_MAX_TIMEOUTNoMax timeout120s
MCP_BRIDGE_CONTAINER_USERNoRun as UID:GID65534:65534
MCP_BRIDGE_RUNTIME_IDLE_TIMEOUTNoShutdown delay300s

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
run_python

The Code Execution MCP engine. Executes Python code in a stateful, persistent rootless sandbox environment similar to a Jupyter notebook. Variables, functions, and imports are preserved across calls. Use this tool for general code execution, data analysis, or when the user asks to 'run code'. Supports loading additional MCP servers via the 'servers' array.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
code-execution-capabilitiesCapability overview, helper reference, and sandbox usage notes (call runtime.capability_summary() inside the sandbox for this text).

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/elusznik/mcp-server-code-execution-mode'

If you have feedback or need assistance with the MCP directory API, please join our Discord server