A side-by-side look at the E2b Sandbox MCP and Sandbox as a Service MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.
Verdict: choose E2b Sandbox MCP for code execution work as a local process; choose Sandbox as a Service for code execution over a hosted endpoint. You can also run both side by side in one mcpServers block.
E2B_API_KEY, GITHUB_TOKEN.sandbox_create, sandbox_list, sandbox_info.AAS_API_KEY, AAS_BASE_URL.Rows where the two servers differ are marked.
| Spec | ||
|---|---|---|
| Category | Code Execution | Code Execution |
| Quality signal | 56/100 · Good | 37/100 · Fair |
| Install command | Confirmed | Confirmed |
| Transport | Local subprocess (stdio) | Remote HTTP/SSE |
| Auth | API key required | Not declared |
| Pricing | Freemium | Not declared |
| Required env vars | E2B_API_KEYGITHUB_TOKEN | AAS_API_KEYAAS_BASE_URL |
| Verified owner | Community listing | Community listing |
| GitHub stars | 4 | 0 |
| Directory activity | 3 views 0 installs 0 upvotes | 1 views 0 installs 0 upvotes |
| Tools | 29 | Not listed |
| Full listing | View E2b Sandbox MCP | View Sandbox as a Service |
sandbox_createCreate a new cloud sandbox (Linux VM)sandbox_listList all active sandboxessandbox_infoGet details about a specific sandboxsandbox_killTerminate and destroy a sandboxsandbox_keep_aliveExtend a sandbox's timeoutsandbox_pausePause a sandbox, preserving its state for latersandbox_resumeResume a previously paused sandboxsandbox_get_urlGet a public URL for a port (preview dev servers in browser)sandbox_upload_urlGet a presigned URL to upload files to the sandboxsandbox_download_urlGet a presigned URL to download files from the sandboxsandbox_execRun a shell command and get stdout/stderr/exit codesandbox_exec_backgroundStart a background process (dev servers, watchers)No tool names declared yet. Check the project README from the listing page.
Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.
{
"mcpServers": {
"asif-nvc-e2b-sandbox-mcp": {
"command": "npx",
"args": [
"-y",
"e2b-sandbox-mcp"
],
"env": {
"E2B_API_KEY": "YOUR_E2B_API_KEY_HERE",
"GITHUB_TOKEN": "YOUR_GITHUB_TOKEN_HERE"
}
}
}
}
{
"mcpServers": {
"sandbox-as-a-service": {
"url": "https://sandbox-as-a-service.com/v1/mcp"
}
}
}