Labsco
MCP SERVER

Code Sandbox MCP

by Automata-Labs-team

Run generated code inside a Docker container you choose, copy files in and out, and throw the container away afterwards.

Sandboxed Code Execution
Summary
The image is yours to pick, so the sandbox matches the code it is running.

Initialisation takes any Docker image and hands back a container id the later calls address, so Python code runs in a Python image and Go code in a Go one without a second server or a rebuilt environment.

What it is

A code execution sandbox backed by Docker. Each session creates a container from an image you name, runs shell commands inside it, and stops it when you are done.

What you get
  • sandbox_initialize — creates a container from a Docker image you choose, and returns the container id every other call takes
  • sandbox_exec — runs shell commands inside that container, with output streamed back as it happens
  • copy_project — copies a whole directory into the sandbox filesystem
  • copy_file and write_file — a single file copied in from your machine, or written directly
  • sandbox_stop — ends the container
Requirements

Docker installed and running. The server is a single binary — the vendor's install script places it on Linux, macOS and Windows, or take it from the releases page.

Setup effort

One command — curl -fsSL https://raw.githubusercontent.com/Automata-Labs-team/code-sandbox-mcp/main/install.sh | bash