Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By lorismazv0.1.0In 1 marketplace
Generic webhook channel plugin for Claude Code. Accept HMAC-authenticated webhooks from any external service with interactive pairing and reply capability.
Claude loads one when your task matches it, or you run it by name.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
A generic webhook channel plugin for Claude Code. Lets external services push events into Claude Code sessions via HMAC-authenticated webhooks, with interactive pairing and reply capability.
bun install
# Development:
claude --dangerously-load-development-channels server:webhook
# After approval:
claude --channels webhook@lorismaz/webhook-channel-plugin
The HTTP server defaults to port 8788. Override with the WEBHOOK_PORT environment variable.
Pairing establishes a trusted relationship between an external service and your Claude Code session.
The service POSTs to /pair with its name and an optional callback URL:
curl -X POST http://localhost:8788/pair \
-H "Content-Type: application/json" \
-d '{"name": "my-service", "callback_url": "https://my-service.example.com/hook"}'
Response:
{"pairing_code": "A3KX9Z"}
Option A -- in Claude Code terminal (requires the plugin to be installed, not just loaded as a dev channel):
/webhook:pair A3KX9Z
Option B -- via HTTP (works in all setups, including development):
curl -X POST http://localhost:8788/pair/complete \
-H "Content-Type: application/json" \
-d '{"code": "A3KX9Z"}'
Both return the credentials:
{"source_id": "src_abc123...", "hmac_secret": "whsec_xyz789..."}
Store the source_id and hmac_secret -- they are used to authenticate all future webhook requests.
Pairing codes expire after 5 minutes.
Sign requests with HMAC-SHA256 using the full hmac_secret (including the whsec_ prefix):
sha256=HMAC-SHA256(request_body, hmac_secret)
Example:
BODY='{"event": "deploy", "status": "success"}'
SECRET="whsec_your_hmac_secret"
TIMESTAMP=$(date +%s)
SIG=$(echo -n "$BODY" | openssl dgst -sha256 -hmac "$SECRET" | sed 's/.*= //')
curl -X POST http://localhost:8788/webhook \
-H "Content-Type: application/json" \
-H "X-Source-Id: src_your_source_id" \
-H "X-Signature: sha256=$SIG" \
-H "X-Timestamp: $TIMESTAMP" \
-d "$BODY"
A successful delivery returns:
{"received": true}
Claude can send a reply back to the originating service using the webhook_reply tool:
webhook_reply(source_id, payload)
This POSTs the payload as JSON to the source's callback_url, signed with HMAC using the same secret. The request includes X-Source-Id, X-Signature, and X-Timestamp headers so the receiving service can verify authenticity.
timingSafeEqual to prevent timing attacks./pair/complete endpoint.| Method | Path | Auth | Description |
|---|---|---|---|
| GET | /health | None | Returns {"status": "ok"} |
| POST | /pair | None | Initiate pairing; returns a pairing code |
| POST | /pair/complete | None | Complete pairing with code; returns credentials |
| GET | /pair/status | None | Check pairing status (?code=XXXXXX) |
| POST | /webhook | HMAC | Deliver a signed webhook event to Claude Code |
Paired sources are persisted at:
~/.claude/channels/webhook/sources.json
Each entry stores the source name, HMAC secret, callback URL, and the time it was paired.
The .mcp.json in this repo registers the server:
{
"mcpServers": {
"webhook": {
"command": "bun",
"args": ["run", "src/index.ts"],
"cwd": "/path/to/webhook-channel-plugin"
}
}
}
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
webhook-channel-plugin@lorismaz-plugins is listed by lorismaz/claude-plugins — review the source before installing
npx claudepluginhub lorismaz/claude-plugins --plugin webhook-channel-pluginPlugins from other owners that cover similar ground