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 签名。

可以做什么
  • 向任意 URL 发送 webhook 载荷,可自定义请求头、正文和内容类型,支持重试并返回尝试记录
  • 校验 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 分

    请在仓库或注册中心条目中声明许可证。