
SandboxAPI
Connects Claude and other MCP clients to SandboxAPI's gVisor-backed code execution environment. Exposes three tools: execute_code for single runs, execute_batch for multiple isolated executions, and list_languages for runtime info. Supports Python, JavaScript, TypeScript, Go, Java, C++, C, and Bash with configurable timeouts and stdin. Every execution runs in an ephemeral container with no network access and strict resource limits. Ships as a hosted endpoint at mcp.sandboxapi.dev requiring only an API key, or self-host via Docker or Go binary. Reach for this when you need AI-assisted code generation with immediate, safe execution feedback across multiple languages without spinning up local runtimes.
- GitHub stars
- 2
- tools
- 3
- transport
- HTTP
- last updated
- Apr 5, 2026
Tools
3 toolsPublic tool metadata for what this MCP can expose to an agent.
execute_codeExecute code in a sandboxed container.
Execute code in a sandboxed container.
No parameter schema in public metadata yet.
execute_batchExecute multiple code snippets. Each runs in its own isolated sandbox.
Execute multiple code snippets. Each runs in its own isolated sandbox.
No parameter schema in public metadata yet.
list_languagesList all supported programming languages with versions and example code. No parameters.
List all supported programming languages with versions and example code. No parameters.
No parameter schema in public metadata yet.
Sponsors
Readme
SandboxAPI MCP Server
Give your AI agent the ability to execute code in 8 programming languages, safely.
SandboxAPI MCP Server connects any MCP-compatible AI client (Claude, Cursor, VS Code, Windsurf, etc.) to secure code execution. Every execution runs inside a gVisor-sandboxed Docker container with no network access, strict resource limits, and ephemeral filesystems.
Quick Start
Option 1: Remote Server (No Setup)
Connect directly to the hosted endpoint. No local installation required.
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"sandboxapi": {
"url": "https://mcp.sandboxapi.dev/mcp",
"headers": {
"Authorization": "Bearer YOUR_API_KEY"
}
}
}
}
VS Code (.vscode/mcp.json):
Details
- Repository
- github.com/sandboxapi/sandboxapi-mcp
- Transport
- HTTP
- Registry
- MCP registry, active