Skip to content

Expose workspace webhooks through the API and MCP - #330

Merged
paulocastellano merged 5 commits into
mainfrom
feature/webhook-api-mcp
Sep 4, 2026
Merged

Expose workspace webhooks through the API and MCP#330
paulocastellano merged 5 commits into
mainfrom
feature/webhook-api-mcp

Conversation

@paulocastellano

Copy link
Copy Markdown
Contributor

Summary

  • Extract webhook create/update/delete/test/rotate/replay into Actions and share validation via WebhookRules, so the web UI, REST API, and MCP stay in lockstep.
  • Add the public API (/webhooks) and nine MCP tools covering everything the web UI can do: list, show (with secret), create, update, send-test, rotate-secret, logs, replay, and delete.
  • Keep manageWebhooks (owner + workspace admin only). Signing secrets stay off the list; they appear only on create, show, and rotate.

Test plan

  • Create/update/send-test/rotate/replay/delete a webhook in the web UI and confirm behavior is unchanged
  • Hit GET/POST/PUT/DELETE /webhooks plus send-test, rotate-secret, logs, and replay with an owner/admin API token
  • Confirm a member/viewer token gets 403 on every webhook API endpoint
  • Confirm list omits signing_secret and create/show/rotate return it
  • Run the same flows via MCP tools and confirm member/viewer tools are denied
  • Confirm an SSRF-blocked endpoint fails create/update the same way on web, API, and MCP

@paulocastellano
paulocastellano merged commit a932c51 into main Sep 4, 2026
5 checks passed
@paulocastellano
paulocastellano deleted the feature/webhook-api-mcp branch September 4, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant