AnyHook

Stores each webhook a provider sends, forwards it with retries, and lets an agent see what failed and replay it.

Documentation

AnyHook client packages

Source for the npm packages that go with AnyHook, a webhook relay: change one URL and your webhooks get automatic retries, a full event log, and one-click replay.

PackagenpmWhat it is
anyhook-mcpnpmMCP server — lets a coding agent set up and operate webhook infrastructure by itself
anyhook-verifynpmVerify AnyHook-Signature headers on your server (HMAC-SHA256, retry-safe)
@anyhook/corenot publishedShared internals (signature logic, provider fixtures), bundled into the two above

Forward webhooks to localhost

npx -y anyhook-mcp listen 3000

Prints a public webhook URL and forwards every event to that port, with no account. The URL survives a restart, and your server gets the bytes the provider sent, so signatures verify. Webhooks only: details in packages/mcp.

Connect an agent

Already have an AnyHook account? Add https://anyhook.net/mcp to Claude Code, claude.ai, Codex or VS Code and sign in through the browser, no key to copy. Steps for each app, Cursor included: https://anyhook.net/mcp.

No account yet? Run the package locally:

{ "mcpServers": { "anyhook": { "command": "npx", "args": ["-y", "anyhook-mcp"] } } }

Its anyhook_quickstart tool makes a live webhook endpoint and key without an account (7-day TTL, claimable into a free account later). That endpoint is new, not an account you already have. From there the agent creates apps, reads and inspects events, replays failures, and mocks or verifies signed payloads.

Prefer plain HTTP? The same bootstrap is one curl:

curl -X POST https://anyhook.net/api/v1/quickstart

Development

pnpm workspace. Node 20+.

pnpm install
pnpm test    # vitest across all packages
pnpm build   # tsup

The hosted relay itself (ingress, forwarder, dashboard) is a separate closed-source service — this repo is the client tooling. API reference: openapi.json · agent docs: llms.txt · pricing: pricing.md · MCP setup: anyhook.net/mcp

License

Apache-2.0