Sandbox as a Service logo

Sandbox as a Service

Runs agent commands and file operations inside disposable Linux VMs with public previews, expiry controls, and usage reporting.

Install Sandbox as a Service

Pick your client, then add it in one click or paste the config.

Streamable HTTP (Remote)
Server URL
https://sandbox-as-a-service.com/v1/mcp

Remote servers are added in the app, not the config file: Customize → Connectors → Add custom connector, then paste this URL.

Overview

Sandbox as a Service MCP server gives agents dedicated Linux virtual machines for running commands, handling files, and hosting previews. It supports a hosted Streamable HTTP endpoint and a local stdio package, both authenticated with an API key for account and execution operations. Use it when code needs a disposable VM with its own kernel rather than a shared container. Sandboxes expire automatically, and agents can inspect usage, extend lifetimes, or destroy them early.

Use cases

  • Run untrusted code in a disposable Linux VM
  • Write and inspect files produced by an agent task
  • Expose a development server through a preview URL
  • Extend or destroy sandboxes based on job status
  • Check account credit and recent sandbox usage

Key features

  • Dedicated Linux virtual machines
  • Shell command execution
  • File read, write, and directory listing
  • Public HTTPS port previews
  • Automatic expiry and lifecycle controls
  • Usage and credit reporting

Tools12

What Sandbox as a Service lets your agent do. Expand a tool for its parameters.

Verified live~1.5k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

20/20 checks healthy over the last 93d

What it can do

From the 12 tools this server returned when we ran it.

Runs commands · 3Can delete or modify data · 1Writes files · 1Makes changes · 1Handles credentials · 1Makes network requests · 1Read-only tools · 7

Observed 2026-11-26 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 8/27/2026 via OSV.dev · https://sandbox-as-a-service.com/v1/mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit2mo agoMost recent push to the default branch.
Tools exposed12Callable tools this server registers over MCP.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Sandbox as a Service works

What the Sandbox as a Service MCP server does

The Sandbox as a Service MCP server gives an AI agent access to dedicated Linux virtual machines. Each sandbox has its own kernel and is not reused between accounts. The service removes a sandbox when its lifetime expires, including cases where the agent does not explicitly destroy it.

Agents can create a VM, execute shell commands, write and read files, and inspect directory trees. They can also expose a port from the VM through a public HTTPS preview URL. Account and lifecycle operations include checking sandbox status, listing the account's sandboxes, extending expiry, destroying a sandbox, and checking remaining credit and recent usage.

How it works

The Sandbox as a Service MCP server is available through a hosted Streamable HTTP endpoint at https://sandbox-as-a-service.com/v1/mcp. Requests can authenticate with either an Authorization: Bearer header or an x-api-key header. Anonymous initialization, tool discovery, and service information are available for hosted discovery, while account and execution operations require an API key.

A local stdio option runs through an npm package archive with npx. The hosted service exposes the eleven account and execution tools plus get_service_info; the local package exposes the eleven account and execution tools. The implementation uses MCP POST requests and SSE responses, so a GET-only request is not a connection test.

Setup and configuration

Create an API key through the service dashboard, then provide it as AAS_API_KEY. For local use, run the package with npx -y https://sandbox-as-a-service.com/mcp.tgz. Claude Desktop and Claude Code can launch the same command through an MCP configuration with the key in the environment section.

AAS_BASE_URL is optional and defaults to https://sandbox-as-a-service.com. If changed, provide only the origin; the client adds the API prefix. Hosted clients should connect to the documented /v1/mcp endpoint and send the key per request.

Tools and capabilities

The Sandbox as a Service MCP server provides tools for:

  • Creating and destroying sandboxes.
  • Running shell commands and receiving stdout, stderr, and exit status.
  • Writing files without routing their content through command-line quoting.
  • Reading files and listing directory trees.
  • Publishing a sandbox port through an HTTPS preview URL.
  • Reading status, size, and expiry information.
  • Listing account sandboxes and extending their expiry.
  • Checking remaining credit and recent usage.

Limitations and notes

Commands run as an unprivileged user. sudo is unavailable, so apt-get cannot be used. The README identifies pip install --user --break-system-packages and npm install as alternatives.

run_command waits for the command to finish. A server started without backgrounding may keep the MCP call open until the command times out; use & when starting a long-running service. Expiry is automatic, but calling destroy_sandbox earlier stops billing and returns unused minutes that would otherwise not be used.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Sandbox as a Service

Sandbox as a Service is an MCP server that connects an AI agent to dedicated Linux virtual machines. Its main tools create sandboxes, run shell commands, read and write files, list outputs, expose ports through preview URLs, manage expiry, destroy VMs, and report usage and cost.

Install the local server by running `AAS_API_KEY=aas_sk_... npx -y https://sandbox-as-a-service.com/mcp.tgz`. For a hosted connection, use `https://sandbox-as-a-service.com/v1/mcp` with your API key in an authorization header.

Set `AAS_API_KEY` to your API key; it is required for the local server and account or execution calls. `AAS_BASE_URL` is optional and defaults to `https://sandbox-as-a-service.com`; provide only the origin when overriding it.

It can install packages with `pip install --user --break-system-packages` or `npm install`, but `sudo` and `apt-get` are unavailable because commands run as an unprivileged user.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewSandbox as a Service AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/sandbox-as-a-service?style=directory)](https://allmcps.com/mcp/sandbox-as-a-service)
HTML Embed
<a href="https://allmcps.com/mcp/sandbox-as-a-service"><img src="https://allmcps.com/api/badge/sandbox-as-a-service?style=directory" alt="Sandbox as a Service on AllMCPs" /></a>