Animated icons with Claude and Claude Code
Claude Code
Section titled “Claude Code”From your project folder:
claude mcp add magic-glyphs -- npx -y magic-glyphs-mcpclaude mcp listclaude mcp list should show magic-glyphs … Connected. Then start Claude Code and paste the prompt below. Claude searches the icons, adds the ones it picks with npx magic-glyphs add, and edits your files.
The Claude app (web and desktop)
Section titled “The Claude app (web and desktop)”In the Claude app, add a custom connector with this URL:
https://magicglyphs.com/mcpNo sign-in is needed. Claude can then search every icon, look up the setup guide for your framework, and write code for you to paste.
The prompt
Section titled “The prompt”Prompt
Use Magic Glyphs to animate the icons in this project. Read https://magicglyphs.com/llms.txt first. 1. Find every static icon: inline SVGs, icon fonts, and imports from icon packages such as lucide, heroicons or react-icons. 2. For each one, pick the closest Magic Glyphs icon. Use the magic-glyphs MCP tools if you have them, or run: npx magic-glyphs search <words> 3. Add the icons you picked with: npx magic-glyphs add <names> --format react --out <icons folder> 4. Swap them in. Keep each icon's size and colour. 5. Add `sound` to icons inside buttons people click. For icons that react to an action (like, add to cart, send), set trigger="none" and call play() when it happens. 6. Add one sound toggle so visitors can mute every icon. 7. List any icon you could not match.
More things to ask
Section titled “More things to ask”“Switch this project from Lucide to Magic Glyphs”, “Add an icon and a sound to every button on this page”, or “Animate our logo: the outer star bounces and the inner star spins” (local server and a licence). See more things to ask.