Description

MCP server providing secure Python code execution in isolated containers while enabling seamless integration with other MCP servers through bridge architecture. Automatically discovers MCP servers from Claude Code and standard configuration locations, then executes Python code in rootless containers (Podman/Docker) with network isolation and resource limits while providing runtime access to discovered MCP servers through generated proxy objects. Features TOON-format response encoding for token efficiency, persistent MCP client sessions, automatic server metadata discovery with tool aliasing, and comprehensive sandbox security including memory limits, process restrictions, and temporary filesystem isolation.

Installation

git clone https://github.com/elusznik/mcp-server-code-execution-mode

Claude Desktop Configuration

Add this configuration to your Claude Desktop config file to enable this MCP server:

Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json

Config file location: %APPDATA%\Claude\claude_desktop_config.json

Config file location: ~/.config/Claude/claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "code-execution-mode": {
      "command": "node",
      "args": [
        "path/to/server.js"
      ]
    }
  }
}