MCP.so
登录

Sandbox MCP Server

@pottekkat

基本信息

分类

推理

许可证

MIT

传输方式

stdio

作者

pottekkat

关于 Sandbox MCP Server

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

Sandbox MCP Server 配置

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

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

Sandbox MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

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.

评论

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