Skip to content
AI

airgap

BetaOpen SourceApache-2.05 stars

Apache-2.0 Rust MCP server that moves a coding agent's installs, builds and tests off the developer's machine and into single-use GMI Cloud AgentBox v2 microVMs, after scanning untrusted text for prompt injection and auditing dependency manifests, then scrubs secrets from the logs the agent reads back.

Visit website
CategoriesAI Agent SandboxCode ExecutionSelf-hostedTypeOpen-source toolContainmentHardware VMRating3.3 / 5
Built onGmi Agentbox
DocsGitHub
Metered unit
your own GMI Cloud account, per sandbox run and per inference call
Free Tier · Open Source
Idle billing
Wall-clock billing
35 listings bill wall-clock while running
State kept on pause
Nothing survives
Resume: No pause or resume: each tool call creates a fresh sandbox and deletes it afterwards

Overview

airgap is a small, explicit answer to a large problem: a coding agent that runs npm install or pytest on the developer's laptop can read SSH keys, cloud credentials and every checked-out repository. It registers as an MCP server in Claude Code, Cursor, VS Code, Factory Droid or any stdio client, and turns that class of work into a tool call that executes in a disposable Linux microVM on GMI Cloud AgentBox v2, with only the files the caller names. Around the execution it wraps three gates: an injection classifier on PR and issue text before any VM exists, a local manifest audit that flags lifecycle hooks and alternate dependency sources, and a local regex and entropy scrubber that redacts credentials before the agent reads the output. Receipts with SHA-256 hashes record what ran and are deliberately described as unsigned. The honest limits are the point of the documentation. The name is not literal: sandboxes have outbound internet, the provider's isolation is not certified by the project, and files passed in a tool call leave the machine. Sandboxes are one-command, at most 4 vCPU and 8 GiB, with no GPU, no persistence and no pause, so it is not a long-lived development environment. The project is days old at v0.2.0 with a handful of stars, and the security model lists false positives and negatives in both scanners, forgeable output and an unsigned receipt among its residual risks. The value is a narrow, auditable boundary with unusually candid documentation, not a hardened multi-tenant platform.

Key capabilities

  • Rust MCP server for Claude Code, Cursor, VS Code and Factory Droid
  • Commands run in disposable GMI AgentBox v2 microVMs
  • Prompt-injection scan before any sandbox exists
  • Local dependency-manifest audit with install scripts blocked by default
  • Secret redaction on output the agent reads
  • One call verifies a pull request from clone to verdict
  • Patch verification against clean base files
  • Six-phase static repository audit
  • Signed installer with checksum-verified release binaries
  • Self-hostable over Streamable HTTP with bearer auth and BYOK headers
  • No telemetry and no cloud call at startup
  • Known limits: sandboxes have internet, max 4 vCPU, no persistence, unsigned receipts

airgap-mcp.json

{
  "mcpServers": {
    "airgap": { "command": "npx", "args": ["-y", "airgap-mcp"] }
  }
}

// Then ask in plain words: "use airgap to verify acme/api#142".
// Tools: airgap_verify_pr, airgap_verify_patch, airgap_sandbox_run,
// airgap_scan_injection, airgap_audit_supply, airgap_redact_secrets,
// airgap_audit_repo, airgap_configure.

Similar alternatives

Technical specifications

Runtime architecture
Every command runs in a fresh GMI Cloud AgentBox v2 microVM, gmi.sandbox.medium (2 vCPU, 4 GiB) by default; small (1 vCPU, 2 GiB) and large (4 vCPU, 8 GiB) are selectable
Runtime notes
  • Only explicitly passed UTF-8 files, up to 2000 files and 8 MiB, are packed into an in-memory tar.gz and uploaded to /workspace; there is no repository discovery, binary or symlink upload
  • The sandbox is deleted after the run, on success, failure, timeout and caller cancellation, and its lifetime is bounded by command budget plus 180 seconds
  • The provider's isolation is not certified by the project: airgap states that image trust, network egress including cloud metadata, provider retention and account authorization remain the provider's responsibility
Cold-start boot time
The first run per image builds a reusable template and can take minutes; later runs reuse it. The docs publish no boot latency figure
Max vCPU
gmi.sandbox.small is 1 vCPU, medium 2 and large 4, chosen with GMI_AGENTBOX_INSTANCE_TYPE; nothing larger is supported
Max memory
2 GiB, 4 GiB or 8 GiB with the same three instance types
Storage model
A snapshot carries at most 2000 files and 8 MiB into /workspace; command output is redacted and returned, and the sandbox disk is discarded with the VM
Network isolation
airgap's boundary is around the developer's machine, not around the sandbox: GMI sandboxes have outbound internet, and the project says plainly it does not implement an offline environment or certify microVM isolation. Locally it refuses symlinked config files, path traversal, .git metadata and non-HTTPS provider URLs, disables redirects and proxies, caps response sizes and awaits cleanup. Inside the sandbox the provider's egress policy, account permissions and image trust apply, and the docs name cloud metadata such as 169.254.169.254 as the provider's responsibility.

Lifecycle & capabilities

Filesystem persistence
Not supported
Memory / disk snapshot
Not supported
Instant forking
Not supported
GPU acceleration
Not supported
GUI desktop / VNC
Not supported
Mobile / cloud phone
Not supported
Browser automation
Not supported
Network egress control
Not supported
Pause / auto-sleep
Not supported
MCP protocol server
Supported
REST API & SDKs
Unknown
Idle billing
Wall-clock billing
State kept on pause
Nothing survives
Resume latency
No pause or resume: each tool call creates a fresh sandbox and deletes it afterwards
Session limit
One command per sandbox, default 120 seconds and at most 1800, plus up to 600 seconds for provisioning; the sandbox itself lives for the command budget plus 180 seconds

Pricing model

Pending Audit

Rate read 1 Dec 2026.

Pricing tiers
Free TierOpen Source
Summary

The server is free under MIT OR Apache-2.0 and runs locally with no telemetry, account or vendor meter. Its cloud tools spend the user's own GMI Cloud account: sandbox time bills to a compute-scoped GMI_AGENTBOX_API_KEY and model calls to a GMI_MAAS_API_KEY, while the local manifest audit, secret scrubber and configuration tools make no network calls. The project publishes no rate card of its own, so what a run costs depends on GMI AgentBox and GMI MaaS prices, and the pass-through is Pending audit.

Billing unityour own GMI Cloud account, per sandbox run and per inference call
View official pricing page

Related architecture guides