Code Sandbox MCP 🐳
A secure 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.
Potencialize seu agente
Instalação do publicador. Não é um endpoint do PlugMCP.
Host a copy with our keys and logs.
Ainda não há uma versão empacotada no registro. Siga o README do repositório.
URL remota ou um comando na sua máquina? Como as duas instalações diferem
Rodar no PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
AbrirDo publicador
A secure 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.
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.
curl -fsSL https://raw.githubusercontent.com/Automata-Labs-team/code-sandbox-mcp/main/install.sh | bash
# Run in PowerShell
irm https://raw.githubusercontent.com/Automata-Labs-team/code-sandbox-mcp/main/install.ps1 | iex
The installer will:
chmod +x code-sandbox-mcp
sandbox_initializeInitialize a new compute environment for code execution. Creates a container based on the specified Docker image.
Parameters:
image (string, optional): Docker image to use as the base environment
Returns:
container_id that can be used with other tools to interact with this environmentcopy_projectCopy a directory to the sandboxed filesystem.
Parameters:
container_id (string, required): ID of the container returned from the initialize calllocal_src_dir (string, required): Path to a directory in the local file systemdest_dir (string, optional): Path to save the src directory in the sandbox environmentwrite_fileWrite a file to the sandboxed filesystem.
Parameters:
container_id (string, required): ID of the container returned from the initialize callfile_name (string, required): Name of the file to createfile_contents (string, required): Contents to write to the filedest_dir (string, optional): Directory to create the file in (Default: ${WORKDIR})sandbox_execExecute commands in the sandboxed environment.
Parameters:
container_id (string, required): ID of the container returned from the initialize callcommands (array, required): List of command(s) to run in the sandboxed environment
copy_fileCopy a single file to the sandboxed filesystem.
Parameters:
container_id (string, required): ID of the container returned from the initialize calllocal_src_file (string, required): Path to a file in the local file systemdest_path (string, optional): Path to save the file in the sandbox environmentsandbox_stopStop and remove a running container sandbox.
Parameters:
container_id (string, required): ID of the container to stop and removeDescription: Gracefully stops the specified container with a 10-second timeout and removes it along with its volumes.
A dynamic resource that provides access to container logs.
Resource Path: containers://{id}/logs
MIME Type: text/plain
Description: Returns all container logs from the specified container as a single text resource.
The installer automatically creates the configuration file. If you need to manually configure it:
// ~/.config/Claude/claude_desktop_config.json
{
"mcpServers": {
"code-sandbox-mcp": {
"command": "/path/to/code-sandbox-mcp",
"args": [],
"env": {}
}
}
}
// ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"code-sandbox-mcp": {
"command": "/path/to/code-sandbox-mcp",
"args": [],
"env": {}
}
}
}
// %APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"code-sandbox-mcp": {
"command": "C:\\path\\to\\code-sandbox-mcp.exe",
"args": [],
"env": {}
}
}
}
For other AI applications that support MCP servers, configure them to use the code-sandbox-mcp binary as their code execution backend.
If you want to build the project locally or contribute to its development, see DEVELOPMENT.md.
This project is licensed under the MIT License - see the LICENSE file for details.
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 whil
Visão geral
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.
Ferramentas
Ainda não há lista de ferramentas. Servidores remotos recebem uma após a primeira verificação de saúde.
Perguntas frequentes
Copie nesta página a configuração stdio para Cursor, Claude Desktop, Claude Code ou VS Code. Ela usa a instalação do publicador, não um proxy do PlugMCP.
Este registro não lista nenhuma variável de ambiente obrigatória.
Code Sandbox roda localmente via stdio.
Última verificação: 2026-10-27. 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.