mcp
v1.2.1MCP 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.
| Parameter | Type | Description |
|---|---|---|
includeDescription | boolean |
get_s2_page_info Get page info
Returns page description and list of sections for a given page.
| Parameter | Type | Description |
|---|---|---|
page_name * | string |
get_s2_page Get page markdown
Returns the full markdown content for a page, or a specific section if provided.
| Parameter | Type | Description |
|---|---|---|
page_name * | string | |
section_name | string |
list_react_aria_pages List React Aria docs pages
Returns a list of available pages in the react-aria docs.
| Parameter | Type | Description |
|---|---|---|
includeDescription | boolean |
get_react_aria_page_info Get page info
Returns page description and list of sections for a given page.
| Parameter | Type | Description |
|---|---|---|
page_name * | string |
get_react_aria_page Get page markdown
Returns the full markdown content for a page, or a specific section if provided.
| Parameter | Type | Description |
|---|---|---|
page_name * | string | |
section_name | string |
search_s2_icons Search S2 icons
Searches the S2 workflow icon set by one or more terms; returns matching icon names.
| Parameter | Type | Description |
|---|---|---|
terms * |
search_s2_illustrations Search S2 illustrations
Searches the S2 illustrations set by one or more terms; returns matching illustration names.
| Parameter | Type | Description |
|---|---|---|
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).
| Parameter | Type | Description |
|---|---|---|
propertyName * | string |