Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Changelog

## Unreleased
## 0.11.0 (2026-11-16)

### Added

- **A per-message `webhook-id` for clients that follow SEP-3415:** a webhook delivery's `webhook-id` was always the event's `eventId`. SEP-3415 now requires a per-message id, unique to one event on one subscription and never derived from `eventId`, so a receiver that dedupes on `webhook-id` doesn't drop an event that matches two of its subscriptions. A client that declares the events extension in a request's `_meta` (`io.modelcontextprotocol/clientCapabilities`) now gets `msg_` and 24 random characters, the same on every retry. Every other client still gets the `eventId`, as do TanStack AI, the Vercel AI SDK and OpenClaw by their default client names, since they reject a delivery whose `webhook-id` isn't its `eventId` (TanStack AI declares the extension). `BRIDGE_WEBHOOK_ID_FORMAT` (`subscriptions.webhookIdFormat`) is `auto` by default; `event-id` or `per-message` applies to every subscription. A subscription's format is chosen when it's made or refreshed, and `serve` logs it: `<subscription id>: webhook-id per message (client "<name>" declares io.modelcontextprotocol/events)` or `<subscription id>: webhook-id is the eventId (...)`, giving the reason: what the client declares, the legacy client list, or the setting. With a per-message id, an event whose id contains a period is delivered rather than skipped ([#113](https://github.com/hookdeck/mcp-events-bridge/issues/113)).
- **Each webhook delivery can have its own `webhook-id`:** SEP-3415 now requires each delivery's `webhook-id` to be a new id, kept on every retry of that delivery, rather than the event's `eventId`. By default (`BRIDGE_WEBHOOK_ID_FORMAT=auto`), a client that says it supports MCP Events in its requests (it lists `io.modelcontextprotocol/events` in its request capabilities) gets `msg_` followed by 24 random characters. Every other client still gets the `eventId`. So do TanStack AI, the Vercel AI SDK and OpenClaw under their default client names, because they reject a `webhook-id` that isn't the `eventId`, even though TanStack AI says it supports MCP Events. To use one format for every subscription, set `BRIDGE_WEBHOOK_ID_FORMAT` (or `subscriptions.webhookIdFormat` in `bridge.config.ts`) to `event-id` or `per-message`. The bridge picks a subscription's format each time its client subscribes or refreshes, and `serve` logs which one and why, for example `<subscription id>: webhook-id is the eventId (client "<name>" doesn't declare io.modelcontextprotocol/events)`. With a per-message id, an event whose id contains a period is now delivered instead of skipped ([#113](https://github.com/hookdeck/mcp-events-bridge/issues/113)).

### Changed

Expand Down
2 changes: 1 addition & 1 deletion docs/PLAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ Done when: the mock agent, given only a tunnel URL, receives an email; adding a
- Bring your own identity provider (auth tier 3).
- Optional OpenAI Secure MCP Tunnel mode, for private networks.
- `bridge doctor`, `setup --prune` and `--rotate-mcp-secret`.
- Done early: the GitHub provider, with automatic and manual modes (see "Second source: GitHub" in `ARCHITECTURE.md`); the npm package `@hookdeck/mcp-events-bridge` (0.1.0 on 6 Oct, 0.2.0 and 0.2.1 on 8 Oct, 0.3.0 with poll mode and 0.4.0 with `watch` and the Claude Code plugin on 9 Oct, 0.5.0 with SEP-3415's error codes and a `410` rejecting only its delivery on 23 Oct, and 0.6.0 with sources, `source({ type })` for Event Gateway source types and the bearer header on 26 Oct, 0.7.0 with webhook cursors and replay on 27 Oct, 0.8.0 with Event Gateway delivering each event from its source on 28 Oct, 0.8.1 with a clearer secret placeholder the same day, 0.9.0 with tool annotations, publishing to the official MCP Registry and `list_events` reading further pages on 5 Nov, and 0.10.0 the same day with poll delivery working on a bridge with no webhook subscriptions, `list_sources` listing each source's event types, and `setup` registering a deleted webhook again and saving a generated MCP secret in `.env`), compiled to `dist/`; the README, restructured around it; and the generic webhook provider, for any HTTP sender with HMAC, Standard Webhooks, Basic auth or API key verification, with `providers add webhook <id>` to create its source before the secret exists (see "Generic provider: webhooks" in `ARCHITECTURE.md`).
- Done early: the GitHub provider, with automatic and manual modes (see "Second source: GitHub" in `ARCHITECTURE.md`); the npm package `@hookdeck/mcp-events-bridge` (0.1.0 on 6 Oct, 0.2.0 and 0.2.1 on 8 Oct, 0.3.0 with poll mode and 0.4.0 with `watch` and the Claude Code plugin on 9 Oct, 0.5.0 with SEP-3415's error codes and a `410` rejecting only its delivery on 23 Oct, and 0.6.0 with sources, `source({ type })` for Event Gateway source types and the bearer header on 26 Oct, 0.7.0 with webhook cursors and replay on 27 Oct, 0.8.0 with Event Gateway delivering each event from its source on 28 Oct, 0.8.1 with a clearer secret placeholder the same day, 0.9.0 with tool annotations, publishing to the official MCP Registry and `list_events` reading further pages on 5 Nov, and 0.10.0 the same day with poll delivery working on a bridge with no webhook subscriptions, `list_sources` listing each source's event types, and `setup` registering a deleted webhook again and saving a generated MCP secret in `.env`, and 0.11.0 on 16 Nov with a per-message `webhook-id` for clients that declare MCP Events), compiled to `dist/`; the README, restructured around it; and the generic webhook provider, for any HTTP sender with HMAC, Standard Webhooks, Basic auth or API key verification, with `providers add webhook <id>` to create its source before the secret exists (see "Generic provider: webhooks" in `ARCHITECTURE.md`).
- A release workflow (added 8 Oct): publishing a GitHub Release publishes to npm from GitHub Actions, with npm trusted publishing and provenance (`.github/workflows/release.yml`), and a `test` workflow on pull requests and `main`. Maintainers follow the `mcp-events-bridge-release` skill.
- Deploy docs and automation for Railway and Render.
- A Smithery listing.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hookdeck/mcp-events-bridge",
"version": "0.10.0",
"version": "0.11.0",
"mcpName": "io.github.hookdeck/mcp-events-bridge",
"description": "Turn third-party webhooks into MCP Events for AI agents, with Hookdeck Event Gateway receiving and delivering them.",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion plugins/mcp-events-bridge/.claude-plugin/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "mcp-events-bridge",
"displayName": "MCP Events bridge",
"version": "0.10.0",
"version": "0.11.0",
"description": "Watch MCP Events bridge events (GitHub, Resend, webhooks) in the background: Claude is told as each one happens, between prompts too.",
"author": { "name": "Hookdeck", "url": "https://hookdeck.com" },
"homepage": "https://github.com/hookdeck/mcp-events-bridge/blob/main/plugins/mcp-events-bridge/README.md",
Expand Down
2 changes: 1 addition & 1 deletion plugins/mcp-events-bridge/bin/events-bridge
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
# pass absolute paths, so the directory doesn't change what they read.
dir="${TMPDIR:-/tmp}/mcp-events-bridge-plugin"
mkdir -p "$dir" && cd "$dir" || exit 1
exec npx -y @hookdeck/mcp-events-bridge@0.10.0 "$@"
exec npx -y @hookdeck/mcp-events-bridge@0.11.0 "$@"
4 changes: 2 additions & 2 deletions server.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "io.github.hookdeck/mcp-events-bridge",
"title": "MCP Events bridge",
"description": "Turn webhooks into MCP Events that AI agents subscribe to, with Hookdeck Event Gateway.",
"version": "0.10.0",
"version": "0.11.0",
"websiteUrl": "https://github.com/hookdeck/mcp-events-bridge#readme",
"repository": {
"url": "https://github.com/hookdeck/mcp-events-bridge",
Expand All @@ -15,7 +15,7 @@
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"identifier": "@hookdeck/mcp-events-bridge",
"version": "0.10.0",
"version": "0.11.0",
"runtimeHint": "npx",
"packageArguments": [
{
Expand Down
Loading