How to set up the React Spectrum MCP Server in Claude
- Add Adobe’s documented Node.js launcher to the MCP configuration for your client, then restart it.
- Ask for an API reference for a component from the package your project already uses.
{
"mcpServers": {
"React Spectrum (S2)": {
"command": "npx",
"args": [
"@react-spectrum/mcp@latest"
]
}
}
}Look up the right component library
Adobe’s MCP package exposes the React Spectrum 2 documentation and bundles React Aria docs tools. Specify which library your project imports. The package namespaces and level of styling differ, which matters when copying an example into an existing codebase.
Check a select component’s keyboard behavior
Ask Claude to find the documented keyboard behavior and required imports for a multi-select interaction in React Aria. Compare the linked docs with the package in your lockfile. Then try the interactions using a keyboard in a minimal local fixture before integrating the component.
Treat retrieved examples as references
The server retrieves docs and related assets. You still need to choose the component and run your own accessibility and project checks. If an example uses a different package version, ask for version-matched docs or consult the release notes.