Home / AI & media / LLM Sandbox

LLM Sandbox

io.github.vndee/llm-sandbox · v0.3.43 stdio

Score 89. Maintenance 39 of 40, security 35 of 35, adoption 15 of 25.

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

Description supplied by the publisher in the MCP Registry. We have not tested this server.

Ranks #16 of 527 AI & media servers on Socketlist by score, with 1,144 GitHub stars and a last code push 24d ago.

Install

uvx --from 'llm-sandbox[mcp-docker]'

Assembled from the package metadata in the official MCP Registry (including any subcommand or flag the publisher lists). Some publishers do not list the subcommand that starts MCP mode, so confirm the command in the README, along with any required configuration and credentials, before connecting it to real data.

Connect LLM Sandbox to Claude Code, Cursor or VS Code

Built from what the publisher declared in the official MCP Registry (the launch command above). We have not run this server. Replace anything in <angle brackets>, and keep keys and tokens in your environment, not in a shared file.

Claude Code

Run in a terminal. Adds the server at local scope; add --scope project or --scope user to share it. Claude Code setup guide.

claude mcp add --transport stdio llm-sandbox -- uvx --from 'llm-sandbox[mcp-docker]'

.mcp.json (Claude Code project scope, VS Code with Copilot)

Put this in a .mcp.json file at the project root. VS Code and .mcp.json guide.

{
  "mcpServers": {
    "llm-sandbox": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "--from",
        "llm-sandbox[mcp-docker]"
      ]
    }
  }
}

Cursor

Put this in .cursor/mcp.json in the project, or ~/.cursor/mcp.json for every project. Cursor mcp.json guide.

{
  "mcpServers": {
    "llm-sandbox": {
      "command": "uvx",
      "args": [
        "--from",
        "llm-sandbox[mcp-docker]"
      ]
    }
  }
}

Configuration the publisher declares

Environment variableRequiredSecretPublisher's note
BACKENDNoNoContainer backend to use. Must match the installed extra: mcp-docker, mcp-podman, or mcp-k8s.
DOCKER_HOSTNoNoDocker or Podman socket URL, e.g. unix:///var/run/docker.sock
KUBECONFIGNoNoPath to kubeconfig file when BACKEND=kubernetes.
NAMESPACENoNoKubernetes namespace used for sandbox pods when BACKEND=kubernetes.
COMMIT_CONTAINERNoNoCommit the container after a run so installed libraries persist between sessions.
KEEP_TEMPLATENoNoKeep the base image after the session ends to avoid re-pulling it on the next run.
SANDBOX_NETWORK_MODENoNoNetwork mode for the sandbox container. Set to 'none' for hardened isolation. Docker and Podman backends only.
SANDBOX_READ_ONLYNoNoMount the sandbox root filesystem read-only. Recommended: true. Docker and Podman backends only.
SANDBOX_CAP_DROPNoNoComma-separated Linux capabilities to drop. Recommended: ALL. Docker and Podman backends only.
SANDBOX_SECURITY_OPTNoNoComma-separated container security options, e.g. no-new-privileges. Docker and Podman backends only.
SANDBOX_MEMORYNoNoMemory limit for the sandbox container, e.g. 4g. Docker and Podman backends only.
SANDBOX_CPUSNoNoFractional CPU allocation for the sandbox container, e.g. 1.5. Docker and Podman backends only.

"Required" and "secret" are the publisher's own flags in the registry, and many publishers leave them unset, so check the README too.

Allowlist entry

If your organisation restricts MCP servers, this is the entry an admin adds to allowedMcpServers in Claude Code managed settings or a GitHub Copilot enterprise managed-settings.json. A serverCommand entry must match the configured command and arguments exactly, so change both together.

{
  "allowedMcpServers": [
    {
      "serverCommand": [
        "uvx",
        "--from",
        "llm-sandbox[mcp-docker]"
      ]
    }
  ]
}

How allowlists work in each client: MCP server allowlists for Claude Code, GitHub Copilot and Cursor. Before you connect it to real data: 10 security checks for MCP servers.

Score breakdown

PartPointsWhat we observedResult
Maintenance39/40Last push 24d ago, 19 open issuesStrong
Security hygiene35/35Licence MIT, SECURITY.md present, published package or hosted endpointStrong
Adoption15/251,144 GitHub starsFair

Result: Strong is 80% or more of the part's points, Fair 50% or more. Automated signals, not a security audit. How we score.

Maintain this server? Claim or correct this listing, or get featured in AI & media. Paid placements are labelled and never change the score.

Five scored MCP servers, every Monday

The Plug Weekly is a free email picked from these scores, with a short Best of MCP servers PDF when you join. About a 3-minute read. Unsubscribe any time.

Get The Plug Weekly
GitHub stars1,144
npm weekly downloads-
Last push24d ago
LicenceMIT
Open issues19
SECURITY.mdYes
LanguagePython
Latest version published2026-08-03

Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.

Similar servers

Compare all alternatives

Plant Genomics

Score 80. Maintenance 40 of 40, security 35 of 35, adoption 5 of 25.

io.github.musharna/plant-genomics-mcp

Plant genomics MCP — 58 tools across 24 backends with cross-source synthesis.

★ 8MITpushed 19d ago AI & media

ai-context-kit

Score 75. Maintenance 40 of 40, security 25 of 35, adoption 10 of 25.

io.github.ofershap/ai-context-kit

Lint, measure, and sync AI context files across Cursor, Claude Code, Copilot.

★ 9↓ 80/wkMITpushed 19d ago AI & media