MCP.so
Sign In

Sandbox Mcp

@pottekkat

About Sandbox Mcp

A Model Context Protocol (MCP) server that enables LLMs to run ANY code safely in isolated Docker containers.

Basic information

Category

Reasoning

License

MIT

Runtime

go

Transports

stdio

Publisher

pottekkat

Config

Add this server to your MCP-compatible client using the configuration below.

{
  "mcpServers": {
    "sandbox-mcp": {
      "command": "path/to/sandbox-mcp",
      "args": [
        "--stdio"
      ]
    }
  }
}

Tools

No tools detected

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is Sandbox Mcp?

Sandbox Mcp is a Model Context Protocol (MCP) server that enables LLMs to run code in secure, isolated Docker containers. It gives LLMs an easy-to-use execution environment that anyone can create and configure through a simple, AI-native MCP server running locally.

How to use Sandbox Mcp?

Download the appropriate binary for your OS from the Releases page, or install via Go (go install github.com/pottekkat/sandbox-mcp/cmd/sandbox-mcp@latest). Initialize with sandbox-mcp --pull and sandbox-mcp --build (Docker must be installed and running). Then configure your MCP host (e.g., Claude Desktop or Cursor IDE) to use the binary with the --stdio argument.

Key features of Sandbox Mcp

  • Runs code in secure, isolated Docker containers
  • Supports multiple languages: Python, Rust, Go, JavaScript, Java, and more
  • Includes a shell sandbox for Linux commands
  • Provides a network-tools sandbox for diagnostics
  • Allows creation of custom sandboxes (Dockerfile + JSON config)
  • Pulls and builds default sandboxes automatically

Use cases of Sandbox Mcp

  • Secure code execution without exposing your system
  • Automatic code testing and validation in various environments
  • Safely execute and check user-submitted code
  • Diagnose connectivity issues with isolated network tools
  • Run educational or interview coding snippets safely

FAQ from Sandbox Mcp

How do I install Sandbox Mcp?

You can download a pre-built binary from the Releases page or install via Go with go install github.com/pottekkat/sandbox-mcp/cmd/sandbox-mcp@latest.

What sandboxes are available?

Default sandboxes include shell, python, rust, network-tools, go, javascript, apisix, and java. Each provides an isolated Docker environment for its runtime.

Do I need Docker to use Sandbox Mcp?

Yes, Docker must be installed and running for Sandbox Mcp to execute code.

Can I create my own custom sandboxes?

Yes. You can add your own sandboxes in the configuration directory ($XDG_CONFIG_HOME/sandbox-mcp/sandboxes). A sandbox is a Dockerfile and a JSON configuration file.

What license does Sandbox Mcp use?

It is open-source under the MIT License.

Comments

More Reasoning MCP servers