MCP Sandbox
JSON →An interactive sandbox to safely execute Python code and install packages in isolated Docker containers.
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. Parameters: sandbox_id (string), command (string). Returns stdout, stderr, exit_code.
- upload_file_to_sandbox Uploads a local file to the specified Docker sandbox. Parameters: sandbox_id (string), local_file_path (string), dest_path (string, optional, default: /app/results)
Environment variables
YOUR_API_KEY
Links
★ 39 GitHub stars