Webhook Toolkit
What it does
Webhook URLs for AI agents: receive, wait for, replay, sign and verify webhooks (Stripe, GitHub…).
- Connects 电脑或云端
- Account or key Cloud: Works without a key · add Authorization if you have one (often raises limits) · Local: Needs WEBHOOK_TOOLKIT_KEY
- Category 开发者工具
安装
选择你使用的 AI 应用,然后复制设置。
通过 5/5 项检查 · 你的提问会经过开发者的服务器(webhook-toolkit.com)
第一步:你用哪个 AI?
选择你用的应用,步骤会显示在下方。
可连接 Claude · 约 2 分钟
不需要密钥,不用安装程序 · 在 claude.ai 或桌面应用设置一次,即可在聊天中使用 · 免费账户可添加 1 个 · Team/Enterprise 方案由所有者(Owner)添加
打开 Claude 的 Connectors 页面
CustomizeConnectors
点击“+ Add” → “Add custom connector”,填写这 2 项
把这里的内容复制到 Claude 中同名的输入框,然后点击 Continue
Name · 名称Webhook ToolkitRemote MCP server URL · 地址https://webhook-toolkit.com/mcpAuthentication 保持 Claude 检测到的设置,然后点击 Add
在聊天中开启
+ConnectorsWebhook Toolkit
试一试
用 Webhook Toolkit 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude 说正在使用 Webhook Toolkit,或回答中出现 Webhook Toolkit 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
仅企业版 ChatGPT 可连接
适用于网页版 ChatGPT Business、Enterprise 或 Edu,需由工作区管理员或所有者添加 · 使用 Free、Plus 或 Pro:你的 ChatGPT 方案暂时无法自行连接 MCP
在网页版 ChatGPT 打开添加 MCP 的页面
Plugins+Add custom MCP server
填写名称和地址
输入名称,在 Connection 下粘贴地址,勾选风险提示,然后点击 Create as a plugin
Name · 名称Webhook ToolkitConnection · 地址https://webhook-toolkit.com/mcp在聊天中选择 Webhook Toolkit
开启新聊天,输入前先从插件列表中选择 Webhook Toolkit
试一试
用 Webhook Toolkit 告诉我你能帮我做什么,然后做一件给我看✓ 如果 ChatGPT 说正在使用 Webhook Toolkit,或回答中出现 Webhook Toolkit 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 OpenAI 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Claude Code · 约 2 分钟
不需要密钥,不用安装程序
打开终端
Mac:按 Command+空格,输入 Terminal · Windows:打开 PowerShell
粘贴这条命令并按 Enter
claude mcp add --transport http --scope user webhook-toolkit https://webhook-toolkit.com/mcp在 Claude Code 中输入 /mcp
应能看到 Webhook Toolkit 在列表中并显示已连接
试一试
用 Webhook Toolkit 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Claude Code 说正在使用 Webhook Toolkit,或回答中出现 Webhook Toolkit 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Anthropic 帮助页面核实 · 你的界面可能因版本略有不同
可连接 Cursor · 约 2 分钟
不需要密钥,不用安装程序
在 Cursor 中以 Agent 模式打开 AI 聊天
试一试
用 Webhook Toolkit 告诉我你能帮我做什么,然后做一件给我看✓ 如果 Cursor 说正在使用 Webhook Toolkit,或回答中出现 Webhook Toolkit 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 Cursor 帮助页面核实 · 你的界面可能因版本略有不同
可连接 VS Code · 约 2 分钟
不需要密钥,不用安装程序
在 VS Code 中以 Agent 模式打开 AI 聊天
试一试
用 Webhook Toolkit 告诉我你能帮我做什么,然后做一件给我看✓ 如果 VS Code 说正在使用 Webhook Toolkit,或回答中出现 Webhook Toolkit 的工具名称,就表示连接成功
菜单名称已于 2026年11月11日 对照 VS Code 帮助页面核实 · 你的界面可能因版本略有不同
其他支持 MCP 的应用(如 Windsurf、Zed、Gemini CLI)添加方式各不相同,请在应用列表中查看
通过网页连接的应用使用的地址
https://webhook-toolkit.com/mcpJSON 设置在下方“开发者专用”中
开发者专用:终端命令和 JSON 设置
通过网页连接
Claude Code
claude mcp add --transport http --scope user webhook-toolkit https://webhook-toolkit.com/mcpCursor (~/.cursor/mcp.json)
{
"mcpServers": {
"webhook-toolkit": {
"url": "https://webhook-toolkit.com/mcp"
}
}
}VS Code (mcp.json)
{
"servers": {
"webhook-toolkit": {
"type": "http",
"url": "https://webhook-toolkit.com/mcp"
}
}
}安装在电脑上
Claude Code
claude mcp add --scope user webhook-toolkit --env WEBHOOK_TOOLKIT_KEY=your-value -- npx -y webhook-toolkit mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"webhook-toolkit": {
"command": "npx",
"args": [
"-y",
"webhook-toolkit",
"mcp"
],
"env": {
"WEBHOOK_TOOLKIT_KEY": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"webhook-toolkit": {
"command": "npx",
"args": [
"-y",
"webhook-toolkit",
"mcp"
],
"env": {
"WEBHOOK_TOOLKIT_KEY": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"webhook-toolkit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"webhook-toolkit",
"mcp"
],
"env": {
"WEBHOOK_TOOLKIT_KEY": "your-value"
}
}
}
}需要你填写的值
WEBHOOK_TOOLKIT_KEY机密 envOptional webhook-toolkit.com API key (whk_…): permanent URLs, listing URLs, AI explanations.- Optional: Bearer
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
一览
哪些应用可以使用它
依据这个服务器的连接方式和各应用自己的文档,检查于 2026年11月10日。
通过互联网连接,适用于
ClaudeChatGPTGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatOpen WebUIRaycast
在你的电脑上运行,适用于
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
它能做什么
工具名称和描述与服务器在 2026年11月9日 报告的完全一致。这些内容由作者撰写,不是我们写的;我们以纯文本形式显示。
create_webhook_urlCreate a public HTTPS URL that captures every request sent to it (any method, any sub-path). Use it when you need an endpoint to receive a webhook from a third-party service while building or debugging an integration. Returns the URL to configure in the service and a live inspect
list_webhook_urlsList the webhook URLs of the account behind the API key (requires an API key).
wait_for_webhookBlock until the next request reaches a webhook URL (or the timeout elapses), then return it in full: method, path, headers, body, detected provider and event. Use right after triggering an action that should send a webhook. Call again with `after` set to the last request's create
list_webhook_requestsList the most recent requests captured by a webhook URL, newest first (summaries; use get_webhook_request for one full request).
get_webhook_requestReturn one captured request in full (headers, raw body, detected provider/event).
set_webhook_responseChoose what the webhook URL answers to callers (status code, body, content type) — e.g. return 500 to test the sender's retries, or a specific JSON/XML body the service expects.
replay_webhook_requestRe-send a captured request (same method, headers and raw body) to a PUBLIC URL and return the target's response. Localhost and private IPs are refused here: for localhost use the CLI (`npx webhook-toolkit replay`) or the local MCP server (`npx webhook-toolkit mcp`).
sign_webhook_payloadBuild a webhook body with a VALID signature header for a provider, to test a handler's signature verification without triggering a real event. Providers: stripe, github, shopify, slack, twilio, mailgun. Returns the headers, the exact body to send and a ready-to-run curl command.
verify_webhook_signatureCheck whether a webhook signature is valid for a raw body and a secret, and diagnose why it fails (wrong secret, whitespace, re-serialized JSON body, expired timestamp, wrong URL for Twilio). Providers: stripe, github, shopify, slack, twilio.
explain_webhook_requestAI analysis of a captured request. mode=explain: who sent it, which event, key fields, how to verify the signature, pitfalls. mode=handler: complete receiving code that verifies the signature and handles this event. Included in paid plans; anonymous and free users get 3 trials.
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月12日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 THE-KIPDEV 验证,该账户拥有此仓库
- ✓ 通过
仍在维护
代码最后更新于2个月前
- ✓ 通过
有许可证
使用 MIT
- ✓ 通过
端点有响应
在 567 毫秒内响应(HTTP 200)
- – 不适用
使用 OAuth 登录
无需登录
- ✓ 通过
工具描述中没有隐藏指令
已读取 10 个工具描述,未发现针对 AI 的隐藏指令
讨论
提问、分享技巧或报告无法使用。按“有帮助”数量排序。
用户评价
还没有评价
与“开发者工具”中的其他服务器比较i
- 星标数多于此分类中其他 5811 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 5811 个服务器的 39% 更新
- 基础检查结果等于或优于此分类中其他 5811 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
Webhook Toolkit 安全吗?
它在 5 项适用的基础检查中通过了 5 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:WEBHOOK_TOOLKIT_KEY
它在我的电脑上运行还是在云端?
两种方式都可以:安装在你的电脑上,或者连接云端版本。
它还在维护吗?
GitHub 仓库最后更新于2个月前,最新版本(0.1.1)于2个月前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,因此也能用于支持远程 MCP 的应用,例如 ChatGPT Business 及以上方案。
有什么可以替代它?
同一分类中有:REA, GitHub, Serena MCP: the IDE for your agent
同类别的其他选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
GitHub
Connect AI assistants to GitHub - manage repos, issues, PRs, and workflows through natural language.
Serena MCP: the IDE for your agent
A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
webhook-toolkit
Receive, forward, sign and verify webhooks from your terminal, your test suite and your AI agent. One package: a CLI (webhook-toolkit, alias whtk), a typed library and an MCP server, backed by webhook-toolkit.com.
Quick start
npx webhook-toolkit listen --forward http://localhost:3000/webhooks
That's it: no account, no config. You get a public URL; paste it into Stripe, GitHub, Shopify or any other sender, and every webhook shows up in your terminal and is re-sent to your local handler:
webhook-toolkit · listening
Webhook URL https://webhook-toolkit.com/r/l90c9MKIdo0o Inspector https://webhook-toolkit.com/e/l90c9MKIdo0o Forwarding → http://localhost:3000/webhooks Expires in 7 days (2026-09-25 15:42) Anonymous URL. Run webhook-toolkit login to get a permanent one.
Waiting for webhooks. Ctrl+C to stop.
15:42:11 POST /stripe stripe checkout.session.completed 248 B ↳ 200 OK · 3 ms 15:42:11 POST /github github push 269 B ↳ 500 Internal Server Error · 1 ms {"error":"handler crashed: cannot read properties of undefined"}
Every request is also kept in a web inspector (headers, raw body, replay), so nothing is lost when your handler crashes.
Contents
- CLI
- Test webhooks in your test suite
- Use it from AI agents (MCP)
- Signing and verifying
- Relay: a real tunnel (paid)
- Free vs paid
- How it compares
- Library reference
- Configuration
CLI
npm i -g webhook-toolkit # or run any command with npx webhook-toolkit …
| Command | What it does |
|---|---|
whtk listen [--forward ] | Public URL + live stream of incoming requests, optionally re-sent to localhost. Reuses your last URL while it is alive (--new for a fresh one). |
whtk relay --to | Real tunnel: callers get your local app's response. Paid. |
whtk sign --secret | Build a validly signed webhook: prints headers + a ready-to-run curl, or sends it with --send. |
whtk verify --secret … | Check a signature, and when it fails, say why. |
whtk replay --to | Re-send a captured request from your machine (localhost works). |
whtk requests | List captured requests (--json for scripts). |
whtk endpoints | List your account's URLs. |
whtk login / logout / whoami | Save, remove or inspect your API key. |
whtk mcp | Start the MCP server on stdio. |
A few things worth knowing:
- Sub-paths and query strings are kept. A request to
…/r/ /stripe?x=1is forwarded tohttp://localhost:3000/webhooks/stripe?x=1, so one URL can feed several handlers. - Headers are forwarded as received (minus hop-by-hop headers,
hostandcontent-length), so signature checks in your handler pass exactly as in production. - `--json` prints NDJSON (
listening,request,forwardevents) for scripting:whtk listen -f 3000 --json | jq .request.event. - Colors follow
NO_COLOR,FORCE_COLORand are off when output is not a terminal.
Send a signed test event
# Prints the headers and a curl command, with a realistic sample event
whtk sign stripe --secret whsec_… --event checkout.session.completed
Or send it straight to your handler
whtk sign github --secret my-secret --file push.json --send http://localhost:3000/api/github whtk sign twilio --secret --url https://example.com/sms --send 3000
Debug "invalid signature"
whtk verify stripe --secret whsec_test_secret --body-file body.json \
-H "Stripe-Signature: t=1726000000,v1=a530ce3d81556a0eced506e1d1cad777bc55bc1e408e54dd6bfef08e1dde216c"
✗ Invalid Stripe signature (body_trailing_newline_added) The signature matches the body without its trailing newline: a newline was appended after signing (proxy, logger, copy-paste). Verify the raw bytes exactly as received. expected t=1726000000,v1=1e0085bf1054f89ac8882e2e5fcbfdf301b1d6445e8ed7a316120cd5dc651ba9 received t=1726000000,v1=a530ce3d81556a0eced506e1d1cad777bc55bc1e408e54dd6bfef08e1dde216c timestamp 1726000000 (738 days ago)
The verifier replays the usual mistakes (whitespace in the secret, added or stripped trailing newline, CRLF conversion, expired timestamp, and for Twilio: http vs https, port, query string, trailing slash, repeated parameters) and tells you which one matches. The same logic powers the online signature validator.
Test webhooks in your test suite
The library gives your tests a real public URL and a way to wait for what lands on it. It works anonymously; set WEBHOOK_TOOLKIT_KEY in CI for permanent URLs and higher limits.
Vitest (or Jest in ESM mode)
import { expect, test } from "vitest";
import { WebhookToolkit, verify } from "webhook-toolkit";
const wt = new WebhookToolkit(); // anonymous, or reads WEBHOOK_TOOLKIT_KEY
test("creating an order notifies the customer's webhook", async () => { const endpoint = await wt.createEndpoint({ name: "ci-orders" });
// The app under test sends its outgoing webhooks to the capture URL. await api.post("/settings/webhooks", { url: endpoint.url, secret: "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw" }); await api.post("/orders", { sku: "tshirt", quantity: 2 });
const req = await wt.waitForRequest(endpoint.token, { timeoutMs: 30_000, filter: (r) => JSON.parse(r.body).type === "order.created", });
expect(JSON.parse(req.body).data.quantity).toBe(2); // Your outgoing signatures are correct, too: expect(verify("svix", { secret: "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw", rawBody: req.body, headers: req.headers }).valid).toBe(true); });
waitForRequest checks requests that already arrived since the endpoint was created, then long-polls until timeoutMs, so the order of "trigger" and "wait" does not matter. It rejects with a WebhookToolkitError (code: "timeout") when nothing matched.
To test your handler without any network at all, sign the payload locally:
import { sign } from "webhook-toolkit";
const { headers, body } = sign("stripe", { secret: process.env.STRIPE_WEBHOOK_SECRET!, event: "checkout.session.completed" }); const res = await fetch("http://localhost:3000/api/webhooks/stripe", { method: "POST", headers, body }); expect(res.status).toBe(200);
Playwright
import { expect, test } from "@playwright/test";
import { WebhookToolkit } from "webhook-toolkit";
const wt = new WebhookToolkit();
test("'Send test event' reaches the configured URL", async ({ page }) => { const endpoint = await wt.createEndpoint();
await page.goto("/settings/integrations"); await page.getByLabel("Webhook URL").fill(endpoint.url); await page.getByRole("button", { name: "Save" }).click(); await page.getByRole("button", { name: "Send test event" }).click();
const req = await wt.waitForRequest(endpoint.token, { timeoutMs: 15_000 }); expect(req.method).toBe("POST"); expect(req.headers["content-type"]).toContain("application/json"); });
The package is ESM-only. CommonJS test runners work on Node ≥ 20.19 / 22.12 (native
require(esm)); Jest needs its ESM mode.
Use it from AI agents (MCP)
webhook-toolkit mcp is a Model Context Protocol server. Your coding agent can create a webhook URL, wait for the delivery after triggering it, read the payload, then replay it or send freshly signed events to your localhost handler while it fixes the code.
The API key is optional: everything except list_webhook_urls and explain_webhook_request works anonymously.
Claude Code
claude mcp add webhook-toolkit -- npx -y webhook-toolkit mcp
with a key:
claude mcp add webhook-toolkit --env WEBHOOK_TOOLKIT_KEY=whk_… -- npx -y webhook-toolkit mcp
Cursor (.cursor/mcp.json), Windsurf (~/.codeium/windsurf/mcp_config.json), Claude Desktop (claude_desktop_config.json)
{
"mcpServers": { "webhook-toolkit": { "command": "npx", "args": ["-y", "webhook-toolkit", "mcp"], "env": { "WEBHOOK_TOOLKIT_KEY": "whk_…" } } } }
VS Code (.vscode/mcp.json)
{
"inputs": [ { "type": "promptString", "id": "webhook-toolkit-key", "description": "webhook-toolkit.com API key (optional)", "password": true } ], "servers": { "webhook-toolkit": { "type": "stdio", "command": "npx", "args": ["-y", "webhook-toolkit", "mcp"], "env": { "WEBHOOK_TOOLKIT_KEY": "${input:webhook-toolkit-key}" } } } }
Codex CLI (~/.codex/config.toml)
[mcp_servers.webhook-toolkit]
command = "npx" args = ["-y", "webhook-toolkit", "mcp"] env = { WEBHOOK_TOOLKIT_KEY = "whk_…" }
ChatGPT, Claude.ai and other remote-capable clients: add a custom connector pointing at the hosted server, nothing to install:
https://webhook-toolkit.com/mcp
(Streamable HTTP, optional Authorization: Bearer whk_….) The hosted server cannot reach your machine, so replaying to localhost and send_signed_webhook need the local server above.
| Tool | Use it to |
|---|---|
create_webhook_url | Get a public URL to receive a webhook from a third-party service or the app under test |
wait_for_webhook | Block until the delivery arrives (filters: provider, event, method, path, body); safe to call after triggering |
list_webhook_requests / get_webhook_request | See what was actually sent: headers, raw body, detected provider and event |
replay_webhook_request | Re-send a captured request from the local machine to e.g. http://localhost:3000/api/webhooks |
send_signed_webhook | POST a validly signed event (Stripe, GitHub, Shopify, Slack, Twilio, Mailgun, Svix, Paddle, Discord) to your handler |
sign_webhook_payload | Compute signature headers and a curl command without sending |
verify_webhook_signature | Explain why a handler rejects a signature |
set_webhook_response | Change what the URL answers (status, body): simulate failures, answer challenges |
list_webhook_urls | Find an existing permanent URL (key required) |
explain_webhook_request | AI explanation of a payload, or a generated handler (paid, 3 free trials) |
Outputs are compact text plus the key JSON; bodies over 20 KB are truncated with a note pointing to the inspector. To embed the server in your own process: import { createMcpServer } from "webhook-toolkit/mcp".
Signing and verifying
sign() and verify() run locally with node:crypto: secrets never leave your machine. Signatures are byte-for-byte identical to the webhook-toolkit.com signer, and the tests check them against the providers' published examples (GitHub, Slack, Twilio, Svix).
| Provider | id | Signature | Algorithm | secret |
|---|---|---|---|---|
| Stripe | stripe | Stripe-Signature | HMAC-SHA256 hex of t.body | endpoint secret whsec_… |
| GitHub, Gitea, Forgejo | github | X-Hub-Signature-256 (+ X-Hub-Signature) | HMAC-SHA256 hex of the body | webhook secret |
| Shopify | shopify | X-Shopify-Hmac-Sha256 | HMAC-SHA256 base64 of the body | app client se