by pottekkat
A Model Context Protocol (MCP) server that enables LLMs to run ANY code safely in isolated Docker containers.
# Add to your Claude Code skills
git clone https://github.com/pottekkat/sandbox-mcp
Sandbox MCP is a Model Context Protocol (MCP) server that enables LLMs (MCP hosts/clients) to run code in secure, isolated Docker containers.
While LLMs are really good at generating code, most can't run the code they generate. You end up running this untested code directly on your machine, which could have drastic unintended consequences.
Giving LLMs the tools to test the code safely prevents such issues and helps you generate more accurate code in fewer iterations.
Sandbox MCP gives the LLMs an easy-to-use execution environment that anyone can create and configure through a simple, AI-native MCP server that runs locally.
Inspired by Codapi. Some sandboxes are the same as Codapi sandboxes.
Sandbox MCP can be used for many different tasks, including but not limited to:
No comments yet. Be the first to share your thoughts!
This demo shows how Sandbox MCP works with Claude Desktop.

Try the video if the GIF isn't clear.
You can download the appropriate binary for your operating system (for example, Darwin) and processor architecture (arm64) from the Releases page (sandbox-mcp_Darwin_arm64.tar.gz).
Prerequisites:
go install github.com/pottekkat/sandbox-mcp/cmd/sandbox-mcp@latest
Get the path to the sandbox-mcp binary: