mcp-sandbox

JohanLi233/mcp-sandbox

3.5

If you are the rightful owner of mcp-sandbox and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

Python MCP Sandbox is an interactive tool for executing Python code in isolated Docker containers, allowing safe code execution and package management.

Tools

Functions exposed to the LLM to take actions

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.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources