
AnyHook (moved)
io.github.gba3124由 GitHub 帳號 gba3124 發布v0.2.3更新於 Oct 24, 2026
Moved to net.anyhook/anyhook. Webhook relay for agents: keyless quickstart, replay, mock.
發布方自己的服務:AnyHook
概覽
AnyHook Webhook 中繼 MCP 伺服器,讓助理檢視 Webhook 事件、重播投遞、產生帶簽章的模擬負載並管理中繼應用程式。
- 可以做什麼
- 列出並建立 Webhook 中繼應用程式及其入站 URL,並連接服務商金鑰,讓 Webhook 在服務商端註冊並從第一個事件起驗證簽章(金鑰不會被儲存)。依應用程式或狀態列出近期事件,檢視單一事件的標頭、內容與簽章狀態,並列出從未送達目標的事件。將已儲存事件重播至其目標,批次重播某個應用程式的所有失敗事件,並列出支援的 Webhook 服務商。為本機處理程式測試產生帶簽章的 Stripe、GitHub 或 Slack 負載,用密鑰驗證傳入簽章,並向記憶體儲存模擬事件。無金鑰的本機模式下,快速開始工具可自助開通免費中繼端點。
- 適用情境
- 適合在開發或維運 Webhook 整合時使用,讓助理讀取真實事件日誌、排查簽章失敗、重送失敗投遞,或為本機處理程式產生帶簽章的測試負載。也方便用一句提示快速建立中繼端點。
- 執行需求
- 透過 npx 在本機執行(需要 Node.js)。遠端模式需要 ANYHOOK_API_KEY,即 AnyHook 儀表板中的個人金鑰;沒有它則進入本機模式,提供 mock、verify、providers 工具與記憶體儲存。ANYHOOK_API_BASE 可覆寫 API 基礎位址,供自架部署使用。另有託管遠端端點,支援瀏覽器登入或 Bearer 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 AnyHook (moved),將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
anyhook-mcp
An MCP server that gives AI agents eyes on webhooks, inspect events, replay deliveries, mock signed payloads, create apps. Designed for the 45-second AI handler workflow.
Apache 2.0 · npm i -g anyhook-mcp
Already have an AnyHook account?
Connect the hosted endpoint instead of running anything: 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: https://anyhook.net/mcp.
No account yet (local mode)
No API key needed to start:
Then ask your agent to run anyhook_quickstart, it creates a free relay
endpoint + API key instantly (no signup), and this MCP session auto-connects.
All account tools (events, replay, apps) work immediately. The response includes
a claim_url to keep the endpoint permanently; unclaimed, it expires in 7 days.
It is a new endpoint, not an account you already have.
What it does
Drop this MCP server into Claude Desktop / Cursor / Claude Code and your agent can:
anyhook_apps_list, see every app in your AnyHook account with its inbound URLanyhook_apps_create, spin up a new app from a promptanyhook_connect, give a Stripe key or GitHub token: the webhook is registered at the provider and signature-checked from the first event (the key is not stored)anyhook_events, list recent events, filter by app / statusanyhook_inspect, pull a single event's headers, body, signature statusanyhook_replay, re-send a stored event to its destinations (outside the monthly quota, within a daily replay limit; an event held for quota counts as new)anyhook_undelivered, list events that never reached a destinationanyhook_replay_failed, bulk-replay every failed event for an appanyhook_mock, generate a signed Stripe / GitHub / Slack payload for local handler testinganyhook_verify, verify any incoming signature against your secretanyhook_providers, list every webhook provider AnyHook supports
The inbound URL an app gives you accepts webhook POSTs and also answers provider
setup handshakes automatically: Meta's GET carrying hub.mode=subscribe gets its
hub.challenge echoed back, even before the app is configured, so the URL can be
registered in the Meta App Dashboard first and wired up after.
Two modes:
Quick start
Get an API key from https://anyhook.net/dashboard/settings. Keys start with ahk_live_.
Install in Claude Desktop
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Restart Claude Desktop. The tools appear under the hammer icon.
Install in Cursor
Open Settings → MCP → Add new MCP server. Or edit ~/.cursor/mcp.json:
Install in Claude Code
Or add the same mcpServers entry to your project's .mcp.json.
Remote endpoint (no local process)
The same server is hosted at https://anyhook.net/mcp (streamable HTTP,
stateless). Claude Code, claude.ai, Codex and VS Code sign in through the
browser (OAuth), no key to copy: https://anyhook.net/mcp has the steps for
each. Any other client sends Authorization: Bearer ahk_live_... with a key
from the dashboard:
The endpoint has no anyhook_quickstart: that tool exists only in local mode.
Local-only mode (no account needed)
Skip the env var:
The agent gets anyhook_mock, anyhook_verify, anyhook_providers, anyhook_simulate, anyhook_events (against memory store), and anyhook_inspect (against memory store). Useful for "generate me a signed Stripe payment_intent.succeeded and POST it to localhost:3000" flows during local dev.
Example conversations
Triage a failing endpoint:
"Show me undelivered events for the
stripe-prodapp from the last hour, then replay them."
The agent calls anyhook_undelivered then anyhook_replay for each, surfacing the responses inline.
Create an app for a new integration:
"Make a new AnyHook app called
replicate-video-jobs, sourcegeneric, point it athttps://my-app.vercel.app/api/replicate-callback."
Calls anyhook_apps_create, returns the inbound URL you paste into Replicate.
Sanity-check a signature failure:
"Here's an inbound payload from Stripe that AnyHook is rejecting. Verify the signature manually with secret
whsec_xxx."
Calls anyhook_verify with the supplied headers + body + secret, returns valid: false plus the failure reason.
Mock a webhook for local testing:
"Generate a Stripe
payment_intent.succeededevent and POST it to http://localhost:3000/api/webhooks/stripe."
Calls anyhook_mock with targetUrl set; returns the request that was sent + your handler's response.
Environment variables
Why this is interesting
AI agents have been blind to their own webhook infrastructure. They can write the integration code, but once an event misbehaves in production they can't see it, you tell them what happened. With this MCP server, Claude / Cursor can read the actual event log, replay deliveries, debug signature failures, and even spin up new apps. It closes the loop between writing webhook code and operating it.
License
Apache-2.0 © AnyHook
來源:packages/mcp/README.md,提交 7e5b18b
工具
0版本歷史
1- v0.2.3最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分