Animate your icons with an AI assistant
AI coding assistants can do the whole swap for you: find every static icon in your project, pick the matching Magic Glyphs icon, add it, and wire up sound. They work best with the Magic Glyphs MCP server, which lets them search the 10,100+ icons and fetch each one in the format your project uses.
Pick your assistant
Section titled “Pick your assistant”- ChatGPT and Codex
- Claude and Claude Code
- Cursor
- Gemini CLI
- GitHub Copilot in VS Code
- Muse Code
- Windsurf, Zed, Cline, OpenCode, Amp, Kiro, Qwen Code, Warp, Goose and others
Any other MCP client uses the same server; see other AI agents.
The prompt
Section titled “The prompt”Paste this into your assistant from your project folder. Change the format to react, vue or html to match your project.
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|vue|html> --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.
Two ways to connect
Section titled “Two ways to connect”| Local server | Hosted server | |
|---|---|---|
| How | npx -y magic-glyphs-mcp |
https://magicglyphs.com/mcp |
| Install | Node.js on your computer | Nothing |
| Can it write icon files? | Yes, through your assistant | No: it searches and returns code to paste |
| Paid icons | After npx magic-glyphs login YOUR-KEY |
Names and previews only |
| Switch from another icon set | The whole project, in one go | One file at a time |
| Icons and sounds for a page, sound suggestions, previews | Yes | Yes |
| Animate your own logo | Yes, with a licence | No: use the icon maker |
| Best for | Claude Code, Codex, Cursor, Copilot, Gemini CLI | ChatGPT and Claude apps in the browser |
More things to ask
Section titled “More things to ask”Once it is connected, your assistant can do more than add one icon at a time:
- Switch icon sets: “Switch this project from Lucide to Magic Glyphs.” Works for Lucide, Heroicons, react-icons, Font Awesome, Material, Tabler, Phosphor, Feather, Radix and Iconoir. It shows the matches before changing anything.
- Fill a page: “Add an icon and a sound to every button on this page.”
- Pick sounds: “What sound should play when a payment fails?”
- Animate your logo: “Animate our logo at public/logo.svg: the outer star bounces and the inner star spins.” Needs the local server and a licence. How it works.
Good to know
Section titled “Good to know”- The free 120 icons work without a key. With a licence, log in once with
npx magic-glyphs login YOUR-LICENCE-KEYand the assistant can use the whole library. - Ask for one area first (for example “the header and the product cards”) to review the change before doing the whole app.
- Your assistant should never paste your licence key into code. If it asks for it, run the login command yourself.