MCP.so
登录

Code Sandbox MCP Server

@insecurepla

基本信息

分类

开发工具

许可证

MIT license

传输方式

stdio

作者

insecurepla

关于 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 server that executes code in isolated Docker containers. It provides AI applications with a safe environment for running Python, Go, Node.js, and TypeScript code while maintaining security through containerization.

How to use Code Sandbox MCP?

Install via the provided curl (Linux/Mac) or PowerShell (Windows) script, which checks for Docker, downloads the binary, and configures Claude Desktop automatically. Alternatively, manually download the binary from the releases page and add it to your PATH. Then use the run_code tool for snippets or run_project for full directory execution.

Key features of Code Sandbox MCP

  • Multi-language support: Python, Go, Node.js, TypeScript.
  • Automatic dependency detection and installation (pip, npm, go get).
  • Real-time output and log streaming from containers.
  • Background mode for long-running services.
  • Volume mounting for project execution.
  • Resource-limited, clean container cleanup after execution.

Use cases of Code Sandbox MCP

  • Run untrusted code snippets safely without host system exposure.
  • Execute full project directories with dependency management.
  • Provide a secure code execution backend for AI assistants.
  • Automatically test or debug code across multiple languages.

常见问题

1

What languages are supported?

Python, Go, Node.js (including TypeScript/JSX via built-in Node.js support) are supported.

2

How does dependency management work?

Dependencies are automatically detected from import/require statements and installed via pip, npm, or go get. For projects, files like requirements.txt, go.mod, or package.json are used.

3

What are the prerequisites for using Code Sandbox MCP?

Docker must be installed and running on the host system. The installer verifies Docker availability.

4

How do I configure Code Sandbox MCP for Claude Desktop?

The automated installer adds the configuration to Claude’s config file. Manual configuration paths are provided for Linux (~/.config/Claude/), macOS (~/Library/Application Support/Claude/), and Windows (%APPDATA%\Claude\claude_desktop_config.json).

5

What security measures are in place?

Code runs in isolated Docker containers with resource limits, separate stdout/stderr streams, read-only project file mounts, and automatic container cleanup after execution.

评论

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