Sandbox as a Service

Registre officiel IA et agents

Give an agent a real Linux VM: run commands, move files, expose a preview URL, destroy it.

Installation

Ajoutez ceci à la configuration MCP de votre client (Claude Desktop : claude_desktop_config.json ; Cursor : .cursor/mcp.json ; VS Code et les autres utilisent la même forme « mcpServers »).

MCPB package https://github.com/fstandhartinger/sandbox-as-a-service-mcp/releases/download/mcp-v1.1.0/sandbox-as-a-service-mcp-1.1.0.tgz

Variables d'environnement

  • AAS_API_KEY obligatoire secret API key from https://sandbox-as-a-service.com/dashboard/keys

Documentation

Tirée du README du projet sur GitHub, actualisée chaque semaine. Les liens ouvrent GitHub.

Sommaire
  1. sandbox-as-a-service-mcp
  2. Use it
  3. The tools
  4. Notes for agents
  5. Environment

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:

https://sandbox-as-a-service.com/v1/mcp

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)
AAS_API_KEY=aas_sk_... npx -y https://sandbox-as-a-service.com/mcp.tgz

Get a key at sandbox-as-a-service.com — new accounts start with free credit and no card.

Claude Desktop / Claude Code
{
  "mcpServers": {
    "sandbox": {
      "command": "npx",
      "args": ["-y", "https://sandbox-as-a-service.com/mcp.tgz"],
      "env": { "AAS_API_KEY": "aas_sk_..." }
    }
  }
}

The tools

ToolWhat it does
create_sandboxCreates a VM and returns its id once it is ready.
run_commandRuns a shell command as an unprivileged user. Returns stdout, stderr, exit code.
write_fileWrites a file. Content travels out of band, so quotes and binary survive.
read_fileReads a file back — how an agent gets at what its code produced.
list_filesLists a directory tree, so an agent can find what a run produced.
expose_portGives a server inside the sandbox a public https URL to share.
get_sandboxStatus, size and expiry.
list_sandboxesEverything on the account, newest first — useful for finding strays.
extend_sandboxPushes the expiry out when a job outgrows its timeout.
destroy_sandboxDestroys it and stops billing.
get_usageRemaining credit and recent usage.

Notes for agents

  • Code runs as an unprivileged user. There is no sudo, so apt-get will not work; use pip install --user --break-system-packages or npm install, both of which do.
  • run_command waits 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_sandbox is called, so a forgotten sandbox costs minutes, not money forever. Calling it anyway returns the minutes you were not going to use.

Environment

Variable
AAS_API_KEYRequired. Your API key.
AAS_BASE_URLOptional. Defaults to https://sandbox-as-a-service.com. Use the origin only, without /v1; the client adds that API prefix.

MIT licensed. The service it talks to is at sandbox-as-a-service.com; docs.

Questions fréquentes

Qu'est-ce que Sandbox as a Service ?

Give an agent a real Linux VM: run commands, move files, expose a preview URL, destroy it.

Comment installer Sandbox as a Service ?

Suivez les étapes d'installation de sa documentation, affichée sur cette page et dans son dépôt.

Faut-il une clé API pour Sandbox as a Service ?

Oui. Il attend AAS_API_KEY, à renseigner dans sa configuration.

Sandbox as a Service est-il open source ?

Oui. Son code est sur GitHub sous licence MIT.

Qui maintient Sandbox as a Service ?

Il est publié par fstandhartinger. AI.tn le référence sans le maintenir ni le recommander.

Issu du registre MCP officiel. Être listé n'est pas une recommandation : vérifiez le code et les permissions d'un serveur avant de lui donner accès à vos données.