Phation

v0.2.0
io.github.pnhathuy09/phation Checked 4 days ago Published 11 days ago

Motion rules and ready-made React + Motion interactions so your agent's animations feel right.

Values you need

VariableWhat it is
PHATION_KEYrequired secret Phation Pro license key. Every MCP tool needs it; without it the server starts and each tool answers with how to get a license.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add phation -e 'PHATION_KEY=<PHATION_KEY>' -- npx -y phation@0.2.0 mcp
Add to claude_desktop_config.json
{
  "mcpServers": {
    "phation": {
      "args": [
        "-y",
        "phation@0.2.0",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "PHATION_KEY": "<PHATION_KEY>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "phation": {
      "args": [
        "-y",
        "phation@0.2.0",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "PHATION_KEY": "<PHATION_KEY>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "PHATION_KEY",
      "id": "phation-key",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "phation": {
      "args": [
        "-y",
        "phation@0.2.0",
        "mcp"
      ],
      "command": "npx",
      "env": {
        "PHATION_KEY": "${input:phation-key}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.phation]
command = "npx"
args = ["-y", "phation@0.2.0", "mcp"]
env = { "PHATION_KEY" = "<PHATION_KEY>" }

For AI agents

  1. Ask the user for: PHATION_KEY. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: list_motions, search_motions, get_motion, add_motion, get_standard, install_standard, audit_motion, animate_ui.
  5. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json