Loading...
Agents work best when discovery is small, commands are exact, and every mutation has an observable result. Rocketicons provides a CLI and local MCP server backed by the same catalog and project operations.
The MCP package is available on npm as @rocketicons/mcp.
Rocketicons runs locally over stdio with npx -y @rocketicons/mcp. Use Node.js 20.9.0 or newer, with node and npx available to the client. The client starts the server for you; no separate terminal process or global package installation is needed. The first launch needs internet access to download the package. Search uses Algolia when available and falls back to the bundled catalog offline.
For any client that supports local stdio MCP, set the command to npx and the arguments to ["-y", "@rocketicons/mcp"]. Clients that only accept remote HTTP servers cannot use this command directly. No API key is required for the default search configuration. Project tools receive an explicit absolute project_path when called, so it is not part of the server configuration.
Merge these entries into existing configuration files without removing other servers. After saving, restart or reconnect the MCP server in your client. If startup reports that npx cannot be found, use its absolute path from command -v npx and ensure Node.js is available in the client's environment.
Add this to .codex/config.toml in a trusted project, or ~/.codex/config.toml to use it globally:
The 60-second startup timeout gives the first download more time. Restart Codex and use /mcp to check the connection. See the Codex MCP documentation.
Add this to .cursor/mcp.json in your project, or ~/.cursor/mcp.json globally:
Check that Rocketicons is enabled and connected in Cursor's MCP settings. See the Cursor MCP documentation.
Add this directly to .mcp.json at the project root:
Alternatively, run this from the project directory:
Use --scope user instead for all your projects. Restart Claude Code, approve the project server when prompted, and use /mcp to check the connection. These instructions are for Claude Code. See the Claude Code MCP documentation.
Ask your agent:
Use Rocketicons MCP to find five food icons from the same collection and compare them visually. Do not change project files.
Search and SVG inspection do not require project initialization. To install components later, ask the agent to inspect the project and use plan_icons before apply_icons.
npx rocketicons search calendar --collection fi --json or MCP recommend_icons with the project path, intent, and source file.@collection/icon-id, license, and SVG resource.src/ri/icons when it already fits.add, or use MCP plan_icons to review files and dependencies before apply_icons.doctor.The CLI accepts several exact IDs. Keep the change auditable:
To use MCP, configure your client to start npx -y rocketicons mcp over stdio. The dedicated npx -y @rocketicons/mcp command also works. Call recommend_icons, then plan_icons with the exact IDs and from_file; review the plan and pass its planId to apply_icons. This applies setup and icons, then verifies the project. Broad search falls back to a bundled index when Algolia is unavailable.
For Tailwind CSS 4 web projects, the plan includes the stylesheet edit that registers @rocketicons/tailwind. Check the doctor result after apply: its styling data and issues identify a missing CSS import, plugin directive, or Vite/PostCSS integration. Pass stylesheet_path to both plan and apply if several Tailwind stylesheets are active.
After an icon is added, you can edit its generated component in src/ri/icons/. doctor reports non-formatting edits as customized, and recommend_icons can suggest reusing that component. plan_icons lists it under preservedIcons; apply_icons and add_icons leave it untouched. Formatting changes alone do not mark it customized. remove_icons protects customized files from deletion.
For a site that does not use React, call MCP search_icons and get_icon to choose an exact ID and check its license. Call get_icon_svg with that ID to receive complete SVG markup. Paste the markup into HTML or save it as an .svg file. This path needs no init_project call or Rocketicons project configuration.
Report each changed file. Run the project's own type check and relevant web or native build before declaring success.
Use Rocketicons for icons in this project. Reuse a suitable component under
src/ri/iconswhen possible. Otherwise find an exact@collection/icon-id, inspect its license and SVG, plan the changes, apply the reviewed plan, use an import relative to the source file, and report every changed file. Do not install or import a full icon collection.
For a compact machine-readable reference, point the agent to /llms.txt.
Catalog version: 0.5.0 · Content updated: 2026-08-12