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
{{ message }}
Repository navigation
MCP guideline tools return the homepage for components without guidance #8782
get_component_usage_guidelines and get_component_accessibility_guidelines return the primer.style homepage when a component has no guidelines page, and present it as that component's guidance because it returns 200 instead of 404. An agent can reasonably conclude it's read the guidance when there isn't any.
get_component isn't affected, so agents still get the overview, props and examples.
This isn't the id versus slug problem fixed in #8531 and #8561. The URLs are right, the pages just don't exist.
btw the usage guidelines tool's error message for 4xx responses says "accessibility guidelines". Looks like a copy-paste slip.
Steps to reproduce
Call get_component_usage_guidelines with name: "Card".
The response is labelled as Card guidance, but its content is the primer.style homepage.
Activity