0.5.0
  • Docs
  • Getting Started
  • Icons
Switch theme
GitHub
    Playground
  • Getting Started
    • Guides
      • Agent Workflows
      • Why Choose Rocketicons
      • Framework Quick Starts
      • Generated Files
      • Migrating to Rocketicons
    • Using The Icons
      • Adding Icons
      • Colors
      • Dark Mode
      • Responsive Design
      • Shortcuts
      • Sizing Icons
      • Hover, Focus and Other States
      • Styling
    • Icons
      • Ant Design Icons
      • BoxIcons
      • Bootstrap Icons
      • css.gg
      • Circum Icons
      • Devicons
      • Font Awesome 5
      • Font Awesome 6
      • Flat Color Icons
      • Feather
      • Game Icons
      • Github Octicons icons
      • Grommet-Icons
      • Heroicons
      • Heroicons 2
      • IcoMoon Free
      • Ionicons 4
      • Ionicons 5
      • Icons8 Line Awesome
      • Lucide
      • Material Design icons
      • MynaUI Icons
      • Iconoir
      • Phosphor Icons
      • rocketicons
      • Remix Icon
      • Radix Icons
      • Simple Icons
      • Simple Line Icons
      • Tabler Icons
      • Themify Icons
      • Typicons
      • VS Code Icons
      • Weather Icons
    • Roadmap

    Loading...

    Copyright © 2024–2026 rocketclimb

    DiscordGitHub

    Guides

    A clear flight plan for coding agents

    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.

    Configure an MCP client

    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.

    Codex

    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.

    Cursor

    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.

    Claude Code

    Add this directly to .mcp.json at the project root:

    Alternatively, run this from the project directory:

    terminal

    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.

    Check the connection

    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.

    Find and add one icon

    1. Search with npx rocketicons search calendar --collection fi --json or MCP recommend_icons with the project path, intent, and source file.
    2. Inspect the exact @collection/icon-id, license, and SVG resource.
    3. Reuse an existing file under src/ri/icons when it already fits.
    4. Dry-run CLI add, or use MCP plan_icons to review files and dependencies before apply_icons.
    5. Use the returned import relative to the source file and run doctor.

    Add a small set

    The CLI accepts several exact IDs. Keep the change auditable:

    terminal

    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.

    Use SVG in a plain HTML site

    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.

    Style states explicitly

    Verify the mutation

    terminal

    Report each changed file. Run the project's own type check and relevant web or native build before declaring success.

    Prompt you can reuse

    Use Rocketicons for icons in this project. Reuse a suitable component under src/ri/icons when 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