CuratedMCP
Claude Code
PyPI

How to install LLM Sandbox in Claude Code

Securely run LLM-generated code in isolated containers across 7 languages and 3 container backends.

Indexed, not yet reviewed

We found LLM Sandbox in the official MCP registry. Our automated check passed on Nov 1, 2026 (it confirms the server is published and reachable), but no one at CuratedMCP has reviewed its code, permissions or credentials handling. Check what it can access before you give it keys. Scan your machine free to see every MCP server you have installed.

Steps

  1. 1Install uv (for uvx): https://docs.astral.sh/uv/
  2. 2Run the command below in your project folder
  3. 3Start Claude Code and run /mcp to confirm it's connected

Command

Run in your terminal
claude mcp add llm-sandbox -- uvx llm-sandbox

Add --scope user to make it available in every project.

Environment variableRequiredWhat it is
BACKENDNoContainer backend to use. Must match the installed extra: mcp-docker, mcp-podman, or mcp-k8s.
DOCKER_HOSTNoDocker or Podman socket URL, e.g. unix:///var/run/docker.sock
KUBECONFIGNoPath to kubeconfig file when BACKEND=kubernetes.
NAMESPACENoKubernetes namespace used for sandbox pods when BACKEND=kubernetes.
COMMIT_CONTAINERNoCommit the container after a run so installed libraries persist between sessions.
KEEP_TEMPLATENoKeep the base image after the session ends to avoid re-pulling it on the next run.
SANDBOX_NETWORK_MODENoNetwork mode for the sandbox container. Set to 'none' for hardened isolation. Docker and Podman backends only.
SANDBOX_READ_ONLYNoMount the sandbox root filesystem read-only. Recommended: true. Docker and Podman backends only.
SANDBOX_CAP_DROPNoComma-separated Linux capabilities to drop. Recommended: ALL. Docker and Podman backends only.
SANDBOX_SECURITY_OPTNoComma-separated container security options, e.g. no-new-privileges. Docker and Podman backends only.
SANDBOX_MEMORYNoMemory limit for the sandbox container, e.g. 4g. Docker and Podman backends only.
SANDBOX_CPUSNoFractional CPU allocation for the sandbox container, e.g. 1.5. Docker and Podman backends only.

Install in other clients

About LLM Sandbox: repo, license and check results →

Maintain LLM Sandbox?

Claim this page to get a full CuratedMCP listing: edit your description, see listing analytics, and add our README badge. Listing is free, and a person checks every submission before it goes live. We'll pre-fill the form from the registry.

    How to install LLM Sandbox MCP server in Claude Code | CuratedMCP