Skip to main content
Glama

Ask an agent to "animate the add-to-cart flow" and you usually get hard cuts, linear easing, numbers that swap instead of roll, and nothing for reduced motion. Phation gives the agent two things:

  • The Phation Standard: a short set of motion rules (springs, curves, durations, stagger, accessibility) that the agent loads in every session.

  • A library of real interactions it can search, read and drop into your project: React + Motion components with their exact spring and timing values.

It runs as an MCP server for Claude Code, Cursor, Codex, Windsurf and VS Code, and as a CLI.

Install

# Claude Code
claude mcp add phation -- npx -y phation mcp

# Cursor · Windsurf · VS Code (MCP config)
{ "command": "npx", "args": ["-y", "phation", "mcp"] }

# Without an agent
npx phation search "price counter"

Node 18 or newer.

Related MCP server: motion-dev-react-mcp

The Phation Standard

Install the rules once per project. Every animation your agent writes then uses the same curves, springs, durations and accessibility handling.

npx phation init claude     # .claude/skills/phation/SKILL.md + a pointer block in CLAUDE.md
npx phation init cursor     # .cursor/rules/phation.mdc
npx phation init codex      # a marked section in AGENTS.md (your own content is kept)
npx phation init windsurf   # .windsurf/rules/phation.md
npx phation init vscode     # .github/instructions/phation.instructions.md
npx phation init all

npx phation standard springs   # print one section

Re-running init updates only Phation's own files and the block between the phation:start / phation:end markers. The rules are in data/standard.

A taste of what is inside: one spring family for the whole product.

Spring

Stiffness · damping

Use for

snap

420 · 32

Controls

pop

400 · 20

Things appearing

soft

170 · 22

Surfaces

follow

420 · 34

The pointer

bounce

160 · 14

Celebrations

MCP tools

Tool

What it does

get_standard

The Phation Standard: the core rules, or one section

install_standard

Writes the rules into the project for the agent you use

search_motions

Finds interactions by what they should do or feel like ("calm bottom sheet", "make the price feel alive")

list_motions

Every interaction, optionally for one category

get_motion

Spec, MOTION values, dependencies and media of one interaction (about 200 tokens)

add_motion

Writes the component into your project · Pro

animate_ui

Animates your own screens: maps each part of a .jsx/.tsx file to a motion recipe under one Feel · Pro

audit_motion

Records a page frame by frame and scores its motion: layout jumps, low contrast, missing reduced motion · Pro

Outputs are kept small on purpose: a typical "add a rolling price to the cart" task costs about 2.8k tokens end to end.

CLI

npx phation list [category]          # browse
npx phation search <words>           # find by intent
npx phation show <slug>              # spec + MOTION values
npx phation init <agent>             # install the Standard
npx phation add <slug>               # Pro: write the component into src/motion
npx phation add --from "<studio link>"   # Pro: with the values you tuned in the Studio
npx phation audit <url> [--do click:#buy]   # Pro: score the motion of a page
npx phation animate <file|folder>    # Pro: plan motion for your own screens

Free and Pro

Free

Pro

The Phation Standard and init for every agent

add: component source written into your project

list, search, show: specs and MOTION values

audit and animate

Explore and tune every interaction live at phation.app

This repository contains the CLI, the MCP server and the Standard. It ships no component source: with a license, add fetches it from phation.app. Plans are at phation.app/pricing.

npx phation login <license-key>    # saved to ~/.config/phation/license.json
# or, for CI and agent configs: PHATION_KEY=<license-key>
npx phation whoami

License

The CLI, the MCP server and the Phation Standard may be installed and used freely; the Standard's text may be used in your own projects. Component source is covered by the Pro license. See LICENSE.md, phation.app/license and phation.app/terms.

Made by Pham Huy.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      A local-first MCP server that captures rendered web evidence including screenshots, motion, pixel diffs, and CSS animation metadata for coding agents.
      7
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      MCP server providing 33 verified Motion for React APIs with correct imports and defaults, enabling AI assistants to generate accurate animation code.
      15 npm
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      MCP server providing access to a catalog of reusable React/Next.js component recipes (animations, charts, UI components) with usage examples, props documentation, and architecture notes, enabling AI assistants to generate production-ready code.
      3
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      A local/global MCP server that enables AI agents to generate GSAP v3 animation code, search documentation, validate CSS selectors, and provide best practice guidance.
      -