CO

code-sandbox-mcp

Created 6 months ago

A secure sandbox environment for executing code within Docker containers.

development location documentation public docker AI

What is code-sandbox-mcp?

An MCP server to create secure code sandbox environment for executing code within Docker containers.

Documentation

Code Sandbox MCP

Features

  • Flexible Container Management
  • Custom Environment Support
  • File Operations
  • Command Execution
  • Real-time Logging
  • Auto-Updates
  • Multi-Platform

Installation# Prerequisites

  • Docker installed and running

Quick Install## Linux, MacOS

curl -fsSL https://raw.githubusercontent.com/Automata-Labs-team/code-sandbox-mcp/main/install.sh | bash
```\n\n#### Windows
```powershell
irm https://raw.githubusercontent.com/Automata-Labs-team/code-sandbox-mcp/main/install.ps1 | iex

Available Tools

  • sandbox_initialize
  • copy_project
  • write_file
  • sandbox_exec
  • copy_file
  • sandbox_stop

Security Features

  • Isolated execution environment using Docker containers
  • Resource limitations through Docker container constraints
  • Separate stdout and stderr streams

Configuration# Claude Desktop\n\n#### Linux

// ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "code-sandbox-mcp": {
      "command": "/path/to/code-sandbox-mcp",
      "args": [],
      "env": {}
    }
  }
}
```\n\n#### macOS
```json
// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "code-sandbox-mcp": {
      "command": "/path/to/code-sandbox-mcp",
      "args": [],
      "env": {}
    }
  }
}
```\n\n#### Windows
```json
// %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "code-sandbox-mcp": {
      "command": "C:\path\to\code-sandbox-mcp.exe",
      "args": [],
      "env": {}
    }
  }
}

License

This project is licensed under the MIT License.

Server Config

{
  "mcpServers": {
    "code-sandbox-mcp-server": {
      "command": "npx",
      "args": [
        "code-sandbox-mcp"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: Yes

Project Info

Hosted Featured
Created At: May 23, 2025
Updated At: Aug 07, 2025
Author: Automata Labs Team
Category: community
License: MIT License
Tags:
development location documentation