Description
Cloudflare Container Sandbox MCP Server provides a secure, sandboxed environment for running arbitrary code through a standardized interface. Built on Cloudflare Workers with Durable Objects, it enables AI assistants to execute Python, Node.js, and shell commands in ephemeral containers while managing files through dedicated tools. The server implements Cloudflare OAuth for authentication and includes container lifecycle management to ensure resources are properly allocated and cleaned up. Particularly valuable for developers who need to test code, run visualizations, explore GitHub repositories, or analyze data directly from AI assistants without compromising security.
Installation
git clone https://github.com/cloudflare/mcp-server-cloudflare/tree/HEAD/apps/sandbox-container 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": {
"sandbox-container": {
"command": "node",
"args": [
"path/to/server.js"
]
}
}
}