A native daemon for macOS and Linux with an MCP server. AI agents lock files, serialize installs, and share state — without conflicts.
brew install adamorad/tap/airlock
Works with Claude · Cursor · Copilot · Cline · Windsurf · any MCP-compatible agent
Whole categories of tools touch this space — session-scoped MCP servers, memory layers, DIY locks. They answer "what happened." Airlock answers "what's happening right now."
| Capability | Session-Scoped MCP Node · per-session | Memory Layers mem0 · graphs | DIY Redis · lockfiles | Airlock this one |
|---|---|---|---|---|
| Always-on daemon | ✗ | ✗ | ~ | ✓ |
| Cross-session locks | ✗ | ✗ | ~ | ✓ |
| TTL auto-expiry | ✗ | ✗ | ✗ | ✓ |
| Real-time arbitration | ~ | ✗ | ~ | ✓ |
| MCP-native | ✓ | ~ | ✗ | ✓ |
| Zero dependencies | ✗ | ✗ | ✗ | ✓ |
✓ built in · ~ possible with effort · ✗ not really
Session-scoped servers die with the session that spawned them. Airlock is a daemon — it outlives every session and arbitrates between all of them.
How do your agents coordinate shared resources when they all run at once?
Shell scripts and skills give one agent visibility for one moment. Airlock gives every agent a shared coordination layer — Agent A locks npm-install, Agent B sees it's held and backs off. No conflicts. No manual work.
Five groups — Locks, Notes & atomic state, Presence, Events, and Tasks — all on 127.0.0.1:27183. Any MCP-compatible agent, one shared daemon.
Install
Homebrew on macOS or Linux. Or build from source with go install github.com/adamorad/airlock/v2@latest.
brew install adamorad/tap/airlock
Start the daemon
Registers the service so Airlock starts at login — launchd on macOS, systemd on Linux.
airlock install-service
Configure your agent
Point any MCP-compatible agent at the daemon. On Linux, add a bearer token from ~/.airlock/token.
claude mcp add --transport http airlock http://localhost:27183