mcpField
W
webhook

webhook

Local
github.com/rog0xDeveloper Tools0Updated 32w ago

About webhook

An MCP server for AI agents to manage and test webhooks. It can send requests, validate signatures, generate test payloads, inspect requests, and calculate retry schedules.

Key features

  1. 01Send webhooks with custom headers and bodies
  2. 02Validate Stripe, GitHub, and Slack signatures
  3. 03Generate test payloads for supported service events
  4. 04Inspect requests, signatures, timestamps, and bodies
  5. 05Calculate retry schedules with backoff and jitter

Use cases

  1. 01Send a webhook to a URL and review the result
  2. 02Verify signatures from Stripe, GitHub, or Slack
  3. 03Generate test events to debug a receiver
  4. 04Diagnose request issues and plan retries after failures

MCP support

The MCP server exposes webhook sending, signature validation, payload generation, request debugging, and retry scheduling tools to MCP clients.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"rog0x-webhook": {
"command": "npx",
"args": [
"-y",
"@rog0x/mcp-webhook-tools"
]
}
}
}
Run commandnpx -y @rog0x/mcp-webhook-tools

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@rog0x/mcp-webhook-tools1.0.2

Tools

5

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
urlstringYesTarget URL to send the webhook to
bodystringYesRequest body (typically JSON string)
methodenumNoHTTP method (default: POST)GET | POST | PUT | PATCH | DELETE
headersobjectNoCustom HTTP headers as key-value pairs
timeout_msnumberNoRequest timeout in milliseconds (default: 10000)
max_retriesnumberNoMaximum retry attempts on failure (default: 0)
content_typestringNoContent-Type header (default: application/json)
base_delay_msnumberNoBase delay between retries in ms (default: 1000)

Details

From the project 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

npm install
npm run build

MCP Configuration

Add to your MCP client config:

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

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.