GitHub
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)
Webhook URLs for AI agents: receive, wait for, replay, sign and verify webhooks (Stripe, GitHub…).
สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน
ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry
เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
WEBHOOK_TOOLKIT_KEY, Authorizationค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต
ต้องเตรียมก่อน
คุณใช้แอปไหน
เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”
ที่อยู่นี้ต้องใส่ key ใน header ของคำขอ ซึ่งเมนูเพิ่ม connector ใส่ให้ไม่ได้ ใช้ Claude Code, Cursor หรือ VS Code แทน
เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json
{
"mcpServers": {
"webhook-toolkit": {
"command": "npx",
"args": [
"-y",
"webhook-toolkit",
"mcp"
],
"env": {
"WEBHOOK_TOOLKIT_KEY": "ใส่ค่าของคุณ"
}
}
}
}พิมพ์คำสั่งนี้ใน Terminal
claude mcp add --transport http webhook-toolkit https://webhook-toolkit.com/mcp --header 'Authorization: ใส่ค่าของคุณ'claude mcp add webhook-toolkit --env WEBHOOK_TOOLKIT_KEY='ใส่ค่าของคุณ' -- npx -y webhook-toolkit mcpเติมค่าที่เว้นว่างไว้ก่อนรัน
วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"webhook-toolkit": {
"url": "https://webhook-toolkit.com/mcp",
"headers": {
"Authorization": "ใส่ค่าของคุณ"
}
}
}
}วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json
{
"mcpServers": {
"webhook-toolkit": {
"command": "npx",
"args": [
"-y",
"webhook-toolkit",
"mcp"
],
"env": {
"WEBHOOK_TOOLKIT_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"webhook-toolkit": {
"type": "http",
"url": "https://webhook-toolkit.com/mcp",
"headers": {
"Authorization": "ใส่ค่าของคุณ"
}
}
}
}วางในไฟล์ .vscode/mcp.json ของโปรเจกต์
{
"servers": {
"webhook-toolkit": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"webhook-toolkit",
"mcp"
],
"env": {
"WEBHOOK_TOOLKIT_KEY": "ใส่ค่าของคุณ"
}
}
}
}เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง
ที่อยู่นี้ต้องใส่ key ใน header ของคำขอ ซึ่งเมนูเพิ่ม connector ใส่ให้ไม่ได้ ใช้ Claude Code, Cursor หรือ VS Code แทน
ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี
Authorization ความลับ HTTP headerค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ยังไม่ได้อ่านรายการเครื่องมือของตัวนี้ เราตรวจ endpoint ทีละชุดวนไป
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub THE-KIPDEV ซึ่งเป็นเจ้าของ repo
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้อ่านข้อมูล repo จาก GitHub
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราตรวจ endpoint ทีละชุดวนไป
ยังไม่ได้ตรวจ เราอ่านรายการเครื่องมือตอนตรวจ endpoint
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: WEBHOOK_TOOLKIT_KEY, Authorization
ได้ทั้งสองแบบ จะลงในเครื่องหรือต่อผ่านคลาวด์ก็ได้
repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.1.1) เข้า registry 2 เดือนที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต่อผ่าน URL จึงใช้กับโปรแกรมที่รับ remote MCP ได้ เช่น ChatGPT ที่เปิดโหมดนักพัฒนา
ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้
MCP server for terminal commands, file operations, and process management
Cloudflare MCP servers
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.
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.
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:
…/r/ /stripe?x=1 is forwarded to http://localhost:3000/webhooks/stripe?x=1, so one URL can feed several handlers.host and content-length), so signature checks in your handler pass exactly as in production.listening, request, forward events) for scripting: whtk listen -f 3000 --json | jq .request.event.NO_COLOR, FORCE_COLOR and are off when output is not a terminal.# Prints the headers and a curl command, with a realistic sample event
whtk sign stripe --secret whsec_… --event checkout.session.completed
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
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.
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.
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);
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.
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
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".
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
ตัดมาแค่ช่วงต้น อ่านต่อใน repo