Description
Gru-sandbox (gbox) is an open-source, self-hostable sandbox for MCP integration that provides secure local command execution for AI agents. Built by BabelCloud, it creates isolated Docker containers (boxes) for running Python, TypeScript, and Bash code, with a clean API for creating, managing, and executing commands in these sandboxes. The system supports both Docker and Kubernetes environments, features automatic resource reclamation, and includes a command-line interface for easy management, making it ideal for developers integrating AI tools with local execution capabilities while maintaining security boundaries.
Installation
git clone https://github.com/babelcloud/gbox Claude Desktop Configuration
Add this configuration to your Claude Desktop config file to enable this MCP server:
Config file location: ~/Library/Application Support/Claude/claude_desktop_config.json
Config file location: %APPDATA%\Claude\claude_desktop_config.json
Config file location: ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"gru-sandbox": {
"command": "node",
"args": [
"path/to/server.js"
]
}
}
}