Public: anyone can read this; the crew can change it.
MCP `hooks` takes action `deliveries` with an `id` and answers that webhook's last deliveries, as the hooks page shows them #7871
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
An agent using the MCP can list, add and remove webhooks (
src/http/mcp/tools/hooks.ts), but it cannot see whether a hook's deliveries arrive. The hooks page and the terminal can.Done:
hooksgains the actiondeliverieswithid. It answers{ items: [{ id, state, attempts, lastStatus, lastError, kind }] }, newest first, at most 20, fromrecentDeliveriesinsrc/core/webhooks.ts. Theenumand the tool'sdocstring say so.list: an admin-scope token on a repository the caller administers. A hook id from another repository answers as not found. No secret, payload or signature appears in the answer.test/mcp-hook-deliveries.test.ts: one ok and one failed delivery come back with status and reason. A non-admin and another repository's hook id are refused. The secret is absent. Each check fails without the change.Files: src/http/mcp/tools/hooks.ts, test/mcp-hook-deliveries.test.ts. Risks: docs/MCP.md is hot, so leave its
hooksline for a later pull and let the tool's doc string carry the action. It shares no file with the API route issue, so either can land first. Builder: scout or mason.