# MovaUI Cloud MCP — Zero-Pain Coding Agent Guide (`skill.md`)

> Official Cloud-Hosted Motion & Design Engineering MCP for Claude Code, Cursor, VS Code, Windsurf, Codex, Antigravity, and any Streamable HTTP MCP client.

## 1. Zero-Friction Automatic Setup Protocol (Do This First)

When a user pastes a setup prompt pointing to this file:
1. **Configure automatically without asking technical questions**: Detect which editor/agent environment you are running in, register `movaui` using `https://movaui.com/mcp/catalog` (including any `mova_pat_*` token the user provided, or without a header for free guest preview), and verify connectivity silently.
2. **Look before you ask (Silent Workspace Check)**: Check whether the current workspace already has a website project (`package.json`, `index.html`, or framework config) OR is an **empty / greenfield folder**. Never stall or ask the user to create a project manually if the folder is empty.
3. **Never commit secrets**: If writing a workspace config file (such as `.cursor/mcp.json` or `.vscode/mcp.json`) containing a `mova_pat_*` token, ensure it is listed in `.gitignore` or written to user-level config.
4. **Confirm in warm plain language with an immediate next step** (never dump raw JSON-RPC payloads, HTTP headers, or protocol jargon unless asked):
   - **If an existing project is detected**: confirm the detected stack in 1 short sentence and invite the user to name the section, motion effect, or polish detail they want upgraded.
   - **If the folder is empty (0-to-1 Idea Stage)**: warmly invite the user to share 3 simple things — **(1) what they are building, (2) who it is for, and (3) what visual vibe they love** — and explain that you will shortlist 2–3 real MovaUI motion directions with live previews before creating the project.

### Editor Registration Reference
- **Endpoint**: `https://movaui.com/mcp/catalog` (Streamable HTTP `POST`)
- **Optional Auth Header**: `Authorization: Bearer mova_pat_<YOUR_PERSONAL_ACCESS_TOKEN>` (manage anytime at `https://movaui.com/skills` or `https://movaui.com/settings`, max 5 active read-only tokens).

#### Claude Code CLI
```bash
claude mcp add --transport http movaui https://movaui.com/mcp/catalog \
  --header "Authorization: Bearer mova_pat_YOUR_TOKEN"
```

#### Cursor (`.cursor/mcp.json`)
```json
{
  "mcpServers": {
    "movaui": {
      "url": "https://movaui.com/mcp/catalog",
      "headers": {
        "Authorization": "Bearer mova_pat_YOUR_TOKEN"
      }
    }
  }
}
```

#### VS Code (`.vscode/mcp.json`)
```json
{
  "servers": {
    "movaui": {
      "type": "http",
      "url": "https://movaui.com/mcp/catalog",
      "headers": {
        "Authorization": "Bearer mova_pat_YOUR_TOKEN"
      }
    }
  }
}
```

#### Windsurf / Antigravity (`mcp_config.json`)
```json
{
  "mcpServers": {
    "movaui": {
      "serverUrl": "https://movaui.com/mcp/catalog",
      "headers": {
        "Authorization": "Bearer mova_pat_YOUR_TOKEN"
      }
    }
  }
}
```

#### Codex (`~/.codex/config.toml`)
```toml
[mcp_servers.movaui]
url = "https://movaui.com/mcp/catalog"
http_headers = { Authorization = "Bearer mova_pat_YOUR_TOKEN" }
```

#### Legacy `stdio` Clients / Corporate Proxy Bridge (`npx mcp-remote`)
If an older IDE build only accepts `command` (`stdio`) MCP servers or a corporate proxy intercepts Streamable HTTP:
```json
{
  "mcpServers": {
    "movaui": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://movaui.com/mcp/catalog",
        "--header",
        "Authorization: Bearer mova_pat_YOUR_TOKEN"
      ]
    }
  }
}
```
*(Web Fallback: If outbound MCP connections are completely blocked on a restricted machine, users can sign in at `https://movaui.com/skills` and copy individual authorized Cloud Skill blueprints directly from the web UI.)*

