MCP Animation Framework
Generate chat UI animation frames for MCP marketing assets.
Usage
- Create a config in
configs/(seeconfigs/example.json) - Run generator:
node generate.js configs/your-config.json - Frames output to
output/{config-name}/
Config Format
{
"name": "servicetitan-dispatch",
"title": "AI Assistant",
"userPrompt": "Show me today's dispatch schedule and help me optimize routes",
"aiResponse": "Here's your optimized dispatch overview:",
"panels": [
{
"type": "list",
"icon": "ST",
"iconColor": "#f97316",
"title": "ServiceTitan",
"items": [...]
}
]
}
Panel Types
list— contact/item list with status badgeschat— mini chat previewstats— key metrics with comparisonchart— donut/progress charttable— data tablemap— route/location preview
Frames Generated
- Empty chat
- User typing
- First exchange
- AI typing
- Loading panels
- Full loaded