Skip to content
Founders offer: 80% off every plan with code FOUNDERS80% off with FOUNDERSGet Magic Glyphs

Animated icons with GitHub Copilot

Animate every icon with GitHub Copilot · 0:28

Create .vscode/mcp.json in your project:

{
"servers": {
"magic-glyphs": {
"type": "stdio",
"command": "npx",
"args": ["-y", "magic-glyphs-mcp"]
}
}
}

Or use the portable format that other Copilot tools read too: .mcp.json at the root of your project, with the same server under mcpServers.

Start the server from the file, open Copilot Chat, switch to Agent, and paste the prompt below.

Terminal window
copilot mcp add magic-glyphs -- npx -y magic-glyphs-mcp
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.

“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.