container_id
that can be used with other tools to interact with this environment
How to use it
container_id is exposed by the Code Sandbox MCP MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the container_id tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL CODE SANDBOX MCP LISTINGOther tools in Code Sandbox MCP (14)
(array, required): List of command(s) to run in the sandboxed environment
Copy a single file to the sandboxed filesystem.
Copy a directory to the sandboxed filesystem.
(string, optional): Path to save the src directory in the sandbox environment
(string, optional): Path to save the file in the sandbox environment
(string, required): Contents to write to the file
(string, required): Name of the file to create
(string, optional): Docker image to use as the base environment
(string, required): Path to a directory in the local file system
(string, required): Path to a file in the local file system
Execute commands in the sandboxed environment.
Initialize a new compute environment for code execution.
Stop and remove a running container sandbox.
Write a file to the sandboxed filesystem.