From 4c441938e521fe678bcb51007329d50326b7f5bd Mon Sep 17 00:00:00 2001 From: Phil Leggetter Date: Thu, 5 Nov 2026 17:17:13 +0000 Subject: [PATCH 1/2] fix(plugin): say the watch skill needs the plugin `npx skills add hookdeck/mcp-events-bridge` also installs the plugin's watch skill without the plugin, where its events-bridge commands fail. The skill now tells the agent to stop and offer the user the plugin, `watch` or the poll tools, or the setup skill if there's no bridge yet. Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 6 ++++++ plugins/mcp-events-bridge/skills/watch/SKILL.md | 10 +++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b663575..24ce569 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased + +### Changed + +- **The plugin's `watch` skill says it needs the plugin.** `npx skills add hookdeck/mcp-events-bridge` also installs `watch`, without the plugin that provides its `events-bridge` command, so its commands failed with `command not found`. When that happens, the skill now tells the agent to stop and offer the user the plugin in Claude Code, or `watch` and the poll tools in other agents. To install only the setup skill: `npx skills add hookdeck/mcp-events-bridge --skill mcp-events-bridge`. + ## 0.9.0 (2026-11-05) Breaking, for agents that call `create_callback_url` again for an existing URL with a different `port` or `path`: that's now an error. diff --git a/plugins/mcp-events-bridge/skills/watch/SKILL.md b/plugins/mcp-events-bridge/skills/watch/SKILL.md index 10f93f3..42d3130 100644 --- a/plugins/mcp-events-bridge/skills/watch/SKILL.md +++ b/plugins/mcp-events-bridge/skills/watch/SKILL.md @@ -1,6 +1,6 @@ --- name: watch -description: Watch for events from the MCP Events bridge in the background, such as GitHub issues, comments, pull requests, reviews, pushes, releases and workflow runs, inbound email, or other webhooks, and tell the user as each one happens. Use when the user asks to watch, follow or monitor events, to be told when something happens in a repository or inbox, to stop watching, or what is being watched. +description: Watch for events from the MCP Events bridge in the background, such as GitHub issues, comments, pull requests, reviews, pushes, releases and workflow runs, inbound email, or other webhooks, and tell the user as each one happens. Use when the user asks to watch, follow or monitor events, to be told when something happens in a repository or inbox, to stop watching, or what is being watched. Part of the bridge's Claude Code plugin, and needs the plugin installed. allowed-tools: Bash(events-bridge watches *) --- @@ -8,6 +8,14 @@ allowed-tools: Bash(events-bridge watches *) This plugin runs a monitor for the whole session that follows this project's watch list. Each watch is an event name and its filters. When an event happens, you get a monitor notification, and you should tell the user about it, briefly, without being asked. +## If the plugin isn't installed + +This skill only works inside the plugin: the plugin provides the `events-bridge` command and MCP server, and runs the monitor that does the watching. `npx skills add hookdeck/mcp-events-bridge` can install this skill without the plugin, in Claude Code or in another agent. If `events-bridge` isn't found (exit code 127, `command not found` or `No such file or directory`), don't retry it or look for another way to run these commands. Tell the user what they can do instead: + +- **Claude Code:** install the plugin with `/plugin install mcp-events-bridge --marketplace hookdeck/mcp-events-bridge` (Claude Code 2.1.275 or later). It asks for the bridge's MCP endpoint and secret. Then start a new session. See the [Claude Code guide](https://github.com/hookdeck/mcp-events-bridge/blob/main/skills/mcp-events-bridge/references/claude-code.md). +- **Other agents:** an agent that wakes on a background command's output can run `npx @hookdeck/mcp-events-bridge watch [--filter key=value]`, which prints one JSON line per event. It reads the bridge's MCP URL from `BRIDGE_MCP_URL` and its secret from `BRIDGE_MCP_SECRET` (`watch --help` lists the options). Otherwise the agent can wait for events with the bridge's `wait_for_event` and `poll_events` tools while it works on a request. +- **No bridge yet:** the bridge has to be set up first. The `mcp-events-bridge` skill (`npx skills add hookdeck/mcp-events-bridge --skill mcp-events-bridge`) or the [README](https://github.com/hookdeck/mcp-events-bridge#readme) walks through it. + ## Find event names and filters Call the `events-bridge` MCP server's `list_sources` tool (`list_providers` on a bridge before 0.6.0). Event names look like `github.issue_comment` or `resend.email.received`, and each event's filters are in its input schema (for GitHub: `repository` as owner/name, `actions` as a list, `sender`). From c38cf1d8d722c429c3970917064f095222d604d3 Mon Sep 17 00:00:00 2001 From: Phil Leggetter Date: Thu, 5 Nov 2026 17:25:46 +0000 Subject: [PATCH 2/2] docs(plugin): reword the watch skill's no-plugin section Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 2 +- plugins/mcp-events-bridge/skills/watch/SKILL.md | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24ce569..31950e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Changed -- **The plugin's `watch` skill says it needs the plugin.** `npx skills add hookdeck/mcp-events-bridge` also installs `watch`, without the plugin that provides its `events-bridge` command, so its commands failed with `command not found`. When that happens, the skill now tells the agent to stop and offer the user the plugin in Claude Code, or `watch` and the poll tools in other agents. To install only the setup skill: `npx skills add hookdeck/mcp-events-bridge --skill mcp-events-bridge`. +- **The `watch` skill without the plugin:** `npx skills add hookdeck/mcp-events-bridge` also installs the plugin's `watch` skill, and without the plugin its `events-bridge` commands fail with `command not found`. The skill now tells the agent to stop and explain how to install the plugin, or what to use outside Claude Code. To install only the setup skill, add `--skill mcp-events-bridge`. ## 0.9.0 (2026-11-05) diff --git a/plugins/mcp-events-bridge/skills/watch/SKILL.md b/plugins/mcp-events-bridge/skills/watch/SKILL.md index 42d3130..6f45d6d 100644 --- a/plugins/mcp-events-bridge/skills/watch/SKILL.md +++ b/plugins/mcp-events-bridge/skills/watch/SKILL.md @@ -1,6 +1,6 @@ --- name: watch -description: Watch for events from the MCP Events bridge in the background, such as GitHub issues, comments, pull requests, reviews, pushes, releases and workflow runs, inbound email, or other webhooks, and tell the user as each one happens. Use when the user asks to watch, follow or monitor events, to be told when something happens in a repository or inbox, to stop watching, or what is being watched. Part of the bridge's Claude Code plugin, and needs the plugin installed. +description: Watch for events from the MCP Events bridge in the background, such as GitHub issues, comments, pull requests, reviews, pushes, releases and workflow runs, inbound email, or other webhooks, and tell the user as each one happens. Use when the user asks to watch, follow or monitor events, to be told when something happens in a repository or inbox, to stop watching, or what is being watched. Needs the bridge's Claude Code plugin, mcp-events-bridge. allowed-tools: Bash(events-bridge watches *) --- @@ -8,13 +8,15 @@ allowed-tools: Bash(events-bridge watches *) This plugin runs a monitor for the whole session that follows this project's watch list. Each watch is an event name and its filters. When an event happens, you get a monitor notification, and you should tell the user about it, briefly, without being asked. -## If the plugin isn't installed +## Before you start: is the plugin installed? -This skill only works inside the plugin: the plugin provides the `events-bridge` command and MCP server, and runs the monitor that does the watching. `npx skills add hookdeck/mcp-events-bridge` can install this skill without the plugin, in Claude Code or in another agent. If `events-bridge` isn't found (exit code 127, `command not found` or `No such file or directory`), don't retry it or look for another way to run these commands. Tell the user what they can do instead: +This skill is part of the bridge's Claude Code plugin, `mcp-events-bridge`. The plugin provides everything this skill uses: the `events-bridge` command, the `events-bridge` MCP server, and the monitor that tells you about events. -- **Claude Code:** install the plugin with `/plugin install mcp-events-bridge --marketplace hookdeck/mcp-events-bridge` (Claude Code 2.1.275 or later). It asks for the bridge's MCP endpoint and secret. Then start a new session. See the [Claude Code guide](https://github.com/hookdeck/mcp-events-bridge/blob/main/skills/mcp-events-bridge/references/claude-code.md). -- **Other agents:** an agent that wakes on a background command's output can run `npx @hookdeck/mcp-events-bridge watch [--filter key=value]`, which prints one JSON line per event. It reads the bridge's MCP URL from `BRIDGE_MCP_URL` and its secret from `BRIDGE_MCP_SECRET` (`watch --help` lists the options). Otherwise the agent can wait for events with the bridge's `wait_for_event` and `poll_events` tools while it works on a request. -- **No bridge yet:** the bridge has to be set up first. The `mcp-events-bridge` skill (`npx skills add hookdeck/mcp-events-bridge --skill mcp-events-bridge`) or the [README](https://github.com/hookdeck/mcp-events-bridge#readme) walks through it. +`npx skills add hookdeck/mcp-events-bridge` can install this skill without the plugin. Then the shell can't find `events-bridge` (`command not found` or `No such file or directory`, exit code 127). If that happens, stop: don't retry, and don't look for another way to run the commands. Tell the user the plugin isn't installed, and what they can do: + +- **No bridge yet:** set one up first. The `mcp-events-bridge` skill (`npx skills add hookdeck/mcp-events-bridge --skill mcp-events-bridge`) or the [README](https://github.com/hookdeck/mcp-events-bridge#readme) walks through it. +- **In Claude Code:** install the plugin with `/plugin install mcp-events-bridge --marketplace hookdeck/mcp-events-bridge` (Claude Code 2.1.275 or later). It asks for the bridge's MCP endpoint and secret. Then start a new session. See the [Claude Code guide](https://github.com/hookdeck/mcp-events-bridge/blob/main/skills/mcp-events-bridge/references/claude-code.md). +- **In another agent:** use the bridge's `wait_for_event` and `poll_events` MCP tools, which wait for events while you work on a request. If you can run a command in the background and act on its output, `npx @hookdeck/mcp-events-bridge watch ` prints one JSON line per event. It reads the bridge's MCP endpoint from `BRIDGE_MCP_URL` and its secret from `BRIDGE_MCP_SECRET`. ## Find event names and filters