
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@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
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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.