MCP.so
登录

Code Sandbox MCP Server

@Automata-Labs-team

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

Automata-Labs-team

关于 Code Sandbox MCP Server

An MCP server to create secure code sandbox environment for executing code within Docker containers. This MCP server provides AI applications with a safe and isolated environment for running code while maintaining security through containerization.

Code Sandbox MCP Server 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

Code Sandbox MCP Server 工具

工具列表暂未提供

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

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

概览

What is Code Sandbox MCP 🐳?

Code Sandbox MCP 🐳 is a secure sandbox environment for executing code within Docker containers. It provides AI applications with a safe, isolated runtime for running code, leveraging containerization to maintain security.

How to use Code Sandbox MCP 🐳?

Install via the quick install script (Linux/macOS: curl -fsSL https://raw.githubusercontent.com/Automata-Labs-team/code-sandbox-mcp/main/install.sh | bash; Windows: irm ... | iex), or download the binary manually. Then configure your MCP‑compatible AI application (e.g., Claude Desktop) to point to the code-sandbox-mcp executable. Use tools like sandbox_initialize, sandbox_exec, copy_project, write_file, copy_file, and sandbox_stop to manage containers and execute code.

Key features of Code Sandbox MCP 🐳

  • Flexible container creation and management
  • Custom Docker image support as execution environment
  • File and directory transfer between host and containers
  • Shell command execution within containerized environments
  • Real‑time streaming of container logs and output
  • Built‑in update checking and automatic binary updates
  • Multi‑platform support for Linux, macOS, and Windows

Use cases of Code Sandbox MCP 🐳

  • Providing AI coding assistants with a safe environment to run generated code
  • Executing user‑submitted code in a sandboxed, temporary container
  • Running shell commands without risking the host system
  • Testing software builds and scripts in isolated Docker containers

常见问题

1

What prerequisites are needed to run Code Sandbox MCP 🐳?

Docker must be installed and running on your system. The server works on Linux, macOS, and Windows.

2

How do I install Code Sandbox MCP 🐳?

Use the quick‑install script for your platform, or download the latest release binary from the GitHub releases page and place it in your PATH.

3

How do I configure Code Sandbox MCP 🐳 with Claude Desktop?

The installer automatically creates the configuration file. For manual setup, add an entry in your Claude Desktop config file (e.g., `~/.config/Claude/claude_desktop_config.json` on Linux) with the path to the `code-sandbox-mcp` binary.

4

What tools are available in Code Sandbox MCP 🐳?

The server provides tools to initialize a container (`sandbox_initialize`), copy files/directories (`copy_project`, `copy_file`, `write_file`), execute commands (`sandbox_exec`), stop and remove a container (`sandbox_stop`), and a resource to retrieve container logs (`containers://{id}/logs`).

5

How does Code Sandbox MCP 🐳 ensure security?

It uses Docker containers for isolated execution, applies resource limitations through Docker constraints, and separates stdout and stderr streams.

评论

开发工具 分类下的更多 MCP 服务器