Clavue · MCP
Clavue
设计Serveur MCPRecommended

Figma 设计协作 and Clavue

Extract Figma frame hierarchies, tokens, and spacing specs directly into imux and Clavue for high-fidelity UI implementation.

#design#ui
Installation en une ligne (Clavue CLI / TUI)CLI / TUI
clavue plugin install figma@plugins --trust

Discover ID

figma@plugins

Marketplace

plugins · vlatest

GAMME CLAVUE

Utiliser sur les 6 lignes de produits Clavue

Un catalogue Discover unifié et un même compte pour CLI / TUI, imux IDE, Clavue GUI, Chat, Bot et l'API compatible OpenAI.

Clavue · CLIPrimary install & runtime

Clavue CLI / TUI

Install Figma 设计协作 once via iclavue in your terminal and invoke it directly in interactive TUI sessions or scripts.

  1. 01Run `npm i -g iclavue && clavue login` to sign in.
  2. 02Run `clavue plugin install figma@plugins --trust` to install and trust the integration.
  3. 03Launch `clavue` in your project directory or run `clavue plugin list` to confirm.
CLI install & verify
clavue plugin install figma@plugins --trust
clavue plugin list
imux · IDEmacOS AI command center

imux IDE

imux shares your local Clavue plugin config—combining Figma 设计协作 context with workspace files, Git diffs, split terminals, and the built-in browser.

  1. 01Confirm your Clavue plugin/MCP setup in an imux terminal pane or Settings → Agent / MCP.
  2. 02Invoke Figma 设计协作 inside imux Agent Chat to pull context alongside local repo edits.
  3. 03Review generated diffs in the imux Changes panel and verify before keeping.
imux Agent Chat prompt
Use Figma 设计协作 to gather live context, cross-check against our workspace files and git diff, and propose scoped edits before applying.
Clavue · GUIDesktop workbench (Mac / Win)

Clavue GUI

Clavue GUI reads the same Discover catalog—enable Figma 设计协作 per project visually, inspect tool-call timelines, and manage approvals without editing raw JSON.

  1. 01Open Clavue GUI → Discover and search for `figma@plugins`.
  2. 02Enable it for the target project and bind any scoped environment credentials.
  3. 03Run tasks in the GUI timeline with visual approval cards for sensitive actions.
GUI Discover search key
figma@plugins
Clavue · ChatBrowser planning & specs

Clavue Chat

Use the same membership on chat.clavue.com to browse Discover, draft specs and prompts tailored for Figma 设计协作, and hand off execution to CLI / imux / GUI.

  1. 01Locate Figma 设计协作 in Chat's Discover drawer and copy its install command.
  2. 02Draft architecture specs, query plans, and acceptance criteria with `clavue` in the browser.
  3. 03Hand off the verified plan to Clavue CLI or imux for local execution.
Chat planning prompt
Help me design a least-privilege integration plan for Figma 设计协作 with clear input/output contracts and 3 verification gates.
Clavue · BotAutonomous staff & routines

Clavue Bot

Bind Figma 设计协作 into Clavue Bot recurring routines or cloud-computer tasks for automated digests, triage, and checks with explicit approval gates.

  1. 01Attach a workspace runtime or cloud computer that has the required scoped credentials.
  2. 02Create a scheduled or triggered Routine using Figma 设计协作 for read-only collection and summarization.
  3. 03Gate external writes or mutations behind explicit approval rules.
Bot routine instruction
Every weekday at 09:00, use Figma 设计协作 (read-only) to collect the last 24h events, flag anomalies, and post a 5-bullet digest.
Clavue · ModelsOpenAI-compatible API & CI

Clavue Models & API

Pair Figma 设计协作 tool schemas with Clavue Models & API (api.clavue.com/v1) function calling in CI pipelines, scripts, and custom backends.

  1. 01Create an API key in Account and point your SDK base URL to `https://api.clavue.com/v1`.
  2. 02Call `clavue` (or `clavue-5.5` / `clavue-2.1`) with the tool schemas exposed by Figma 设计协作.
  3. 03Execute tool calls in your runner and return `tool` role outputs to close the loop.
API tool-calling example
curl https://api.clavue.com/v1/chat/completions \
  -H "Authorization: Bearer $CLAVUE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"clavue","messages":[{"role":"user","content":"Plan next task with figma"}]}'

FLUX DE TRAVAIL

Flux recommandé entre produits

STEP 01Clavue Chat

Scope goals & permissions first

Use Chat to define least-privilege permissions, input/output contracts, and acceptance checks for Figma 设计协作.

STEP 02CLI / TUI

Install once & run a read-only smoke check

Install with `clavue plugin install` and verify tool discovery and latency with a read-only call.

STEP 03imux IDE / GUI

Deliver inside workspace context

Pair Figma 设计协作 with local code, terminal tests, and diff review inside imux IDE or Clavue GUI.

STEP 04Bot & API

Promote to Bot routines or CI

Turn proven workflows into scheduled Clavue Bot digests or `api.clavue.com/v1` automation.

CAS D'USAGE & PROMPTS

Scénarios clés et modèles de prompts

imux IDE / CLI

Design-to-code component build

Read Figma node colors, typography, and spacing to implement components matching repo conventions.

Modèle de prompt
Inspect this Figma frame URL, extract exact colors, spacing, and typography tokens, and implement the responsive component.
Clavue GUI / CLI

Design token drift audit

Compare Figma variables against local CSS or Swift theme tokens.

Modèle de prompt
Compare Figma style variables against our local theme config and list any mismatched or missing tokens.
Clavue Chat

Component spec breakdown

Turn complex mockups into component trees and state acceptance criteria.

Modèle de prompt
Break down this Figma frame into reusable components with loading, empty, and error states.

BONNES PRATIQUES

Sécurité et fiabilité en production

✓Start read-only, gate every mutation

Validate Figma 设计协作 with read-only credentials first and require human confirmation before any external write, delete, or publish step.

✓Scope credentials per project

Bind tokens and connection strings to the narrowest project or workspace scope possible and keep secrets in environment variables, never in prompts.

✓Split planning and execution across the family

Draft specs and acceptance criteria in Clavue Chat, then execute against real files, tests, and Git diffs inside imux IDE, Clavue GUI, or CLI / TUI.

✓Bound tool payload size

Pass explicit filters (date windows, path prefixes, page limits) so tool responses stay crisp and leave plenty of room in the context window.

DÉPANNAGE

Questions fréquentes et vérifications

Tools do not appear in imux or CLI after running `clavue plugin install figma@plugins --trust`?

Verify `clavue login` is active and run `clavue plugin list` to confirm installation. In imux IDE, start a fresh Agent Chat turn or refresh Settings → Agent / MCP.

Why does the web catalog not install directly into my machine?

For security isolation, the web catalog only browses metadata and builds install commands. Actual installation, credential binding, and process execution happen inside Clavue CLI, GUI, or imux.

How do I debug intermittent auth errors or timeouts?

Confirm the required environment variables are exported in your shell, test a narrow read-only query in CLI first, and verify token scope.

ÉCOSYSTÈME

Intégrations associées