Webhook

io.github.rog0x由 GitHub 帳號 rog0x 發布v1.0.2更新於 Oct 24, 2026

Send, validate, debug webhooks for AI agents

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

本機 MCP 伺服器,讓 AI 助理傳送、驗證、產生與偵錯 webhook 請求,支援 Stripe、GitHub 與 Slack 簽章。

可以做什麼
  • 將 webhook 承載內容傳送到任意 URL,可自訂標頭、內容與 content-type,支援重試並回傳每次嘗試紀錄
  • 驗證 HMAC-SHA256 或 HMAC-SHA1 簽章,內建 Stripe、GitHub 與 Slack 格式
  • 為 Stripe、GitHub 與 Slack 事件產生擬真的測試承載內容,可覆寫指定欄位
  • 端對端偵錯 webhook 請求:解析標頭、檢查內容、辨識服務商、驗證簽章與時間戳
  • 計算含指數退避、抖動與每次嘗試時間戳的重試排程
適用情境
適合在開發或測試 webhook 整合時使用:讓助理送出測試投遞、核對簽章、產生範例承載內容,或排查收到的 webhook 為何驗證失敗。
執行需求
以本機 Node.js 程序執行,來自 npm 套件 @rog0x/mcp-webhook-tools;README 的安裝步驟會建置專案,並在 MCP 用戶端設定中指向建置後的進入檔案。未宣告需要帳號、API 金鑰或環境變數。連線目標 URL 需要網路。
安裝前請注意
webhook_send 會對任意指定 URL 發出真實的外部 HTTP 請求,承載內容與標頭會離開本機並送到第三方端點。簽章驗證與偵錯可能需要服務商的簽章密鑰,並會傳給工具。測試投遞可能在接收端服務觸發真實副作用。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Webhook,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

mcp-webhook-tools

Webhook management and testing tools for AI agents, built on the Model Context Protocol.

Tools

webhook_send

Send a webhook payload to any URL with custom headers, body, and content-type. Supports automatic retry with exponential backoff and jitter. Returns detailed attempt records including status codes, timing, and errors.

webhook_validate

Validate webhook signatures using HMAC-SHA256 or HMAC-SHA1. Includes built-in patterns for:

  • Stripe — t=TIMESTAMP,v1=SIGNATURE format with timestamp tolerance
  • GitHub — sha256=SIGNATURE or sha1=SIGNATURE format
  • Slack — v0=SIGNATURE with v0:timestamp:body signing scheme

Uses timing-safe comparison to prevent timing attacks.

webhook_generate_payload

Generate realistic webhook payloads for testing. Supported events:

ServiceEvents
Stripepayment_intent.succeeded
GitHubpush, pull_request
Slackmessage

Each payload includes randomized IDs, current timestamps, and suggested headers. Use the overrides parameter to customize specific fields.

webhook_debug

Analyze a webhook request end-to-end:

  • Parse and categorize headers (content-type, signature, timestamp, delivery ID, custom)
  • Validate the request body (size, JSON validity, encoding)
  • Auto-detect the provider (Stripe, GitHub, Slack)
  • Verify the signature if a secret is provided
  • Check timestamp freshness (default 300s threshold)
  • Report all issues found

webhook_retry_schedule

Calculate a retry schedule with exponential backoff. Shows each attempt's delay, cumulative elapsed time, and scheduled ISO timestamp. Configurable base delay, max delay cap, multiplier, and jitter.

Setup

bash
npm installnpm run build

MCP Configuration

Add to your MCP client config:

json
{  "mcpServers": {    "webhook-tools": {      "command": "node",      "args": ["path/to/mcp-webhook-tools/dist/index.js"]    }  }}

License

MIT

來源:README.md,提交 b5a04f8

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.2最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。