Minor Changes
-
874a5e9: feat(mcp): add source and webhook management tools so the ingest → dashboard flow can be automated end to end. New MCP tools:
clickstack_save_source/clickstack_delete_sourceandclickstack_save_webhook/clickstack_delete_webhook(save creates whenidis omitted and updates when provided). Webhook logic is now shared viacreateWebhook/updateWebhook/deleteWebhookcontrollers:createWebhookis used by the internal API, External API v2, and MCP;updateWebhook/deleteWebhookare shared by External API v2 and MCP (the internal API retains its own masked-secret update/delete flow).clickstack_describe_sourcenow returns a round-trippableconfigblock — the exact flat shapeclickstack_save_sourceaccepts, including fields the curated summary previously omitted (correlation IDslogSourceId/traceSourceId/metricSourceId/sessionSourceId,defaultTableSelectExpression,parentSpanIdExpression,spanKindExpression, materialized views, etc.). This closes the read/write asymmetry that made a faithful source clone impossible: an agent can read a source's full config back and pass it straight intoclickstack_save_sourceto clone or read-modify-write it.fix(alerts): a generic/incidentio webhook persisted without a body (the body default is only applied by the UI form, not the API/MCP create paths) no longer crashes
sendGenericWebhookonHandlebars.compile(undefined). It now falls back to the default body template so the alert still fires.
Patch Changes
- 017c296: fix: Fix DataCloneError from MCP grouped bar/pie query
- 0e28094: fix: MCP endpoint (
/api/mcp) now returns 405 for GET and DELETE instead of aborting spec-compliant clients. The stateless Streamable HTTP transport doesn't offer a server-initiated SSE stream or client-terminable sessions, so it now responds405 Method Not Allowed(withAllow: POST) for those methods, which official MCP SDK clients (e.g. Claude Code) treat as "not offered, continue" rather than a failed connection. - 1b658f3: fix: Handle per-connection failures in alerts task without exiting
- Updated dependencies [fa1a068]
- @hyperdx/common-utils@0.24.1