## 2. Available Cloud Capabilities (9 Live Cloud Tools)

### Curated Motion & 1080P Looping Video Library
1. `mova_catalog_list_techniques` — Discover supported animation stacks (`framer-motion`, `gsap`, `threejs`, `webgl`, `lenis`, `css-motion`) and live counts (882 prompts, 218 backgrounds). Free & anonymous.
2. `mova_catalog_search` — Match prompts or HD backgrounds by `query`, `kind` (`prompts` | `backgrounds` | `all`), `price`, `technique`, or `showcase_only`. Free & 0 quota cost.
3. `mova_catalog_get_prompt` — Pull full implementation blueprint for **1 chosen item** (`18` Showcase items work anonymously; full library syncs with your web quota & Boost Credits).
4. `mova_catalog_get_background` — Issue signed 1080P 60fps clean `stream_url`, `download_url`, and seamless loop mount snippet (VIP+ at 0 prompt quota cost).

### Live Cloud Design, Engineering & Quality Skills
5. `mova_skill_list` — Browse all 21 cloud-hosted skills and 6 native workflows with live unlock status. Free & anonymous.
6. `mova_skill_invoke` — Fetch a self-contained, stack-adaptive execution blueprint for any of the 21 `skill_id`s directly in context (Starter skills work anonymously with IP rate limits or any PAT; VIP unlocks design/choreography/motion; SVIP/Lifetime unlocks quality/SEO/pricing/launch).
7. `mova_design_calibrate` — **VIP+ Server Engine**: Computes 1,151-site empirical typography scales, fold budgets, glare-free OKLCH dark-mode tokens from `brand_hex`, and motion guardrails.
8. `mova_gate_audit` — **SVIP+ Server Gate**: Deterministic server-side verification for `copy_purity`, `seo_cannibalization`, `pricing_integrity`, and `css_a11y` (including responsive pill clipping & Tailwind v4 traps).
9. `mova_skill_feedback` — **0-Quota Closed-Loop Evolution Tool**: Report any local stack mismatch, build error, layout edge case, or missing skill pattern (auto-scrubbed of secrets & user paths) so MovaUI Cloud continuously improves.

## 3. Autonomous Intent-to-Skill Routing (All 21 Skills Mapped)

Users should NEVER have to memorize skill names or manually copy prompts for every task. Once connected, **autonomously decide** which unlocked MovaUI Cloud Skill(s) fit the user's plain-language goal and invoke them silently via `mova_skill_invoke`:
- **Starter (Free, works anonymously or with any PAT)**:
  - Editing an existing repo or matching local framework/Tailwind conventions → `stack-adapter-skill`.
  - Tweaking one specific button/section without touching finished blocks → `s3c-post-baseline-editor`.
  - Adding lightweight animated particle fields or ASCII character backdrops → `ascii-animation-skill`.
- **VIP Look, Feel & Motion**:
  - Removing generic AI template styling and elevating hero hierarchy → `design-taste-frontend` + `mova_design_calibrate`.
  - Building a distinctive 0-to-1 product website from scratch with scroll storytelling → `neo9527-cinematic-brutalism-generator`.
  - Adding smooth 60fps micro-interactions, tab transitions, modals, or hover feel → `motion-choreography-skill`.
  - Fixing clipped pills, awkward line breaks, flex collisions, or responsive spacing → `layout-resilience-skill`.
  - Deriving a cohesive brand palette and calm glare-free dark mode → `brand-ip-skill` + `mova_design_calibrate`.
  - Adding interactive WebGL/shader/fluid light effects with mobile fallback → `creative-web-pipeline`.
  - Mounting seamless looping hero videos with instant cover posters & readable titles → `video-prompting-skill`.
