Hookdeck CLI
$ hookdeck Official Med RiskHookdeck CLI (hookdeck) tunnels webhooks to localhost (listen) and manages Hookdeck Event Gateway sources, destinations, connections, and events (hookdeck gateway). Strong agent ergonomics include --output json, --color off, directory-scoped --local configs, and a built-in hookdeck gateway mcp server that defaults to read-only.
brew install hookdeck Use hookdeck gateway ... --output json --color off for scripted inspection, or hookdeck gateway mcp (read-only unless --allow-write is passed) inside MCP-enabled hosts.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports --output json, --color off, --include data, and --hookdeck-config for clean, deterministic machine parsing.
--output jsonand--color offflags- Generated
REFERENCE.mdandhookdeck gateway mcp
Directory-scoped --local configs isolate projects, and hookdeck gateway mcp defaults to read-only unless --allow-write is passed.
--local.hookdeck/config.tomlisolation- Read-only default on
gateway mcp
Go binary installable via Homebrew and GitHub releases across macOS, Linux, and Windows.
- Homebrew formula
hookdeckand static binaries
Unifies local webhook tunneling (listen), Event Gateway resource CRUD, payload inspection, and MCP exposure.
- Full
hookdeck gatewayresource and event debugging suite
Official hookdeck/hookdeck-cli repository actively maintained under Apache-2.0.
- Official
hookdeck/hookdeck-clirepository
Includes machine-generated REFERENCE.md in GitHub plus hookdeck.com/docs/cli.
REFERENCE.mdflag reference and official CLI docs
Security, Auth & Guardrails
Stores user config in $HOME/.config/hookdeck/config.toml (overridable via --hookdeck-config), or per-project .hookdeck/config.toml when --local is used.
Apache-2.0 open-source CLI; Hookdeck offers a free tier with paid event-volume plans.
# Hookdeck CLI Agent Rules - Always pass `--output json --color off` on `hookdeck project` and `hookdeck gateway` queries. - Keep `hookdeck gateway mcp` read-only (omit `--allow-write`) and avoid running `hookdeck listen` as an unbounded background loop unless requested.
Agent-Ready Command Recipes
Safe Read-Only Queries
hookdeck project list --output json --color off
Lists available Hookdeck projects without ANSI color escapes.
hookdeck gateway event list --include data --output json --color off
Retrieves recent webhook events including headers and bodies in JSON.
Controlled Writes & Previews
hookdeck project use --local
Writes a directory-scoped .hookdeck/config.toml so commands stay isolated to one project.
Strengths for Agents
- +
--output json+--color off+--include dataenable clean event payload debugging. - + Directory-local
--localconfig and read-only default ongateway mcpreduce cross-project mistakes.
Caveats & Pitfalls
- ! Authentication relies on browser
hookdeck loginrather than a simple env API-key flag. - !
hookdeck listenis a long-running tunnel process that blocks until stopped.