AI agent가 공개 웹훅 URL을 생성하고, 들어오는 요청을 대기하며, 캡처된 페이로드를 재생하거나 로컬 핸들러로 서명된 테스트 이벤트를 보낼 수 있도록 합니다.
다른 이름 THE-KIPDEV/webhook-toolkit, webhook-toolkit
- 스타
- 0
- Tools
- —
- 다운로드, 30일
- —
- 최신 버전
- 0.1.1
- 마지막 커밋
- 2026년 9월 18일
- 라이선스
- MIT
Webhook Toolkit MCP란?
Webhook Toolkit은(는) MCP server입니다. AI agent가 공개 웹훅 URL을 생성하고, 들어오는 요청을 대기하며, 캡처된 페이로드를 재생하거나 로컬 핸들러로 서명된 테스트 이벤트를 보낼 수 있도록 합니다.
프로젝트 README에서 생성된 요약
Webhook Toolkit MCP server 정보
Webhook Toolkit은 개발자와 AI agent가 웹훅을 관리, 테스트 및 디버깅할 수 있는 방법을 제공합니다. 사용자는 Stripe, GitHub 또는 Shopify와 같은 타사 서비스에서 들어오는 요청을 캡처하는 공개 URL을 생성할 수 있습니다. 이러한 요청은 로컬 핸들러로 전달하거나, 캡처된 페이로드로 재생하거나, 웹 인터페이스를 통해 검사하여 핸들러 충돌 시 데이터 손실을 방지할 수 있습니다.
Model Context Protocol을 사용하는 AI agent의 경우, 이 server는 엔드포인트를 생성하고, 특정 전달을 대기하며, 서명된 테스트 이벤트를 localhost로 직접 보내는 도구를 제공합니다. 개발자는 CLI 또는 타입 라이브러리를 사용하여 node:crypto를 통해 로컬에서 페이로드에 서명하거나 서명을 검증할 수 있어 보안 비밀을 안전하게 유지할 수 있습니다. 기본 기능은 익명으로 작동하지만, 영구 API key를 사용하면 기존 URL을 관리하고 AI가 생성한 핸들러 설명과 같은 고급 기능에 접근할 수 있습니다.
활용 사례
- 1서명 검증 실패 디버깅AI agent가 verify 도구를 사용하여 특정 제공업체가 웹훅 서명을 거부하는 정확한 이유를 설명할 수 있습니다.
- 2웹훅 통합 테스트 자동화개발자가 AI에게 공개 URL을 생성하고, 앱에서 동작을 트리거한 다음, 결과로 발생하는 웹훅이 도착할 때까지 대기하도록 지시할 수 있습니다.
- 3타사 서비스 이벤트 시뮬레이션실제 서비스 없이도 Slack 또는 Twilio와 같은 제공업체의 유효하게 서명된 이벤트를 로컬 개발 서버로 보낼 수 있습니다.
- 4캡처된 운영 환경 페이로드 재생개발자가 버그를 재현하기 위해 특정 캡처된 요청을 로컬 엔드포인트로 다시 보낼 수 있습니다.
프로젝트의 README를 바탕으로 작성되었습니다. 모든 활용 사례는 해당 내용의 인용문과 대조하여 확인합니다.
Webhook Toolkit MCP 설치 방법
형식 확인: 2026년 11월 10일Cursor에 추가Goose에 추가Claude Code에 Webhook Toolkit MCP 설치
$ claude mcp add --env 'WEBHOOK_TOOLKIT_KEY=<YOUR_WEBHOOK_TOOLKIT_KEY>' webhook-toolkit -- npx -y webhook-toolkitCursor에 Webhook Toolkit MCP 설치
~/.cursor/mcp.json
{
"mcpServers": {
"webhook-toolkit": {
"command": "npx",
"args": [
"-y",
"webhook-toolkit"
],
"env": {
"WEBHOOK_TOOLKIT_KEY": "<YOUR_WEBHOOK_TOOLKIT_KEY>"
}
}
}
}VS Code에 Webhook Toolkit MCP 설치
.vscode/mcp.json
{
"servers": {
"webhook-toolkit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"webhook-toolkit"
],
"env": {
"WEBHOOK_TOOLKIT_KEY": "<YOUR_WEBHOOK_TOOLKIT_KEY>"
}
}
}
}VS Code CLI에 Webhook Toolkit MCP 설치
$ code --add-mcp '{"name":"webhook-toolkit","type":"stdio","command":"npx","args":["-y","webhook-toolkit"],"env":{"WEBHOOK_TOOLKIT_KEY":"<YOUR_WEBHOOK_TOOLKIT_KEY>"}}'Claude Desktop에 Webhook Toolkit MCP 설치
claude_desktop_config.json
{
"mcpServers": {
"webhook-toolkit": {
"command": "npx",
"args": [
"-y",
"webhook-toolkit"
],
"env": {
"WEBHOOK_TOOLKIT_KEY": "<YOUR_WEBHOOK_TOOLKIT_KEY>"
}
}
}
}Codex에 Webhook Toolkit MCP 설치
$ codex mcp add webhook-toolkit --env 'WEBHOOK_TOOLKIT_KEY=<YOUR_WEBHOOK_TOOLKIT_KEY>' -- npx -y webhook-toolkitCodex config.toml에 Webhook Toolkit MCP 설치
~/.codex/config.toml
[mcp_servers.webhook-toolkit] command = "npx" args = ["-y", "webhook-toolkit"] [mcp_servers.webhook-toolkit.env] WEBHOOK_TOOLKIT_KEY = "<YOUR_WEBHOOK_TOOLKIT_KEY>"
Gemini CLI에 Webhook Toolkit MCP 설치
$ gemini mcp add -s user -e 'WEBHOOK_TOOLKIT_KEY=<YOUR_WEBHOOK_TOOLKIT_KEY>' webhook-toolkit npx -- -y webhook-toolkitGemini settings.json에 Webhook Toolkit MCP 설치
~/.gemini/settings.json
{
"mcpServers": {
"webhook-toolkit": {
"command": "npx",
"args": [
"-y",
"webhook-toolkit"
],
"env": {
"WEBHOOK_TOOLKIT_KEY": "<YOUR_WEBHOOK_TOOLKIT_KEY>"
}
}
}
}구성
WEBHOOK_TOOLKIT_KEY비밀Optional webhook-toolkit.com API key (whk_…): permanent URLs, listing URLs, AI explanations.
| 이름 | 설명 | 유형 |
|---|---|---|
| WEBHOOK_TOOLKIT_KEY | Optional webhook-toolkit.com API key (whk_…): permanent URLs, listing URLs, AI explanations. | 비밀 |
자동 검사
2026년 11월 14일에 실행됨전체 보고서 →자동 검사를 통과했습니다. 이는 보안 감사가 아닙니다. 코드를 직접 읽고 서버에 필요한 최소한의 권한만 부여하십시오. 검사 방식
- 소스 저장소 연결 및 접근 가능the-kipdev/webhook-toolkit is public and reachablegithub.com/the-kipdev/webhook-toolkit ↗통과
- 패키지가 이 저장소를 소스로 명시webhook-toolkit names the-kipdev/webhook-toolkit as sourcenpmjs.com/package/webhook-toolkit ↗통과
- 빌드 출처(Sigstore 증명)No build attestation published for this release검사되지 않음
- 오픈 소스 라이선스 (OSI)MITspdx.org/licenses/MIT.html ↗통과
- 최근 1년 내 커밋 또는 릴리스Last commit or release 2026-09-18github.com/the-kipdev/webhook-toolkit ↗통과
- OpenSSF Scorecard검사되지 않음
- 패키지 이름이 인기 패키지와 유사하지 않음No popular package one edit away from webhook-toolkit통과
- 패키지 및 해당 종속성에 중요한 보안 권고 없음100 resolved dependencies checked; no critical advisoryosv.dev ↗통과
- 모델에 대한 숨겨진 지침 없음0 tool descriptions and the README read; no override phrases, credential paths or hidden characters통과
- 파괴적인 도구에 라벨 표시됨검사되지 않음
- 원격 엔드포인트가 MCP 핸드셰이크에 응답initialize answered with protocol 2025-06-18 in 178 ms통과
README
GitHub에서 보기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 <url>] |
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 <url|port> |
Real tunnel: callers get your local app's response. Paid. |
whtk sign <provider> --secret <s> |
Build a validly signed webhook: prints headers + a ready-to-run curl, or sends it with --send. |
whtk verify <provider> --secret <s> … |
Check a signature, and when it fails, say why. |
whtk replay <token> <id> --to <url> |
Re-send a captured request from your machine (localhost works). |
whtk requests <token> |
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/<token>/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. --jsonprints 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 <auth token> --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 secret |
| Slack | slack |
X-Slack-Signature, X-Slack-Request-Timestamp |
HMAC-SHA256 hex of v0:ts:body |
signing secret |
| Twilio | twilio |
X-Twilio-Signature |
HMAC-SHA1 base64 of URL + sorted params (bodySHA256 for JSON) |
auth token, plus url |
| Mailgun | mailgun |
signature object in the body |
HMAC-SHA256 hex of timestamp + token |
webhook signing key |
| Svix / Standard Webhooks (Clerk, Resend) | svix |
svix-* and webhook-* headers |
HMAC-SHA256 base64 of id.ts.body |
whsec_… |
| Paddle Billing | paddle |
Paddle-Signature |
HMAC-SHA256 hex of ts:body |
pdl_ntfset_… |
| Discord interactions | discord |
X-Signature-Ed25519, X-Signature-Timestamp |
Ed25519 | verify: app public key; sign: a test private key |
import { sign, verify } from "webhook-toolkit";
// In an Express handler (use express.raw so the body stays byte-exact)
app.post("/webhooks/stripe", express.raw({ type: "*/*" }), (req, res) => {
const result = verify("stripe", { secret: process.env.STRIPE_WEBHOOK_SECRET!, rawBody: req.body, headers: req.headers });
if (!result.valid) return res.status(400).send(result.message);
// …
});
verify() returns { valid, reason?, message, expected?, received?, timestamp? }. Failure reasons: missing_signature, malformed_signature, missing_timestamp, missing_url, invalid_secret, timestamp_out_of_tolerance (default 300 s, toleranceSeconds: 0 disables), signature_mismatch, secret_whitespace, body_trailing_newline_added, body_trailing_newline_removed, body_line_endings_changed, url_mismatch (Twilio), body_hash_mismatch (Twilio JSON). Comparisons are constant-time.
Provider detection
detectProvider(headers, body) returns { provider, event } from a data-driven table (DETECTION_RULES), for example { provider: "stripe", event: "invoice.paid" } or { provider: "twilio", event: "message.received" }. It knows Stripe, GitHub, GitLab, Bitbucket, Shopify, WooCommerce, Slack, SendGrid, Twilio, Paddle, Svix (Clerk, Resend), GoCardless, PayPal, Discord, Linear, Typeform, Calendly, Square, HubSpot, Zoom, Lemon Squeezy, Coinbase Commerce, Twitch, Mux, Vercel, Netlify, Sentry, Trello, Plaid, Mandrill, Jira, Postmark, Mollie, Adyen, Mailgun and Redsys. Adding one is a table entry plus a test fixture.
Relay: a real tunnel (paid)
listen --forward is free and fine for most webhooks, but the sender receives the capture URL's response, not your app's. When the sender needs your real answer (Slack slash commands, Twilio TwiML, Shopify mandatory responses, OAuth callbacks), use the relay:
whtk login # once
whtk relay --to 3000
webhook-toolkit relay · live
Public URL https://webhook-toolkit.com/relay/my-app (any sub-path works)
Forwarding → http://localhost:3000
Requests to the public URL are proxied over a WebSocket to your machine and your local response (status, headers, body) goes back to the caller. It reconnects with backoff. The relay comes with the 7-day Pass or Pro.
Free vs paid
| Anonymous | Free account | Pass (7 days, €5 once) / Pro (€9/month) | |
|---|---|---|---|
| Capture URLs | up to 30 new per day, each lasts 7 days | 1 permanent URL | 25 permanent URLs |
| History | 7 days | 7 days | 30 days |
CLI listen --forward, replay, sign, verify, MCP |
✓ | ✓ | ✓ |
| Relay (real tunnel to localhost) | ✓ | ||
| AI explanations and generated handlers | 3 free trials | 3 free trials | ✓ |
Details and the Business plan: webhook-toolkit.com/pricing. Everything that runs locally (signing, verifying, detection, forwarding) is free and stays free.
How it compares
- smee.io is a free, open-source service from the GitHub Probot team that forwards webhooks to localhost through its client. If forwarding is all you need, it does the job. webhook-toolkit's
listen --forwardworks the same way and adds a stored inspector, provider/event detection, replay, signing and verification tools, a test-suite API and an MCP server. - webhook.site is a mature hosted request inspector with custom responses and paid automation features. webhook-toolkit covers the inspect-and-respond part and focuses on the local developer loop: forwarding, signed test events, signature diagnosis, tests and agents.
- ngrok is a general-purpose tunnel for any HTTP or TCP service, with a local traffic inspector. Pick it to expose a whole app. webhook-toolkit's free flow needs no account, and its paid relay is scoped to webhooks.
Library reference
import { WebhookToolkit, WebhookToolkitError, sign, verify, detectProvider, forwardRequest } from "webhook-toolkit";
const wt = new WebhookToolkit({ apiKey, baseUrl }); // both optional (env: WEBHOOK_TOOLKIT_KEY, WEBHOOK_TOOLKIT_URL)
| Method | Returns |
|---|---|
createEndpoint({ name? }) |
Endpoint: { token, url, inspectUrl, expiresAt, createdAt, response, … } |
listEndpoints() |
Endpoint[] (API key required) |
getEndpoint(token) / deleteEndpoint(token) |
Endpoint / void |
updateEndpoint(token, { name?, response?: { status?, body?, contentType? } }) |
Endpoint |
listRequests(token, { limit?, after? }) |
CapturedRequest[], newest first |
getRequest(token, id) / clearRequests(token) |
CapturedRequest / void |
waitForRequest(token, { timeoutMs?, after?, filter?, signal? }) |
CapturedRequest (rejects with code: "timeout") |
stream(token, onRequest, { signal?, after?, onOpen?, onReconnect? }) |
Promise<void>: live SSE feed, reconnects and catches up on missed requests |
replayRequest(token, id, url) |
server-side replay to a public URL |
explainRequest(token, id, { mode?, language? }) |
AI explanation or handler (paid, 3 free trials) |
me(), listRelays(), createRelay() |
account, plan, relays |
forwardRequest(request, target) re-sends a captured request from your machine (the same function behind listen --forward and replay). Errors are WebhookToolkitError with status (HTTP status, 0 for network errors), code (unauthorized, upgrade_required, plan_limit, expired, timeout, network_error, …) and upgradeUrl on 402 answers. Everything is typed; types ship with the package.
Configuration
| Variable | Purpose |
|---|---|
WEBHOOK_TOOLKIT_KEY |
API key (whk_…), created in your dashboard. Takes precedence over the saved key; --key overrides both. |
WEBHOOK_TOOLKIT_URL |
API origin, e.g. http://localhost:3000 for a self-hosted instance. Same as --base-url. |
WEBHOOK_TOOLKIT_RELAY_TOKEN |
Relay token for whtk relay. |
NO_COLOR / FORCE_COLOR |
Terminal colors. |
whtk login stores the key in ~/.config/webhook-toolkit/config.json (or $XDG_CONFIG_HOME/webhook-toolkit/config.json) with mode 600. The same file remembers the last URL used by listen.
A capture URL's token is a capability: anyone holding it can read the requests sent to it. Use an account for anything sensitive; the owner's key is then required to change or delete the URL.
Requirements
Node.js 18.17 or later. Runtime dependencies: @modelcontextprotocol/sdk and zod (MCP server) and ws (relay).
Contributing
Issues and pull requests are welcome: see CONTRIBUTING.md. New providers for detection or signing are the easiest place to start.
License
MIT © 2026 Kipdev. Hosted service: webhook-toolkit.com.
Webhook Toolkit MCP 질문
Webhook Toolkit MCP를 Claude Code에 추가하려면 어떻게 하나요?
터미널에서 claude mcp add --env 'WEBHOOK_TOOLKIT_KEY=<YOUR_WEBHOOK_TOOLKIT_KEY>' webhook-toolkit -- npx -y webhook-toolkit를 실행합니다. 모든 프로젝트에서 사용할 수 있게 하려면 --scope user를 추가합니다.
Webhook Toolkit MCP를 Cursor에 추가하려면 어떻게 하나요?
~/.cursor/mcp.json를 열고 mcpServers 아래에 서버를 추가합니다. 위 설치 섹션에 표시된 Cursor 구성을 사용합니다.
API key 없이 MCP server를 사용할 수 있나요?
네, 대부분의 도구는 익명으로 작동합니다. 다만 영구적인 URL을 나열하거나 요청 내용을 설명하려면 key가 필요합니다.
로컬 환경에서 웹훅을 어떻게 테스트할 수 있나요?
CLI를 사용하여 웹훅을 수신하고 로컬 URL로 전달하거나, MCP server를 사용하여 캡처된 요청을 localhost로 재생할 수 있습니다.
이 툴킷이 서명 검증을 처리할 수 있나요?
네, 다양한 제공업체를 위해 페이로드에 서명하고 서명을 검증할 수 있으며, 서명이 실패하는 정확한 이유를 설명해 줍니다.