Home / AI & media / LLM Sandbox
LLM Sandbox
io.github.vndee/llm-sandbox · v0.3.43 stdio
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 variable | Required | Secret | Publisher's note |
|---|---|---|---|
BACKEND | No | No | Container backend to use. Must match the installed extra: mcp-docker, mcp-podman, or mcp-k8s. |
DOCKER_HOST | No | No | Docker or Podman socket URL, e.g. unix:///var/run/docker.sock |
KUBECONFIG | No | No | Path to kubeconfig file when BACKEND=kubernetes. |
NAMESPACE | No | No | Kubernetes namespace used for sandbox pods when BACKEND=kubernetes. |
COMMIT_CONTAINER | No | No | Commit the container after a run so installed libraries persist between sessions. |
KEEP_TEMPLATE | No | No | Keep the base image after the session ends to avoid re-pulling it on the next run. |
SANDBOX_NETWORK_MODE | No | No | Network mode for the sandbox container. Set to 'none' for hardened isolation. Docker and Podman backends only. |
SANDBOX_READ_ONLY | No | No | Mount the sandbox root filesystem read-only. Recommended: true. Docker and Podman backends only. |
SANDBOX_CAP_DROP | No | No | Comma-separated Linux capabilities to drop. Recommended: ALL. Docker and Podman backends only. |
SANDBOX_SECURITY_OPT | No | No | Comma-separated container security options, e.g. no-new-privileges. Docker and Podman backends only. |
SANDBOX_MEMORY | No | No | Memory limit for the sandbox container, e.g. 4g. Docker and Podman backends only. |
SANDBOX_CPUS | No | No | Fractional 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
| Part | Points | What we observed | Result |
|---|---|---|---|
| Maintenance | 39/40 | Last push 24d ago, 19 open issues | Strong |
| Security hygiene | 35/35 | Licence MIT, SECURITY.md present, published package or hosted endpoint | Strong |
| Adoption | 15/25 | 1,144 GitHub stars | Fair |
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.
| GitHub stars | 1,144 |
| npm weekly downloads | - |
| Last push | 24d ago |
| Licence | MIT |
| Open issues | 19 |
| SECURITY.md | Yes |
| Language | Python |
| Latest version published | 2026-08-03 |
Signals captured from GitHub, npm and the official MCP Registry on November 11, 2026. See the scoring method.
Similar servers
Compare all alternativesPlant 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.
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.