Local MCP sandboxes for disposable Linux workspaces. Bocal Bocal gives MCP clients disposable Linux workspaces running locally on your machine. Manage sandboxes with the bocal CLI or connect an MCP
View on GitHub ↗Homepage ↗Bocal gives MCP clients disposable Linux workspaces running locally on your machine. Manage sandboxes with the bocal CLI or connect an MCP client to the local server.
The runtime uses an Alpine Linux AArch64 guest on Unkernel. The verified host platform is Linux x8664 with Node.js 24 or newer.
The image is downloaded separately from the Bocal GitHub release. bocal doctor verifies that the local runtime can boot the guest.
Configure your MCP client to start Bocal over stdio:
The local daemon owns sandbox lifetimes, so a sandbox remains available when an MCP client disconnects. An optional loopback HTTP transport is available with bocal serve --http --port 3000 and BOCALHTTPTOKEN; it requires a bearer token, a loopback Host header and JSON POST bodies. The experimental @bocal/browser-worker package is a browser-side toolkit that boots an Unkernel WebAssembly kernel when an embedding application supplies the kernel factory; it is not published on npm and is not executable through the local daemon.
The operator shell is interactive and local to the host-to-guest terminal channel. MCP tools provide sandbox lifecycle, command, job, and file operations.
Bocal is experimental and single-user. It is not designed as a boundary for hostile workloads or multi-tenant use. On Linux, operators can set hostisolation to "required" to fail closed when the hardened worker namespaces and cgroup controls are unavailable. bocal doctor and sandboxcapabilities report the effective mode. Three optional privileged modes — verified package installation, guest UID 0 execution and a bounded reque
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/benoitpetit--bocal.html)
MCP server for Claude Desktop and other Model Context Protocol clients — sandboxed filesystem access (read/write/edit/search) plus Dev Mode-gated shell command execution, scoped to a single workspace
protonspy/harness-for-reaDesktop app and terminal UI for deep analysis of software you own: an orchestrator plans, a sandboxed Claude Code specialist reverse engineers in Docker, with REA and Cheat Engine over MCP.
minkaworks/mcptocodemodeStop flooding your agent's prompt with MCP tools: MCPtoCodeMode puts every MCP server behind 3 tools and a sandbox, for Codex, Claude Code, Cursor, Grok, OpenCode, Pi, or any MCP client.
AlexanderKaan/uisandboxRestyle your app without rebuilding it. Your built web app, 1:1, with its own knobs. MIT.
100yenadmin/boardstateYour dashboard is data. Any AI can build it; any human can edit it. A protocol + runtime for agent-composable dashboards — layout-as-data, one guarded control plane, sandboxed agent-authored widgets,
fengyincheng/ShellBridgeGive ChatGPT fast, safe, and auditable visibility into your VPS through MCP.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.