Basic information

Runtime
go
Version
0.1.0
Category
License
MIT
Transports
stdio
Author
pottekkat
Submitted by
Community
Quality
55
Stars
118

About Sandbox Mcp Server

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

Sandbox Mcp is a MCP server in the Reasoning category listed in the AddMCP.net directory, published by pottekkat. Supported transport: stdio. Runtime: go. License: MIT. The repository has 118 GitHub stars. Source code is hosted on github.com. Related topics: docker, go, golang, mcp, mcp-server.

Setup

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

Sandbox Mcp config

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

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

Sandbox Mcp tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

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

Frequently asked questions

1 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.

2 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.

3 Do I need Docker to use Sandbox Mcp?

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

4 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.

5 What license does Sandbox Mcp use?

It is open-source under the MIT License.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