
Sandbox as a Service
com.sandbox-as-a-servicev1.1.0更新於 Sep 29, 2026
Give an agent a real Linux VM: run commands, move files, expose a preview URL, destroy it.
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Sandbox as a Service,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
sandbox-as-a-service-mcp
An MCP server that gives an agent a real Linux virtual machine it can break.
Eleven tools: create a sandbox, run shell commands in it, write and read files, list what a run produced, expose a port on a public preview URL, extend the lifetime, destroy it, and check what it all cost.
Each sandbox is a dedicated VM with its own kernel — not a container sharing a host with other people's code. It is never reused between accounts and is destroyed when it expires, whether or not anything remembered to ask.
Use it
Maintained by the operator of Sandbox as a Service.
Hosted MCP (no local package)
For a client that supports Streamable HTTP, connect to:
Send your own API key on each request as Authorization: Bearer <your-api-key>
or x-api-key: <your-api-key>. Get it at
Dashboard → API keys.
Never put an API key in the URL or share one through a registry.
The hosted server exposes 12 tools: the eleven account/execution tools below
plus get_service_info. Anonymous initialize, tools/list, and
get_service_info work for free hosted discovery; account and execution calls
still require your key. The local stdio server (including the current downloadable
mcp.tgz v1.1.0) exposes the eleven account/execution tools. Use the hosted endpoint
for keyless service information. A GET-only check is not a connection test: this
endpoint uses MCP POST requests and SSE responses.
On Smithery,
set apiKey to your own raw key; it maps to the x-api-key header.
Connection documentation.
Local stdio (current hosted package)
Get a key at sandbox-as-a-service.com — new accounts start with free credit and no card.
Claude Desktop / Claude Code
The tools
Notes for agents
- Code runs as an unprivileged user. There is no
sudo, soapt-getwill not work; usepip install --user --break-system-packagesornpm install, both of which do. run_commandwaits for the command to finish. Start a server with&or it will hold the call open until the timeout.- A sandbox is destroyed when its timeout expires whether or not
destroy_sandboxis called, so a forgotten sandbox costs minutes, not money forever. Calling it anyway returns the minutes you were not going to use.
Environment
MIT licensed. The service it talks to is at sandbox-as-a-service.com; docs.
來源:README.md,提交 7436886
工具
0版本歷史
1- v1.1.0最新Sep 16, 2026


