Developer Tools · Security

MCP Sandbox logo

MCP Sandbox

JohanLi233/mcp-sandbox

Python MCP Sandbox is an interactive Python code execution tool that allows users and LLMs to safely execute Python code and install packages in isolated Docker containers.

Install

npx -y supergateway --sse http://127.0.0.1:8181/sse

Client configuration

{
  "mcpServers": {
    "mcpSandbox": {
      "command": "npx",
      "args": [
        "-y",
        "supergateway",
        "--sse",
        "http://127.0.0.1:8181/sse"
      ]
    }
  }
}
GitHub stars
5
Category
Developer Tools, Security
License
Apache-2.0
Updated
Oct 6, 2026

Features

  • Docker Isolation: Securely run Python code in isolated Docker containers

  • Package Management: Easily install and manage Python packages with support for custom PyPI mirrors

  • File Generation: Support for generating files and accessing them via web links

  • Authentication: Optional API key-based authentication for multi-user environments

  • Web UI: Built-in web interface for managing sandboxes and viewing execution results

  • SSE Support: Real-time communication via Server-Sent Events for MCP integration

Tools (7)

  • create_sandbox

    Creates a new Python Docker sandbox and returns its ID for subsequent code execution and package installation

  • list_sandboxes

    Lists all existing sandboxes (Docker containers) for reuse

  • execute_python_code

    Executes Python code in a specified Docker sandbox

  • install_package_in_sandbox

    Installs Python packages in a specified Docker sandbox

  • check_package_installation_status

    Checks if a package is installed or installation status in a Docker sandbox

  • execute_terminal_command

    Executes a terminal command in the specified Docker sandbox.

  • upload_file_to_sandbox

    Uploads a local file to the specified Docker sandbox.

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
Playwright logo

Playwright

microsoft/playwright

72.2k

Playwright is a framework for web automation and testing. It drives Chromium, Firefox, and WebKit with a single API — in your tests, in your scripts, and as a tool for AI agents.

Developer Tools
repomix logo

repomix

yamadashy/repomix

15.2k

Repomix is a tool that packs a codebase into an AI-friendly format, supporting local and remote repository processing and providing code compression, security checks and multiple output formats.

Developer Tools
UI-TARS-desktop logo

UI-TARS-desktop

bytedance/UI-TARS-desktop

12.9k

TARS is ByteDance's multimodal AI agent stack, shipping two projects: Agent TARS (a CLI and Web UI agent built on MCP) and UI-TARS-desktop (a desktop GUI agent).

Developer Tools
blender logo

blender

ahujasid/blender-mcp

10.6k

formerly blender-mcp — the PyPI package is now mcp-for-blender. Existing setups keep working; no config change is required. Read more.

Developer Tools
Playwright Browser Automation logo

Playwright Browser Automation

microsoft/playwright-mcp

9.2k

A Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright. This server enables LLMs to interact with web pages through structured accessibility snapshots, bypassing the need for screenshots or visually-tuned models.

Developer Tools
2344 logo

2344

comet-ml/opik

7k

Opik is the open-source LLM observability and evaluation platform for AI agent tracing, LLM evaluation, prompt management, and production monitoring. Built by Comet. Apache-2.0 licensed, free to self-host the full platform, with 20,000+ GitHub stars.

Developer Tools