Install
Add to ~/Library/Application Support/Claude/claude_desktop_config.json
Windows / Linux path
%APPDATA%\Claude\claude_desktop_config.json~/.config/Claude/claude_desktop_config.json{
"mcpServers": {
"io-github-vndee-llm-sandbox": {
"command": "uvx",
"args": [
"llm-sandbox"
],
"env": {
"BACKEND": "docker",
"DOCKER_HOST": "<VALUE>",
"KUBECONFIG": "<VALUE>",
"NAMESPACE": "default",
"COMMIT_CONTAINER": "true",
"KEEP_TEMPLATE": "true",
"SANDBOX_NETWORK_MODE": "<VALUE>",
"SANDBOX_READ_ONLY": "<VALUE>",
"SANDBOX_CAP_DROP": "<VALUE>",
"SANDBOX_SECURITY_OPT": "<VALUE>",
"SANDBOX_MEMORY": "<VALUE>",
"SANDBOX_CPUS": "<VALUE>",
"SANDBOX_CPU_COUNT": "<VALUE>",
"SANDBOX_MEM_LIMIT": "<VALUE>",
"SANDBOX_PRIVILEGED": "<VALUE>"
}
}
}
}
Restart Claude Desktop to activate the new server.
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
Windows / Linux path
.cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global).cursor/mcp.json (project) or ~/.cursor/mcp.json (global){
"mcpServers": {
"io-github-vndee-llm-sandbox": {
"command": "uvx",
"args": [
"llm-sandbox"
],
"env": {
"BACKEND": "docker",
"DOCKER_HOST": "<VALUE>",
"KUBECONFIG": "<VALUE>",
"NAMESPACE": "default",
"COMMIT_CONTAINER": "true",
"KEEP_TEMPLATE": "true",
"SANDBOX_NETWORK_MODE": "<VALUE>",
"SANDBOX_READ_ONLY": "<VALUE>",
"SANDBOX_CAP_DROP": "<VALUE>",
"SANDBOX_SECURITY_OPT": "<VALUE>",
"SANDBOX_MEMORY": "<VALUE>",
"SANDBOX_CPUS": "<VALUE>",
"SANDBOX_CPU_COUNT": "<VALUE>",
"SANDBOX_MEM_LIMIT": "<VALUE>",
"SANDBOX_PRIVILEGED": "<VALUE>"
}
}
}
}
Cursor usually picks up config changes automatically; if the server does not appear, reload the window.
Add to .mcp.json (project) or ~/.claude.json (global)
Windows / Linux path
.mcp.json (project) or %USERPROFILE%\.claude.json (global).mcp.json (project) or ~/.claude.json (global){
"mcpServers": {
"io-github-vndee-llm-sandbox": {
"command": "uvx",
"args": [
"llm-sandbox"
],
"env": {
"BACKEND": "docker",
"DOCKER_HOST": "<VALUE>",
"KUBECONFIG": "<VALUE>",
"NAMESPACE": "default",
"COMMIT_CONTAINER": "true",
"KEEP_TEMPLATE": "true",
"SANDBOX_NETWORK_MODE": "<VALUE>",
"SANDBOX_READ_ONLY": "<VALUE>",
"SANDBOX_CAP_DROP": "<VALUE>",
"SANDBOX_SECURITY_OPT": "<VALUE>",
"SANDBOX_MEMORY": "<VALUE>",
"SANDBOX_CPUS": "<VALUE>",
"SANDBOX_CPU_COUNT": "<VALUE>",
"SANDBOX_MEM_LIMIT": "<VALUE>",
"SANDBOX_PRIVILEGED": "<VALUE>"
}
}
}
}
The server will be available in the next Claude Code session.
Add to .vscode/mcp.json
Windows / Linux path
.vscode\mcp.json.vscode/mcp.json{
"servers": {
"io-github-vndee-llm-sandbox": {
"command": "uvx",
"args": [
"llm-sandbox"
],
"env": {
"BACKEND": "docker",
"DOCKER_HOST": "<VALUE>",
"KUBECONFIG": "<VALUE>",
"NAMESPACE": "default",
"COMMIT_CONTAINER": "true",
"KEEP_TEMPLATE": "true",
"SANDBOX_NETWORK_MODE": "<VALUE>",
"SANDBOX_READ_ONLY": "<VALUE>",
"SANDBOX_CAP_DROP": "<VALUE>",
"SANDBOX_SECURITY_OPT": "<VALUE>",
"SANDBOX_MEMORY": "<VALUE>",
"SANDBOX_CPUS": "<VALUE>",
"SANDBOX_CPU_COUNT": "<VALUE>",
"SANDBOX_MEM_LIMIT": "<VALUE>",
"SANDBOX_PRIVILEGED": "<VALUE>"
}
}
}
}
Reload the VS Code window to activate.
Add to ~/.codeium/windsurf/mcp_config.json
Windows / Linux path
%USERPROFILE%\.codeium\windsurf\mcp_config.json~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"io-github-vndee-llm-sandbox": {
"command": "uvx",
"args": [
"llm-sandbox"
],
"env": {
"BACKEND": "docker",
"DOCKER_HOST": "<VALUE>",
"KUBECONFIG": "<VALUE>",
"NAMESPACE": "default",
"COMMIT_CONTAINER": "true",
"KEEP_TEMPLATE": "true",
"SANDBOX_NETWORK_MODE": "<VALUE>",
"SANDBOX_READ_ONLY": "<VALUE>",
"SANDBOX_CAP_DROP": "<VALUE>",
"SANDBOX_SECURITY_OPT": "<VALUE>",
"SANDBOX_MEMORY": "<VALUE>",
"SANDBOX_CPUS": "<VALUE>",
"SANDBOX_CPU_COUNT": "<VALUE>",
"SANDBOX_MEM_LIMIT": "<VALUE>",
"SANDBOX_PRIVILEGED": "<VALUE>"
}
}
}
}
Restart Windsurf (or refresh its MCP servers panel) to activate the new server.
Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.
Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
Windows / Linux path
%APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json{
"mcpServers": {
"io-github-vndee-llm-sandbox": {
"command": "uvx",
"args": [
"llm-sandbox"
],
"env": {
"BACKEND": "docker",
"DOCKER_HOST": "<VALUE>",
"KUBECONFIG": "<VALUE>",
"NAMESPACE": "default",
"COMMIT_CONTAINER": "true",
"KEEP_TEMPLATE": "true",
"SANDBOX_NETWORK_MODE": "<VALUE>",
"SANDBOX_READ_ONLY": "<VALUE>",
"SANDBOX_CAP_DROP": "<VALUE>",
"SANDBOX_SECURITY_OPT": "<VALUE>",
"SANDBOX_MEMORY": "<VALUE>",
"SANDBOX_CPUS": "<VALUE>",
"SANDBOX_CPU_COUNT": "<VALUE>",
"SANDBOX_MEM_LIMIT": "<VALUE>",
"SANDBOX_PRIVILEGED": "<VALUE>"
}
}
}
}
Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.
Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.
Configuration
Environment variables this server reads. Secrets stay on your machine.
| Name | Required | Description |
|---|---|---|
| BACKEND | No | The container backend to use for the sandbox. One of 'docker' (default), 'podman', or 'kubernetes'. Default: docker |
| DOCKER_HOST | No | The host to use for the Docker/Podman backend, e.g. 'unix:///var/run/docker.sock' or 'unix:///var/run/podman/podman.sock'. Required if not automatically available in your system. |
| KUBECONFIG | No | The path to your kubeconfig file. Required when using the Kubernetes backend. |
| NAMESPACE | No | Kubernetes namespace used for sandbox pods when BACKEND=kubernetes. Default: default |
| COMMIT_CONTAINER | No | Commit the container after a run so installed libraries persist between sessions. Default: true |
| KEEP_TEMPLATE | No | Keep the base image after the session ends to avoid re-pulling it on the next run. Default: true |
| SANDBOX_NETWORK_MODE | No | Runtime config for the sandbox network mode (Docker, Podman, and Micromamba backends only). e.g. 'none' to disable egress. |
| SANDBOX_READ_ONLY | No | Runtime config to mount the sandbox container as read-only, e.g. 'true'. |
| SANDBOX_CAP_DROP | No | Linux capabilities to drop for the sandbox container, e.g. 'ALL'. |
| SANDBOX_SECURITY_OPT | No | Security options for the sandbox container, e.g. 'no-new-privileges:true'. |
| SANDBOX_MEMORY | No | Memory limit for the sandbox, normalized to the backend-safe 'mem_limit' runtime config, e.g. '4g'. |
| SANDBOX_CPUS | No | CPU limit for the sandbox, normalized to Linux-compatible CPU quota settings. |
| SANDBOX_CPU_COUNT | No | Number of CPUs for the sandbox, normalized to Linux-compatible CPU quota settings, e.g. '1'. |
| SANDBOX_MEM_LIMIT | No | Memory limit for the sandbox runtime config, e.g. '512m'. |
| SANDBOX_PRIVILEGED | No | Whether to run the sandbox container in privileged mode, e.g. 'true'. Avoid unless explicitly needed. |