AnyHook
Measured conclusion: Deep-tested. L2 outcome: tools_ok.
A webhook inbox for agents: one call returns a live URL. Mock, verify, inspect and replay.
| Author | net.anyhook |
|---|---|
| Access | mixed |
| Publisher key required | No |
| Measured state | Deep-tested |
| L1 liveness | alive |
| L1 latency | 149 ms |
| Last measured | 2026-10-24 |
Add to your agent
Copy this into your MCP client config:
{
"mcpServers": {
"AnyHook": {
"url": "https://anyhook.net/mcp",
"transport": "streamable-http"
}
}
}
Measured tools (16)
anyhook_mockdestructiveGenerate a webhook request with a valid signature for Stripe, GitHub, or Slack. If targetUrl is provided, the request is POSTed there and the response is returned.
Parameters:
provider(required) — string — Webhook provider to simulate.event(required) — string — Event name (e.g. 'payment_intent.succeeded' for Stripe).data— object — Optional fields to deep-merge into the fixture.secret— string — Signing secret. Falls back to a deterministic default per provider.targetUrl— string — If set, POST the generated request to this URL and return the response.
Hints: read-only no · destructive yes · idempotent not declared · open-world yes
anyhook_verifyread-onlyVerify a webhook signature against a secret, for every source the AnyHook edge verifies, including stripe, github, shopify, slack, line, discord, linear, vercel, paddle, hubspot, paypal and xero.
Parameters:
provider(required) — string — Provider name (e.g. 'stripe', 'github', 'slack', 'generic').headers(required) — object — Request headers as a flat object.body(required) — string — Raw request body.secret(required) — string — Signing secret to verify against.requestUrl— string — Original request URL (required for Twilio/HubSpot). Defaults to a placeholder.
Hints: read-only yes · destructive not declared · idempotent not declared · open-world not declared
anyhook_providersread-onlyList webhook providers AnyHook can mock, along with the event types available for each.
Hints: read-only yes · destructive not declared · idempotent not declared · open-world not declared
anyhook_apps_listread-onlyList apps in your AnyHook account with inbound URLs, sources, and destination URLs. Check isActive: an inactive app's inbound URL answers setup handshakes but acknowledges and discards event POSTs (202, reason app_inactive) instead of relaying them. Destination signing secrets are redacted to has_signing_secret plus a 4-char hint; a new secret in plaintext comes only from rotating it. An app whose slug was changed lists its former URLs under legacyInboundUrls; those still route to it.
Hints: read-only yes · destructive no · idempotent yes · open-world no
anyhook_inboxread-onlyEvery AnyHook app is also an email inbox: mail sent to {user}.{app}@anyhook.net becomes an event (type email.received) you can read with anyhook_events. Returns the address and webhook URL for one of your apps.
Parameters:
app— string — App slug (from anyhook_apps_list). Defaults to your first app.
Hints: read-only yes · destructive not declared · idempotent not declared · open-world not declared
anyhook_apps_createCreate a new app with a name, provider source, and (optionally) destinations. Returns the inbound URL. The app is active immediately. Created WITHOUT destinations it still receives and LOGS every event (inspect-only), it just delivers nowhere until a destination is added (PATCH /api/v1/apps/{slug} with {"destinations": [...]}).
Parameters:
name(required) — string — Human-readable app name.source(required) — string — Provider name (stripe, github, shopify, ...). Used for signature auto-detection.destinations— array — Destination URLs that should receive forwarded events.
Hints: read-only no · destructive no · idempotent not declared · open-world not declared
anyhook_connectWire a provider to AnyHook in one call: give a Stripe or GitHub key and AnyHook registers the app's inbound URL as a webhook at the provider, saves the signing secret it yields, and turns on signature verification at the edge. The provider is read from the key; the key is used once and not stored. Without appSlug a new app is created (and removed again if the provider refuses the key). Re-running replaces the registration instead of duplicating it. GitHub sends a signed ping immediately, so the first event appears within seconds. Add a destination afterwards (PATCH /api/v1/apps/{slug}) to forward events; until then they are received and logged.
Parameters:
provider_key(required) — string — A Stripe secret or restricted key (sk_… / rk_…) or a GitHub token (github_pat_… / ghp_…). The provider is read from the key. Used once to register the webhook at the provider; AnyHook does not store it. Least privilege: a Stripe restricted key with Webhook Endpoints = Write, or a fine-grained GitHub token with Webhooks = Read and write.target— string — GitHub only: "owner/repo", or an organization name for an org-wide hook. Optional when the token administers exactly one repository.appSlug— string — Connect this existing app. Omit to create a new app for the provider.
Hints: read-only no · destructive no · idempotent not declared · open-world yes
anyhook_replaydestructiveRe-send a stored event to its destinations. Replays sit outside the monthly event quota but within a daily replay limit per plan and the monthly compute allowance (anyhook_usage), and replaying an event that was held for quota bills it as a new event. The destination does run its handler again: a receiver that is not idempotent will process the event twice while debugging.
Parameters:
id(required) — string — Event ID to replay. Replay does not consume event quota; it is charged to the compute allowance.
Hints: read-only no · destructive yes · idempotent no · open-world yes
anyhook_undeliveredread-onlyShow events for the given app that have not successfully reached any destination (failed or still retrying).
Parameters:
appSlug(required) — stringlimit— integer
Hints: read-only yes · destructive not declared · idempotent not declared · open-world not declared
anyhook_replay_faileddestructiveRe-send every failed event for the given app slug. Useful after fixing a downstream bug to recover queued work.
Parameters:
appSlug(required) — string — Bulk-replay every failed event for this app.
Hints: read-only no · destructive yes · idempotent not declared · open-world yes
anyhook_code_getread-onlyThe code that runs on this app's events: its source, the names of its secrets (never the values), whether events are reaching it, and runs used this month against the plan's limit.
Parameters:
appSlug(required) — string — The app whose code handler to read.
Hints: read-only yes · destructive not declared · idempotent not declared · open-world not declared
anyhook_code_deploydestructiveSave a handler that runs on every event this app receives, in an isolated sandbox, with AnyHook's retries and replay around it: no server of your own. Each run's console output and return value are stored as that delivery's response (anyhook_inspect shows them). It can also run on a cron schedule. Pro and Scale; runs are capped per month with no overage, retries, test runs and schedule firings each count, and each run and package install is charged to the monthly compute allowance (anyhook_usage shows both). Test it with anyhook_code_test before real events arrive.
Parameters:
appSlug(required) — string — The app whose events the code runs on.code(required) — string — An ES module, run in a sandboxed Node.js on every event this app receives. Either `export default async function (event, { env }) {}` (event: { method, headers, body, raw_body, delivery_id, attempt }; method is always POST, and the query string, path and caller IP are not kept) or a Pipedream Node.js code step: `export default defineComponent({ async run({ steps, $ }) {} })`, where steps.trigger.event is that same event (a step reading query, path, url or client_ip needs changing) and $.export and $.flow.exit work. npm packages it imports are installed on deploy (pin as "[email protected]", like Pipedream; a new package list usually takes seconds, a large one a few minutes). @pipedream/platform is a stand-in. State between events: the app's store (store.get/set/has/delete/keys, set takes { ttl }); every data_store prop is that one store, an app prop's this.<prop>.$auth.<field> reads the secret <APP>_<FIELD>, any other prop the secret named after it (channelId → CHANNEL_ID). Throwing fails the delivery, which AnyHook retries. Templates for common actions (Slack, email, Google Sheets, Notion, Claude and more): https://anyhook.net/code-templates.mdenabled— boolean — Whether events run the code. false saves it switched off, so it runs only through anyhook_code_test. Omit: a first deploy goes live and later deploys keep the current state. Deploy off while another system still handles the same events, or both will act on each one.secrets— object — Environment variables for the code, read as env.NAME or process.env.NAME. Merged into the saved ones; null removes a name.schedule— ['string', 'null'] — Also run on a cron schedule: five fields, UTC unless prefixed CRON_TZ=Area/City, e.g. "*/15 * * * *". Each firing arrives as an anyhook.schedule event and counts as a run. null removes it; omit to keep it. Only on an app that does not verify a sender's signature.
Hints: read-only no · destructive yes · idempotent not declared · open-world yes
anyhook_code_testdestructiveRun the saved handler now and return its logs, return value and duration: on a stored event (the latest when event_id is omitted) or on a body you give. Counts as a run. Nothing is delivered, but whatever the code itself sends does happen.
Parameters:
appSlug(required) — stringbody— Run on this body instead of a stored event.event_id— string — Run on this stored event. Omit for the app's latest event.
Hints: read-only no · destructive yes · idempotent not declared · open-world yes
anyhook_usageread-onlyWhat the plan allows and what this account has used of each: events this month (per delivery, large events count per 64 KB), overage, the compute allowance and what used it (retries, replays, waiting on slow destinations, code runs, builds, schedules), API calls today (each tool call that reads or changes the account counts one), code runs and package snapshots, with when each resets. Call it when something answers with a limit, before bulk work such as replay_failed, or when the user asks what they are using.
Hints: read-only yes · destructive no · idempotent yes · open-world no
anyhook_eventsread-onlyList webhook events, most recent first: id, app, type, status, attempt, destination status code, latency, timestamp. Summaries only, no request headers or body — call anyhook_inspect with an id from here to read one event's payload. Uses your AnyHook account when connected, otherwise the local in-memory store.
Parameters:
limit— integerstatus— string — Filter by status. Account mode: queued|success|retrying|failed|rejected|circuit_open|quota_exceeded. Local mode: received|forwarded|failed|retrying.appSlug— string — Filter to a specific app slug (account mode).
Hints: read-only yes · destructive no · idempotent yes · open-world no
anyhook_inspectread-onlyFull detail for one event by id, including the inbound headers and body that anyhook_events omits, plus the destination's response. Payloads can be large and often contain personal data, so fetch one at a time, only when the body is needed. Account or local store.
Parameters:
id(required) — string — Event ID returned by anyhook_events.
Hints: read-only yes · destructive no · idempotent yes · open-world no
Measured by MCPYP probing. Untested fields are omitted, never estimated. Listing is always free; MCPYP never proxies calls or stores user tokens.