# airgap

> airgap is an open-source MCP server for security. Runs AI coding agents' code in disposable cloud microVMs, keeping your machine and secrets. It is available on CLI, Linux, macOS, Windows, VS Code and Self-hosted.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, Windows, VS Code, Self-hosted
- **Repository:** https://github.com/dhruvil-codes/airgap
- **MCP Registry name:** io.github.dhruvil-codes/airgap
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-27

## About

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.

## Features

- **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

## Tools

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_run` (name suggests: changes): Runs a command against an explicit file snapshot in a GMI AgentBox microVM.
- `airgap_verify_patch` (name 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.

## 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.

## Alternatives

- [Airlox](https://ai-powered.com/mcp/airlox): Airlox is an MCP server for developer tools.
- [CyberAgents AI Security Firewall](https://ai-powered.com/mcp/cyberagents-ai-security-firewall): CyberAgents AI Security Firewall is a freemium MCP server for security.
- [kosa8](https://ai-powered.com/mcp/kosa8): kosa8 is an MCP server for developer tools.
- [Dmcps](https://ai-powered.com/mcp/dmcps): Dmcps is an open-source MCP server for security.
- [Agent Workspace MCP](https://ai-powered.com/mcp/agent-workspace-mcp): Agent Workspace MCP is an open-source MCP server for developer tools.
- [Agent Guard MCP](https://ai-powered.com/mcp/agent-guard-mcp-2): Agent Guard MCP is an open-source MCP server for security.
- [Zn Gate](https://ai-powered.com/mcp/zn-gate): Zn Gate is a freemium MCP server for security.
- [Swarm](https://ai-powered.com/mcp/swarm-2): Swarm is a freemium MCP server for security.

---
Source: https://ai-powered.com/mcp/airgap
