airgap
Runs AI coding agents' code in disposable cloud microVMs, keeping your machine and secrets
airgap is an open-source MCP server for security. It is available on CLI, Linux, macOS, Windows, VS Code and Self-hosted.
- Pricing
- Open source
- Platforms
- CLI, Linux, macOS
- What it can do
- Can change data (2 tools)
- Version
- 0.2.0
- Listing updated
Similar MCP servers
About airgap
Coding agents often need to install packages, build projects and run tests, which means running code that could be hostile right next to your SSH keys and cloud tokens. This server moves that execution off the workstation. Only the files an agent explicitly passes are uploaded to a fresh Linux virtual machine on GMI Cloud, the command runs there, and the output comes back before the machine is deleted.
Alongside sandboxed runs, it scans issue and pull request text for hidden instructions aimed at the agent, flags risky install hooks in package.json, requirements.txt and Cargo.toml, and strips passwords, tokens and keys from logs before the agent reads them. Setup registers it with Claude Code, Cursor, VS Code and Factory Droid.
It suits developers who let agents act on untrusted repositories or issues and want execution isolated from their own computer. Sandbox and model calls depend on GMI Cloud credentials, and the project is marked early development.
Tools this server provides (7)
Taken from the project documentation; the running server may differ.
From the tool list in its README, going by the names, 2 of 7 tools change data; 5 names don't say.
From the server's own tool labels and tool names; not verified by us.
- airgap_sandbox_runName suggests: changes
- Runs a command against an explicit file snapshot in a GMI AgentBox microVM.
- airgap_verify_patchName suggests: changes
- Applies a unified diff to a clean base snapshot and runs the test command.
- airgap_scan_injection
- Classifies issue, PR, log or feedback text as clean, suspicious or malicious.
- airgap_redact_secrets
- Scrubs private keys, token formats and credential assignments from text locally.
- airgap_audit_supply
- Flags install-time scripts and alternate dependency sources in manifests.
- airgap_configure
- Changes the default model and timeout for later calls.
- airgap_audit_repo
- Six-phase defensive static review of explicit files.
What it does
- Remote microVM sandbox
- Runs a command against an explicit file snapshot in a throwaway Linux VM and returns exit code and redacted output.
- Secret redaction
- Removes private keys, known token formats and credential assignments from text, locally, before it reaches the agent.
- Supply-chain heuristics
- Flags install-time scripts and alternate dependency sources in common manifest files without an advisory database.
- Prompt-injection scanning
- Classifies issue, PR, log or feedback text as clean, suspicious or malicious using a model-assisted check.
- Editor setup
- Registers the server with supported editors and adds routing rules so agents choose the isolated tools themselves.
Good for
- Run a project's test suite from an untrusted pull request without touching the local machine
- Audit package.json or Cargo.toml for risky install scripts before installing dependencies
- Triage an issue while screening its text for hidden instructions aimed at the agent
- Keep API keys and tokens out of agent-visible logs during builds and test runs
Pricing
Open source
Open source under MIT or Apache-2.0; sandbox and model calls use GMI Cloud accounts.
airgap FAQ
Does the sandbox run offline?
No. The sandboxes have outbound internet access, and the project describes the boundary as a host execution boundary rather than a physically air-gapped system.
Which editors are supported by setup?
Setup registers the server for Claude Code, Cursor, VS Code and Factory Droid, and adds routing rules to CLAUDE.md, AGENTS.md and .cursorrules.
Are my files sent to the cloud?
Files you pass to a sandbox or model leave your machine. Sandbox snapshots are uploaded unchanged, while injection-scan text and audit sources are redacted first.
Do the local scanners need GMI credentials?
No. Local scanners such as secret redaction and supply-chain auditing work without GMI keys; sandbox and model tools need them.
Is airgap free?
Yes. airgap is open source, so you can use and self-host it for free.
What are the best alternatives to airgap?
The closest alternatives to airgap are Airlox, CyberAgents AI Security Firewall, kosa8, Dmcps and Agent Workspace MCP.
Where this comes from
- Description: written from the project's README and its MCP Registry entry.