Skip to content
MCP server

airgap

MCP server that runs coding agents' installs, builds and tests in disposable cloud

Runs locally

airgap is an open-source MCP server for security. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, macOS, Linux
Runs
Locally
What it can do
Can change data (2 tools)
Version
0.2.1
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add airgap -- npx -y airgap-mcp

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

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

Claude Code setup guide

Add to claude_desktop_config.json

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

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

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

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

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

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add airgap -- npx -y airgap-mcp

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.airgap]
command = "npx"
args = ["-y", "airgap-mcp"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "airgap": {
      "command": "npx",
      "args": [
        "-y",
        "airgap-mcp"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

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

    Or run: gemini mcp add -s user airgap npx -- -y airgap-mcp

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

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

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

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

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

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

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

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

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

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

    Junie

    Add to ~/.junie/mcp/mcp.json

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

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

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

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About airgap

Coding agents often need to install packages, run builds or execute tests from untrusted pull requests, and doing that on a developer machine puts SSH keys and cloud tokens at risk. This server moves that work into a fresh Linux virtual machine hosted on GMI Cloud, sends only the files and commands passed in a tool call, and returns the output once the machine is deleted after the run.

Before execution, the server can scan issue and PR text for hidden instructions aimed at an agent, and audit package.json, requirements.txt or Cargo.toml for install scripts and alternate dependency sources. Logs and output are scrubbed of passwords, tokens and keys before the agent sees them, and each run returns an unsigned SHA-256 receipt.

It suits developers who use Claude Code, Cursor, VS Code or Factory Droid and want the agent to verify patches or run untrusted code away from their workstation. Sandbox runs need a GMI Cloud account and API key, while local scanners work without credentials.

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 remote sandbox.
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
Runs a defensive static review of explicit files.

What it does

Disposable microVM execution
Installs, builds and tests run in a throwaway Linux virtual machine that is deleted after each run.
Pre-install supply audit
Flags risky install scripts and alternate dependency sources in common manifest files before anything runs.
Prompt injection scanning
Classifies issue, PR and log text as clean, suspicious or malicious before the agent acts on it.
Secret redaction
Removes passwords, tokens and private keys from command output and arbitrary text locally.
Patch verification
Applies a diff to a clean base snapshot and runs the test command to check the result.
Editor setup command
A setup command registers the server with supported editors and writes agent routing rules.

Good for

  • Run a project's test suite without executing its install scripts on your laptop
  • Verify a pull request diff against a clean base before merging
  • Triage an issue safely by scanning its text for hidden agent instructions first
  • Audit package.json or Cargo.toml for risky install-time commands
  • Strip credentials from logs before an agent reads them

Pricing

Open source

Open source under MIT or Apache-2.0; sandbox compute and inference are billed by GMI Cloud.

Prices change. Check useairgap.dev before you buy.

airgap FAQ

Does airgap need Docker installed locally?

No. It needs no local Docker daemon, virtual machines or container runtime, and runs as a single native binary or through npx.

What leaves my machine?

Only the files, commands and text passed explicitly in a tool call. Injection scan text and audit sources are redacted first.

Which agents are supported?

Setup configures Claude Code, Cursor, VS Code and Factory Droid. Any other stdio MCP client can use the JSON configuration, and an HTTP mode is available for shared setups.

What do I need to run sandboxes?

A GMI Cloud account and a compute-scoped AgentBox key. Injection scans and repo audits need an inference key, while local scanners need no credentials.

Is airgap an official GMI Cloud product?

No. It is an independent open-source project that uses GMI Cloud AgentBox and GMI MaaS.

Is airgap free?

Yes. airgap is open source, so you can use and self-host it for free.

How do I add airgap to Claude Code?

Run this command in your terminal: claude mcp add airgap -- npx -y airgap-mcp

What are the best alternatives to airgap?

The closest alternatives to airgap are Agent Runtime Guard, Sandscale, Dmcps, CyberAgents AI Security Firewall and MCP Sandbox Computer VM for AI.

Where this comes from

  • Description: written from the project's README, the project's website and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers