Code Sandbox MCP 🐳
About
An MCP server to create secure code 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.
Details
- Author
- insecurepla
- Downloads
- 324
- Categories
- Developer Tools
Jump to
- Multi-language support: Python, Go, Node.js, TypeScript.
- Automatic dependency detection and installation (pip, npm, go get).
- Real-time output and log streaming from containers.
- Background mode for long-running services.
- Volume mounting for project execution.
- Resource-limited, clean container cleanup after execution.
Install via the provided curl (Linux/Mac) or PowerShell (Windows) script, which checks for Docker, downloads the binary, and configures Claude Desktop automatically. Alternatively, manually download the binary from the releases page and add it to your PATH. Then use the run_code tool for snippets or run_project for full directory execution.
Code Sandbox MCP 🐳
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.
🌟 Features
- Multi-Language Support: Run Python, Go, and Node.js code in isolated Docker containers
- TypeScript Support: Built-in support for TypeScript and JSX/TSX files
- Dependency Management: Automatic handling of project dependencies (pip, go mod, npm)
- Flexible Execution: Custom entrypoints for both single-file code and full projects
- Background Mode: Run long-running services in the background
- Real-time Output: Capture and stream container logs in real-time
🚀 Installation
Prerequisites
- Docker installed and running
- Install Docker for Linux
- Install Docker Desktop for macOS
- Install Docker Desktop for Windows
Quick Install
Linux, MacOS
curl -fsSL https://raw.githubusercontent.com/Automata-Labs-team/code-sandbox-mcp/main/install.sh | bash
Example output:
Downloading latest release...
Installing to /home/user/.local/share/code-sandbox-mcp/code-sandbox-mcp...
Adding to Claude Desktop configuration...
Added code-sandbox-mcp to /home/user/.config/Claude/claude_desktop_config.json
Installation complete!
You can now use code-sandbox-mcp with Claude Desktop or other AI applications.
Windows
```powershellSign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





