MCP Sandbox

by JohanLi233

40 stars
596 downloads
Not rated
GitHub Website

About

An interactive sandbox to safely execute Python code and install packages in isolated Docker containers.

Details

Author
JohanLi233
GitHub stars
40
Downloads
596
Categories
Developer Tools, Other, AI, Automation

- Docker isolation for secure code execution
- Package management with custom PyPI mirrors
- File generation with web link access
- Optional API key authentication
- Built-in web UI for managing sandboxes
- SSE support for real-time MCP integration

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP Sandbox
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies using uv venv and uv sync, then start the server with uv run main.py. Configuration (host, port, PyPI mirror) can be customized in config.toml. The default SSE endpoint is http://127.0.0.1:8181/sse. For Claude Desktop, configure via supergateway pointing to the SSE URL, optionally including an API key if authentication is enabled.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp sandbox": {
            "mcp-sandbox": {
                "command": "uv",
                "args": [
                    "venv"
                ]
            }
        }
    }
}

McpServers

{
    "mcp-sandbox": {
        "command": "uv",
        "args": [
            "venv"
        ]
    }
}

MCP Sandbox

<p align="center">
MCP Sandbox Logo
</p>

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.