
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@react-spectrum/mcp
Advanced tools
The @react-spectrum/mcp package provides a Model Context Protocol (MCP) server for React Spectrum (S2) documentation. It exposes a set of tools that MCP clients can discover and call to browse the docs, search for icons and illustrations, and more.
Simply run the server using npx:
npx @react-spectrum/mcp@latest
Add the server to your MCP client configuration (the exact file and schema may depend on your client).
{
"mcpServers": {
"React Spectrum (S2)": {
"command": "npx",
"args": ["@react-spectrum/mcp@latest"]
}
}
}
Or follow the MCP install guide and use the standard config above.
Follow the MCP install guide and use the standard config above. You can also add the server using the VS Code CLI:
code --add-mcp '{"name":"React Spectrum (S2)","command":"npx","args":["@react-spectrum/mcp@latest"]}'
Use the Claude Code CLI to add the server:
claude mcp add react-spectrum-s2 npx @react-spectrum/mcp@latest
For more information, see the Claude Code MCP documentation.
Create or edit the configuration file ~/.codex/config.toml and add:
[mcp_servers.react-spectrum-s2]
command = "npx"
args = ["@react-spectrum/mcp@latest"]
For more information, see the Codex MCP documentation.
Use the Gemini CLI to add the server:
gemini mcp add react-spectrum-s2 npx @react-spectrum/mcp@latest
For more information, see the Gemini CLI MCP documentation.
Follow Windsurf MCP documentation and use the standard config above.
| Tool | Input | Description |
|---|---|---|
list_s2_pages | { includeDescription?: boolean } | List available pages in the S2 docs. |
get_s2_page_info | { page_name: string } | Return page description and list of section titles. |
get_s2_page | { page_name: string, section_name?: string } | Return full page markdown, or only the specified section. |
search_s2_icons | { terms: string | string[] } | Search S2 workflow icon names. |
search_s2_illustrations | { terms: string | string[] } | Search S2 illustration names. |
Build the docs and MCP server locally, then start the docs server.
yarn workspace @react-spectrum/s2-docs generate:md
yarn workspace @react-spectrum/mcp build
yarn start:s2-docs
Update your MCP client configuration to use the local MCP server:
{
"mcpServers": {
"React Spectrum (S2)": {
"command": "node",
"args": ["{your path here}/react-spectrum/packages/dev/mcp/s2/dist/s2/src/index.js"],
"env": {
"DOCS_CDN_BASE": "http://localhost:1234"
}
}
}
}
FAQs
MCP server for React Spectrum (S2) documentation
The npm package @react-spectrum/mcp receives a total of 929 weekly downloads. As such, @react-spectrum/mcp popularity was classified as not popular.
We found that @react-spectrum/mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.