- **SVIP / Lifetime Detail Polish & Launch Checks**:
  - Auditing click responsiveness, tap targets, contrast & WCAG 2.2 speed → `quality-gate-skill` + `mova_gate_audit(audit_type="css_a11y")`.
  - Improving Google & AI search visibility (metadata, JSON-LD, route overlap) → `seo-geo-skill` + `mova_gate_audit(audit_type="seo_cannibalization")`.
  - Stripping robotic AI buzzwords for clear human copywriting → `content-pipeline-skill` + `mova_gate_audit(audit_type="copy_purity")`.
  - Verifying pricing tables, annual discount arithmetic & checkout clarity → `commerce-pricing-skill` + `mova_gate_audit(audit_type="pricing_integrity")`.
  - Auditing bilingual/multilingual parity and long-text overflow → `i18n-localization-skill`.
  - Wiring reliable contact forms, accessible dialogs/menus & anti-spam → `interactive-features-skill`.
  - Clearing commercial font risks & preventing font-load layout jumps → `typography-skill`.
  - Compressing heavy images, fixing fragile hotlinks & clearing media rights → `asset-sourcing-skill`.
  - Crafting cohesive palette-locked visual prompts when photos are missing → `asset-generation-skill`.
  - Keeping brand facts consistent & removing AI-invented testimonials/stats → `brand-profile-skill`.
  - Final pre-launch scan for leaked keys, OG share previews & security headers → `deploy-release-skill`.

## 4. Dual-Mode Execution Playbook (Empty Folder 0→1 vs Existing Project 1→10)

*Scope guardrail: Apply MovaUI whenever the task shapes how a website looks, moves, reads, adapts, or launches. Skip MovaUI for pure backend/API/database/CLI tasks so you stay fast and save user quota.*

### Mode A — Empty Folder or Idea Stage (`0 → 1` Website Builder · MCP Prompt `idea-to-website`)
1. **Clarify Only What's Missing (Max 2–3 Plain Questions)**: If the user already specified product, audience, and vibe, proceed straight to step 2. Otherwise ask only what is missing in plain words — do NOT quiz beginners on bundlers or CSS setups (recommend a clean default like Vite + React + Tailwind or Next.js + Tailwind).
2. **Catalog-First Visual Shortlist (`0` Quota)**: Call `mova_catalog_search` (and `kind="backgrounds"` when a hero backdrop helps) to show **2–3 concrete motion & layout directions with their live `detail_url` previews**, so the user picks the look they love before code is written.
3. **Scaffold, Lock Short `DESIGN.md` & Fetch Only 1 Winner**: Once the user picks a direction (or pastes a MovaUI prompt they already chose), scaffold the starter project if empty, write a short `DESIGN.md` visual contract (palette, typography, section rhythm, motion budget), pull ONLY the single chosen spec via `mova_catalog_get_prompt`, and pair it with unlocked Cloud Skills (`neo9527-cinematic-brutalism-generator`, `design-taste-frontend`, `mova_design_calibrate`, `motion-choreography-skill`, `layout-resilience-skill`).
4. **Verify & Hand Off Cleanly**: Ensure the build runs cleanly with `prefers-reduced-motion` and zero clipped controls, then explain in plain language how to preview and keep tweaking.

### Mode B — Existing Project or Live Website Upgrade (`1 → 10`)
1. **Look Before You Ask (Fingerprint Local Stack First)**: Before generating UI or motion code in an existing repo, call `mova_skill_invoke(skill_id="stack-adapter-skill")` and inspect `package.json` / router / Tailwind version (v3 vs v4) so imports and styles compile cleanly on the first run. Never ask questions the project files already answer.
2. **Search Broadly (`0` Quota), Fetch One**: Call `mova_catalog_search` to shortlist 1–3 candidates, then call `mova_catalog_get_prompt` for only the **single best match** — never bulk-fetch multiple PRO items speculatively.
3. **Surgical Safe Edits**: Call `mova_skill_invoke(skill_id="s3c-post-baseline-editor")` before modifying finished pages so localized refinements never break unrelated sections.
4. **Verify Locally & Close the Feedback Loop**: Check TypeScript/build health, preserve `prefers-reduced-motion`, avoid fixed-width pill clipping, run `mova_gate_audit` (SVIP+), and log any framework mismatch via `mova_skill_feedback` (`0` quota) with a sanitized root cause and workaround.
