What sandbox isolation methods are used?
Bubblewrap is used on Linux and Docker on macOS to prevent host filesystem access.
@lu-zhengda
基本情報
Sandboxed Python execution for AI agents. Scripts run in ephemeral, isolated environments (bubblewrap on Linux, Docker on macOS) with PEP 723 inline dependencies — zero host pollution, zero leftover venvs, zero package conflicts. Supports multi-version Python (3.13–3.15), configu
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"python-sandbox": {
"command": "uvx",
"args": [
"mcp-python-exec-sandbox"
]
}
}
}ツール一覧はまだありません
この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。
上のボタンで一時的なサンドボックスでこのサーバーを実行し、ツール一覧を取得できます。
Python Exec Sandbox is an MCP server that provides sandboxed execution of Python scripts with automatic dependency management. It uses platform-specific isolation (bubblewrap on Linux, Docker on macOS) and the uv package manager to resolve PEP 723 inline metadata, making it ideal for safely running untrusted or third-party code in agent workflows.
Install the server via uvx and add it to Claude: claude mcp add python-sandbox -- uvx mcp-python-exec-sandbox. Then use the three provided tools: execute_python to run a script, check_environment to inspect the runtime, and validate_script to verify dependencies without execution.
Bubblewrap is used on Linux and Docker on macOS to prevent host filesystem access.
Yes, the server supports configurable per-execution timeouts ranging from 1 to 300 seconds.
Dependencies are declared inline using PEP 723 `# /// script` blocks and are automatically resolved by uv into ephemeral environments. Package caching via uv makes repeat installs near-instant.
Python Exec Sandbox supports scripts on Python 3.13, 3.14, and 3.15. The correct version is downloaded automatically by uv.
Three tools are available: `execute_python` (run a script with dependency management), `check_environment` (report runtime details), and `validate_script` (validate metadata without execution).
A Node.js–based Model Context Protocol server that spins up disposable Docker containers to execute arbitrary JavaScript.
An MCP (Model Context Protocol) server that helps AI assistants (like Claude) break down complex tasks into manageable steps, track progress, and manage a hierarchical task list.
ArduPilotドローンをAIエージェントから操作するMCPサーバーです。
MCP server that gives Claude persistent project memory — roadmap, session history, and codebase context. Type continue and Claude picks up exactly where you left off
A code reasoning MCP server, a fork of sequential-thinking
コメント