
How to add ReactUse MCP to Cursor
AI-powered discovery and documentation for the @reactuses/core React Hooks library. Paste the config into ~/.cursor/mcp.json and restart Cursor.
Last updated June 14, 2026 · 1.0k★ · stdio · no auth
Cursor config for ReactUse MCP
npx -y @reactuses/mcp@latest{
"mcpServers": {
"reactuse-mcp": {
"command": "npx",
"args": [
"-y",
"@reactuses/mcp@latest"
]
}
}
}Setup steps
- 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
- 2Paste the ReactUse MCP config below into the "mcpServers" object.
- 3Fill in placeholder secrets, then save.
- 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
- 5Ask Cursor to use one of ReactUse MCP's tools to confirm it's connected.
Before you start
- Node.js (npx available)
- An MCP-compatible client (e.g. Claude, Cursor, Windsurf)
What ReactUse MCP can do in Cursor
get_hookFetch full documentation (description, usage example, API table) for a specific @reactuses/core React hook by name. Hook name is case-insensitive, e.g. 'useToggle', 'useClipboard'.
list_hooksList all available @reactuses/core hooks, optionally filtered by category (one of: browser, effect, element, state, integrations).
search_hooksSearch @reactuses/core hooks by name, description, or content; results ranked by relevance, with an optional result limit (default 20, max 50).
ReactUse MCP + Cursor FAQ
Where is the Cursor config file?
Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the ReactUse MCP config there under the "mcpServers" key and restart the client.
Does this server require an API key or authentication?
No. It runs locally over stdio via npx and exposes read-only documentation tools, so no API key or auth is needed.
What does the server expose?
Three read-only tools — get_hook, list_hooks, and search_hooks — plus MCP resources and prompts for the ReactUse hooks library documentation.
How do I install it?
Add the @reactuses/mcp entry to your MCP client configuration with command 'npx' and args ['-y', '@reactuses/mcp@latest'], using the stdio transport, as shown in the project README.