HookMirror
capture, replay, and type-gen your webhooks — all from your AI agent
npx -y github:Isco0819/hook-mirrorEver run into this?
like webhook.site which gets millions of dev visits but vanishes when you close the tab. local webhook testing still means juggling ngrok tunnels, copy-pasting raw payloads into code, and hand-writing TypeScript types for every event shape — every single time you onboard a new provider.
The fix
HookMirror runs a local MCP server that captures every incoming webhook, persists it to SQLite, and exposes MCP tools so your AI coding assistant can replay events, diff payloads across versions, and auto-generate TypeScript interfaces on demand.
What it does
- zero-config local receiver — one npx command gives you a shareable forwarding URL via smee.io
- MCP tools: list_hooks, get_hook, replay_hook(id, target_url), diff_payloads(id1,id2)
- auto-infers TypeScript interfaces from captured JSON payloads using quicktype-core — no hand-writing ever again