This MCP implementation, developed by Automata Labs, provides a sandboxed code execution environment for AI agents. Built with Go and leveraging Docker, it offers secure code running capabilities across multiple languages. The implementation focuses on safety and isolation, with features like resource limits and network restrictions. It integrates seamlessly with Claude Desktop and other AI applications through a standardized interface. Particularly useful for developers and researchers working on AI-assisted coding tasks, it enables use cases such as code generation, debugging, and automated testing without exposing the underlying system to potential security risks.
Initialize 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. Default: 'python:3.12-slim-bookworm'. Returns: container_id that can be used with other tools to interact with this environment.
Copy a directory to the sandboxed filesystem. Parameters: container_id (string, required): ID of the container returned from the initialize call, local_src_dir (string, required): Path to a directory in the local file system, dest_dir (string, optional): Path to save the src directory in the sandbox environment.
Write a file to the sandboxed filesystem. Parameters: container_id (string, required): ID of the container returned from the initialize call, file_name (string, required): Name of the file to create, file_contents (string, required): Contents to write to the file, dest_dir (string, optional): Directory to create the file in (Default: ${WORKDIR}).
Execute commands in the sandboxed environment. Parameters: container_id (string, required): ID of the container returned from the initialize call, commands (array, required): List of command(s) to run in the sandboxed environment. Example: ["apt-get update", "pip install numpy", "python script.py"].
Copy a single file to the sandboxed filesystem. Parameters: container_id (string, required): ID of the container returned from the initialize call, local_src_file (string, required): Path to a file in the local file system, dest_path (string, optional): Path to save the file in the sandbox environment.
Stop and remove a running container sandbox. Parameters: container_id (string, required): ID of the container to stop and remove. Description: Gracefully stops the specified container with a 10-second timeout and removes it along with its volumes.
No reviews yet. Be the first to review!
Sign in to join the conversation
Our bundler currently only supports TypeScript-based servers. Check back soon!