You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(mcp): keep one precedence when both virtual tools share a name
`instrument()` already handled a host that configures
`missing_capability_tool_name` and `collect_feedback.tool_name` to the
same string: it drops the feedback tool, keeps missing-capability
precedence, and warns "duplicate". The `PostHogMCP` dispatcher did
neither.
`prepare_tool_list` fell through to its "name already taken" branch, so
the feedback descriptor went unadvertised with no warning.
`prepare_tool_call` then set `is_feedback` and `is_missing_capability`
both true, and the README's dispatch snippet tests `is_feedback` first,
so every missing-capability call became a bogus $mcp_feedback capture --
the inverse of the precedence the other path sets on purpose.
Also folds four copies of the ownership-probe warning into one helper,
and names the three collision variants, so a typo is a type error rather
than silently picking the "blocked" wording.
Generated-By: PostHog Desktop
Task-Id: 7047b34a-b562-40ab-ae65-8b0f24700e57
0 commit comments