MCP Hub
Back to servers

Docker Code Runner

A secure MCP server that executes Python and bash code within isolated Docker containers, providing a sandboxed environment for code execution with configurable timeouts.

Stars
1
Updated
Aug 22, 2025
Validated
Mar 10, 2026

Execute code in a container or virtual machine environment.

{
  "mcpServers": {
    "HhRwXh-Ka1FQjOFHoDM5E": {
      "name": "mcp-code-runner",
      "type": "stdio",
      "isActive": true,
      "registryUrl": "",
      "longRunning": true,
      "tags": [],
      "command": "uv",
      "args": [
        "--directory",
        "<path>",
        "run",
        "main.py",
        "--name=<container>"
      ]
    },
  }
}

Reviews

No reviews yet

Sign in to write a review