flutter-motion-kit
Provides tools for searching, retrieving, and listing Flutter animations with verified code, pitfalls, and previews, enabling AI assistants to directly integrate Flutter motion code.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@flutter-motion-kitfind a slide transition animation for Flutter"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Flutter Motion Kit
A collection of previewable Flutter animations, each annotated with its pitfalls (with sources and confidence), and reusable from Claude Code / Cursor in one click (MCP).
🎛 Live interactive playground: motion.markxian.cn · 📚 Verified catalog: motion.markxian.cn/gallery
Claude Code — one line:
claude mcp add --transport http flutter-motion https://mcp.markxian.cn/mcpOne-click connect (remote MCP · zero install)
Hosted on a Cloudflare Worker — add one URL and go, content updates take effect instantly:
Claude Code
claude mcp add --transport http flutter-motion https://mcp.markxian.cn/mcpCursor / VS Code — import with one button:
Prefer offline/local (npx, no hosting)? See Connect Claude Code (local) below.
One structured source, three outputs:
content/animations/<id>/{meta.yaml, main.dart, bad.dart} ← single source of truth
│ scripts/build-catalog.mjs (schema validation + aggregation)
▼
catalog.json
├──▶ Site (Astro): real running Flutter web previews (self-hosted) + code + pitfalls + [Copy for AI]
└──▶ MCP server: search / get / list_pitfalls, callable directly by AI coding assistantsRelated MCP server: Ultimate GSAP Master MCP Server
Why this isn't just another snippet blog
"Best practices" shouldn't rest on someone's word — they should be provable + sourced + machine-verified:
Every pitfall carries a
source+confidence(official-docs/measured/author-experience…) — an honest signal of how strong the basis is, returned to the AI alongside the code.CI gate: every
main.dartmust passdart format+flutter analyze(very_good_analysis) +flutter build web; if it doesn't, it isn't included.Reproducible: every entry self-hosts a real running Flutter web preview (compiled by
npm run previews, not a screen recording);bad.dartdemonstrates the wrong way for side-by-side comparison.Anti-rot: every entry records
verifiedOn, and CI re-runs monthly to catch deprecations in new Flutter releases.
Quick start
npm install
# 1) Build the catalog (validate schema → catalog.json)
npm run catalog
# 2) Build the self-hosted previews (compile each main.dart into runnable Flutter web)
# Requires a local Flutter (auto-detects fvm; outputs to site/public/preview/, gitignored)
npm run previews
# 3) Run the site locally (embeds the running previews + copy buttons)
npm run site:dev
# 4) Build and connect the MCP server
npm run mcp:buildConnect Claude Code (one-click reuse)
Once published to npm, anyone can connect with zero install:
claude mcp add flutter-motion -- npx -y flutter-motion-mcpLocal dev build:
npm run mcp:build
claude mcp add flutter-motion -- node /abs/path/to/flutter-motion-kit/mcp/dist/index.jsThen, right in Claude Code: "find a Flutter list-entrance animation and add it to my page" — it calls search_flutter_animation → get_animation and lands the verified code + pitfalls.
MCP tools
Tool | Purpose |
| Search animations by keyword/category (returns summaries) |
| Return full code + pitfalls + sources by id |
| Pull the pitfall list for an AI to self-check after writing |
| Browse categories |
Deploy the remote MCP (Cloudflare Worker)
cd worker
npm i -g wrangler && wrangler login
cp wrangler.toml.example wrangler.toml # real config stays out of the repo (gitignored)
# Create the KV namespace (connection counter) and put the printed id into your local wrangler.toml
wrangler kv namespace create STATS
wrangler kv namespace create STATS --preview
npm run deploy # rebuilds the catalog and bundles + deploysAfter deploy: /stats shows the live connection count, /mcp is the MCP endpoint, / shows connect hints.
On the site side: cp site/.env.example site/.env and set PUBLIC_MCP_ORIGIN to your Worker endpoint (this .env is also kept out of the repo).
Private deploy config:
worker/wrangler.toml,site/.env, and.dev.varsare all gitignored — your KV id / account / subdomain never appear in the public repo, which only keeps*.exampleplaceholders. To avoid exposing even the account subdomain, bind a custom domain to the Worker (see the comments inwrangler.toml.example).
Stats: each
initializecounts one connection (an approximate KV counter — good enough for a live badge). For exact de-duplication, upgrade to a Durable Object / Analytics Engine.
Layout
content/animations/ # single source of truth (one directory per animation)
schema/ # JSON Schema for meta.yaml
scripts/ # build-catalog (aggregate) / build-previews (self-hosted previews) / sync-gists (DartPad, optional)
site/ # interactive playground at / + verified gallery at /gallery (Astro)
mcp/ # MCP server (TypeScript)
.github/workflows/ # verify: schema + analyze + format + buildContributing
Please run through the quality checklist in CONTRIBUTING.md before adding a new animation. Corrections via issue/PR are welcome — being publicly correctable is exactly what makes this more trustworthy than a blog.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceProvides AI assistants with comprehensive access to Motion.dev animation library documentation and code generation tools. Enables LLMs to generate Motion animations for React, JavaScript, and Vue with proper documentation backing and framework conversion capabilities.Last updated13
- AlicenseBqualityCmaintenanceEnables AI models to generate production-ready, 60fps-optimized GSAP animation code from natural language requests. It provides expert-level tools for creating complex sequences, debugging performance issues, and setting up GSAP within modern web frameworks.Last updated6781MIT
- FlicenseCqualityDmaintenanceGenerate GSAP animation code through natural language descriptions and integrate with Claude Desktop for easy animation development.Last updated435
- AlicenseAqualityAmaintenanceEnables LLMs to generate safe, accessible scroll-driven web animations by translating natural language requests into validated JSON specs, then compiling them into GSAP or WAAPI/CSS code with built-in reduced-motion and pause controls.Last updated85268MIT
Related MCP Connectors
Connect AI coding agents to Anima Playground, Figma, and your design system.
Curated knowledge API for AI agents - skill packs, semantic search, validated patterns.
Connect AI assistants to your GitHub-hosted Obsidian vault to seamlessly access, search, and analy…
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/xianjianlf2/flutter-motion-kit'
If you have feedback or need assistance with the MCP directory API, please join our Discord server