Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

fix(devex): widen build:openapi triggers to all MCP inputs (#70519)

Raúl Negrón-Oterobd7a7a72b2c4
diff --git a/tools/hogli-commands/hogli_commands/build.py b/tools/hogli-commands/hogli_commands/build.py
index 6662152b3b6b..508620f59369 100644
--- a/tools/hogli-commands/hogli_commands/build.py
+++ b/tools/hogli-commands/hogli_commands/build.py
@@ -23,8 +23,10 @@ TRIGGERS: dict[str, tuple[str, ...]] = {
"products/*/backend/api/*",
"products/*/backend/presentation/*",
"products/*/backend/widget_specs/*",
- "products/*/mcp/tools.yaml",
+ "products/*/mcp/*.yaml",
+ "products/*/mcp/prompts/*",
"services/mcp/definitions/*",
+ "services/mcp/schema/tool-definitions.json",
),
"build:grammar": ("posthog/hogql/grammar/*",),
"build:taxonomy-json": ("posthog/taxonomy/*",),