MCP.so
登录

Sandbox Mcp

@pottekkat

关于 Sandbox Mcp

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

基本信息

分类

推理

许可证

MIT

运行时

go

传输方式

stdio

发布者

pottekkat

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

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

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

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.

评论

推理 分类下的更多 MCP 服务器