GateRook is a local MCP gateway and firewall: a free, open-source desktop app for macOS on Apple Silicon and for Windows that sits between your AI apps and your infrastructure.
As a gateway, it connects AI apps that support MCP, such as Claude Desktop, Codex, Cursor, Antigravity and VS Code, to your databases, logs, cloud accounts, Kubernetes clusters, SSH servers, HTTP APIs and existing MCP servers. You add each service once as a connection. Its credentials stay encrypted in GateRook, which uses them for each call instead of handing them to the AI app.
As a firewall, it checks each tool call routed through it against your rules before anything runs:
- Every tool has a mode: Off, Read only, Approval or Bypass.
- Reads start in Read only. Changes start in Approval and wait for your decision in Approvals.
- Activity records each request, decision and outcome.
GateRook controls only the calls that go through its endpoints, not other ways an AI app can reach your systems. To set it up, follow Getting started.