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

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": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
run_pythonA

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).

TDQS

A3.9/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'run_python' has a clearly defined and distinct purpose for executing Python code in a sandboxed environment.

Naming Consistency5/5

The naming follows a consistent verb_noun pattern with 'run_python', and since there is only one tool, there is no inconsistency to evaluate. The naming is clear and predictable.

Tool Count2/5

A single tool is too few for a server named 'MCP Server Code Execution Mode', which suggests a broader scope for code execution. While the tool is powerful, the set feels thin and limited, lacking coverage for other potential operations like managing sessions or handling different languages.

Completeness2/5

The tool set is severely incomplete for a code execution server. It only supports Python execution, missing obvious gaps such as tools for other programming languages, session management, code inspection, or error handling, which are essential for a comprehensive code execution environment.

Maintenance

ActivityInactive
ResponsivenessNo issues