Submit

Mcp sandbox

@JohanLi233

execute python code in sandboxes
Overview

What is MCP Sandbox?

MCP Sandbox is an interactive tool that allows users to execute Python code in isolated Docker containers, providing a safe environment for code execution and package management.

How to use MCP Sandbox?

To use MCP Sandbox, clone the repository from GitHub, set up a virtual environment, and run the server. You can then interact with the sandbox through various tools provided in the application.

Key features of MCP Sandbox?

  • 🐳 Docker Isolation: Securely run Python code in isolated Docker containers.
  • 📦 Package Management: Easily install and manage Python packages within the sandbox.
  • 📊 File Generation: Support for generating files and accessing them via web links.

Use cases of MCP Sandbox?

  1. Running Python scripts in a secure environment.
  2. Testing and developing Python applications without affecting the local environment.
  3. Educational purposes for learning Python programming.

FAQ from MCP Sandbox?

  • Can I run any Python code in MCP Sandbox?

Yes! You can run any Python code as long as it adheres to the limitations of the Docker environment.

  • How do I install packages in the sandbox?

Use the "install_package_in_sandbox" tool with the appropriate parameters to install packages.

  • Is there a limit to the number of sandboxes I can create?

No, you can create as many sandboxes as your system resources allow.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.