mcp

v1.2.1
@react-spectrum/mcp Checked 2 hours ago Published 3 months ago

MCP server for React Spectrum (S2) documentation

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

list_s2_pages List React Spectrum (@react-spectrum/s2) docs pages

Returns a list of available pages in the s2 docs.

ParameterTypeDescription
includeDescriptionboolean

get_s2_page_info Get page info

Returns page description and list of sections for a given page.

ParameterTypeDescription
page_name *string

get_s2_page Get page markdown

Returns the full markdown content for a page, or a specific section if provided.

ParameterTypeDescription
page_name *string
section_namestring

list_react_aria_pages List React Aria docs pages

Returns a list of available pages in the react-aria docs.

ParameterTypeDescription
includeDescriptionboolean

get_react_aria_page_info Get page info

Returns page description and list of sections for a given page.

ParameterTypeDescription
page_name *string

get_react_aria_page Get page markdown

Returns the full markdown content for a page, or a specific section if provided.

ParameterTypeDescription
page_name *string
section_namestring

search_s2_icons Search S2 icons

Searches the S2 workflow icon set by one or more terms; returns matching icon names.

ParameterTypeDescription
terms *

search_s2_illustrations Search S2 illustrations

Searches the S2 illustrations set by one or more terms; returns matching illustration names.

ParameterTypeDescription
terms *

get_style_macro_property_values Get style macro property values

Returns the allowed values for a given S2 style macro property (including expanded color/spacing value lists where applicable).

ParameterTypeDescription
propertyName *string