code-sandbox-mcp
If you are the rightful owner of code-sandbox-mcp 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@mcpreview.com.
A secure sandbox environment for executing code within Docker containers. This MCP server provides AI applications with a safe and isolated environment for running code while maintaining security through containerization.
Code Sandbox MCP is a model context protocol server designed to provide a secure and isolated environment for executing code within Docker containers. It is particularly useful for AI applications that require a safe space to run code without risking the host system's security. By leveraging Docker's containerization technology, Code Sandbox MCP ensures that code execution is both isolated and secure. The server supports flexible container management, allowing users to create and manage Docker containers tailored to their specific needs. It also offers real-time logging, enabling users to monitor container logs and command outputs as they happen. Additionally, Code Sandbox MCP supports multi-platform usage, making it compatible with Linux, macOS, and Windows systems. This versatility, combined with its robust security features, makes it an ideal choice for developers and AI practitioners looking to execute code in a controlled and secure environment.
Features
- Flexible Container Management: Create and manage isolated Docker containers for code execution
- Custom Environment Support: Use any Docker image as your execution environment
- File Operations: Easy file and directory transfer between host and containers
- Command Execution: Run any shell commands within the containerized environment
- Real-time Logging: Stream container logs and command output in real-time
Tools
- sandbox_initialize: Initialize a new compute environment for code execution. Creates a container based on the specified Docker image.
- copy_project: Copy a directory to the sandboxed filesystem.
- write_file: Write a file to the sandboxed filesystem.
- sandbox_exec: Execute commands in the sandboxed environment.
- copy_file: Copy a single file to the sandboxed filesystem.
- sandbox_stop: Stop and remove a running container sandbox.