OpenViSTAI · Agents · Blockchain · Crypto
Menu
MCP & Tooling

MCP Code Execution Server

MCP Code Execution Server is a Python MCP bridge that runs code in isolated rootless containers and can proxy stdio-based MCP servers. Its discovery functions let an agent inspect servers, search tool documentation and load tool details on demand instead of exposing every tool definition at once.

Independent OpenViST project profile, based on linked sources.

MCP Code Execution Server — Self-hosted workflows using Python and container-based execution
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when an MCP client workflow needs Python execution and on-demand discovery or proxying of tools from configured stdio-based MCP servers.

Who it is for

  • Developers configuring MCP clients and agent workflows.
  • Teams that want Python execution alongside tools exposed by stdio-based MCP servers.
  • Users who need agents to find and inspect tool definitions on demand.

Documented uses

  • Run Python code within an MCP agent workflow.
  • Discover configured MCP servers and search their tool documentation.
  • Use Python to call and compose tools from multiple configured MCP servers.
  • Reduce the need to load all available MCP tool definitions into the agent context at once.
Before you choose

Requirements & limits

The repository is public and declares a GPL-3.0 license. The README's setup instructions target macOS or Linux and specify Python 3.11 or later with Podman or Docker.

  • The bridge is a Python developer tool, not a hosted agent service.
  • It requires a container runtime and configuration of the MCP servers whose tools should be discovered or proxied.
  • The README documents both Podman and Docker; its example MCP configuration sets the runtime to Podman.
  • Server discovery can read from several documented configuration locations, with earlier-listed sources taking precedence when entries conflict.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Set up the bridge and register it with an MCP client

Prepare the documented Python and container prerequisites, launch the bridge and add its server entry to an agent’s MCP settings.

Before you start

  • macOS or Linux
  • Python 3.11 or later
  • Podman or Docker
  • uv
  • An MCP client with a settings file

Steps

  1. Install Python 3.11 or later, Podman or Docker, and uv; the README also instructs pulling the python:3.13-slim container image.

  2. Run the command below to install the project dependencies.

    Documented command
    uv sync
  3. Launch with uvx --from git+https://github.com/elusznik/mcp-server-code-execution-mode mcp-server-code-execution-mode run.

  4. Add the documented server entry to the MCP client settings, including MCP_BRIDGE_RUNTIME set to podman or the chosen runtime.

Expected outcome

The bridge is launched and has an MCP server configuration entry in the client settings.

Guide limitations

  • These steps cover setup and registration; they do not verify a successful client connection or tool execution.
  • The README's example configuration selects Podman; Docker is also documented as a runtime choice.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
17 November 2026
Original website title
elusznik/mcp-server-code-execution-mode · Official homepage title · retained in its source language