Ironclaw logo

Ironclaw

Runs untrusted MCP agent commands in a gVisor sandbox with host access and network connectivity blocked.

Install Ironclaw

Run the project’s own setup commands, in order.

Setup steps from the project

ironclaw installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com

  1. 1. Install
    git clone https://github.com/IronSecCo/ironclaw.git && cd ironclaw
    
  2. 2. Install
    curl -fsSL https://raw.githubusercontent.com/IronSecCo/ironclaw/main/scripts/install.sh | sh
    

Overview

ironclaw runs shell commands from MCP clients inside a sandboxed gVisor container. Each sandbox uses network=none, preventing direct outbound connections, while host-side mediation provides the model connection. The isolation boundary is designed to block host filesystem access, Docker socket access, and self-modification. Reach for it when an agent needs command execution but should not receive unrestricted access to the machine running the client.

Use cases

  • Run untrusted shell commands from an MCP client
  • Test agent escape attempts inside a disposable sandbox
  • Keep autonomous agents away from the host filesystem
  • Evaluate agent workflows without granting direct network access

Key features

  • Sandboxed shell execution
  • gVisor container isolation
  • Per-session sandboxing
  • Network-disabled execution
  • Host-side model proxy
  • Human approval for capability changes

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.

14/16 checks healthy over the last 112d

Adoption & maintenance

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

GitHub stars20Stargazers on the source repository.
Last commit6d agoMost recent push to the default branch.

How Ironclaw works

What ironclaw does

ironclaw provides sandboxed shell execution for MCP clients. It places untrusted agent commands inside a per-session container rather than running them directly on the host. Production deployments use gVisor and disable networking with network=none, limiting the sandbox's ability to contact external systems.

The project is aimed at deployments where an autonomous agent needs to perform work on infrastructure controlled by the operator, but should not be trusted with the host itself. Its containment model is intended to prevent the agent from reading the host filesystem, reaching the network, accessing the Docker Engine socket, or changing its own configuration.

How it works

A host-side control plane engages a separate sandbox for an agent session. The sandbox communicates with the model through a host proxy instead of receiving unrestricted network access. With networking disabled, only the mediated path remains available; DNS and outbound connections are unavailable inside the sandbox.

Capabilities are handled through a gateway. Changes to what an agent may do are held for a human decision rather than being applied solely by the agent. The project also includes an offline mock-agent path for trying the secured flow without an API key.

The repository includes a containment demonstration that builds the sandbox, starts a session, and tests attempts to phone home, read the host filesystem, and use the Docker socket. Those attempts are expected to be denied at the isolation boundary.

Setup and configuration

The quickstart requires a running Docker daemon. On Linux, start the daemon with the system service; Docker Desktop can be used on macOS. After cloning the repository, run examples/live-containment/run.sh to build and exercise the sandboxed path locally.

The demo uses an offline mock agent and requires no API key. A separate browser-oriented example and a zero-credential quickstart are also available. A real provider can be connected through a host-side provider key, while the sandbox remains isolated from direct network access.

Linux with gVisor provides the strongest documented sandbox boundary. macOS uses a weaker boundary, and native Windows cannot run the agent sandbox; Windows users should use WSL2.

Tools and capabilities

  • Execute untrusted shell commands from MCP clients inside a sandbox.
  • Create a separate sandbox for an agent session.
  • Run production sandboxes with gVisor and network=none.
  • Keep model communication on the host-side proxy path.
  • Hold capability changes for human approval.
  • Exercise containment checks through the included local demonstration.

Limitations and notes

ironclaw is alpha software. Flags, the on-disk format, and HTTP or contract surfaces may change without a migration path. The control plane, gateway, and encrypted-queue core have substantial automated coverage, while channel adapters, some tools, multi-provider routing, and live sandbox startup receive lighter testing.

The project should not be pointed at data or systems that cannot tolerate breakage during this stage. Platform strength also differs: Linux with gVisor is the reference boundary, macOS is weaker, and native Windows requires WSL2.

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 Ironclaw

ironclaw is an MCP server that connects MCP clients to sandboxed shell execution in a gVisor container. Its main tool runs untrusted agent commands inside that sandbox, where network access is disabled and the process cannot read the host filesystem or alter its own configuration. It is intended for agents that need command execution without host trust.

Clone the repository and run its local containment script with Docker running. The documented quickstart uses `git clone`, changes into the repository, and executes `examples/live-containment/run.sh`; the offline mock-agent path runs without an API key.

ironclaw's agent sandbox does not run natively on Windows. Windows users should run it through WSL2; Linux provides the documented gVisor boundary, while macOS uses a weaker sandbox boundary.

ironclaw is alpha software and should be treated as work in progress. Core control-plane, gateway, and encrypted-queue components have substantial test coverage, but some adapters, tools, routing paths, and live sandbox startup are less extensively tested.

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 PreviewIronclaw AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/ironclaw?style=directory)](https://allmcps.com/mcp/ironclaw)
HTML Embed
<a href="https://allmcps.com/mcp/ironclaw"><img src="https://allmcps.com/api/badge/ironclaw?style=directory" alt="Ironclaw on AllMCPs" /></a>