mcp
v6.2.0MCP server for the UI Organized design system: real components and design tokens for AI coding agents, so generated code uses what exists instead of inventing…
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search_components Search components
Fuzzy-search real code components by name or path. Use it to find a component before calling get_component, or when a lookup by name or Figma key found no exact match. Every result carries a similarity score — treat low scores as unconfirmed.
| Parameter | Type | Description |
|---|---|---|
query * | string | Name or path fragment to search for |
framework | string | Library to search; defaults to this project's |
status | string |
get_component Get component
The complete spec for one component by exact code name: import, every prop and its allowed values, usage rules and examples. Read it before using a component. Returns found:false with real alternatives when the name doesn't exist — do NOT invent a component.
| Parameter | Type | Description |
|---|---|---|
name * | string | Exact component name, e.g. Button (or UioButton in Angular) |
framework | string | Library to describe; defaults to this project's |
search_tokens Search design tokens
Find design tokens by purpose, e.g. 'background', 'padding', 'error text'. Use this for custom layout and custom elements instead of hex colours or px literals. Results are semantic tokens with their theme values and when to use them. A component's own props come first.
| Parameter | Type | Description |
|---|---|---|
query * | string | What the value is for |
get_token Get design token
Check one token by exact name. Returns found:false with real alternatives when it doesn't exist — never use a token this rejects. Also takes a Figma variable name as Figma's own MCP writes it (spacing/space-02, var(--content/primary,#030303)) and returns the CSS token it binds to.
| Parameter | Type | Description |
|---|---|---|
name * | string | Token name, e.g. --color-surface-base, or a Figma variable name |
get_figma_frame Read a Figma frame as code
Returns one Figma frame as a compact skeleton in this project's library (JSX, or a Svelte, Vue or Angular template) using real components and tokens, without each component's internal layers. It works only once the library's components are linked to Figma; until then it returns found:false, and the route is Figma's own MCP server (get_design_context), then get_component for each component and get_token for each Figma variable name. Items in `unmapped` and `unbound` have no verified code equivalent: report them, do not invent one. Needs FIGMA_TOKEN in the server's environment.
| Parameter | Type | Description |
|---|---|---|
fileKey | string | File key, if no URL |
framework | string | Library to write; defaults to this project's |
nodeId | string | Node id such as 1:2, if no URL |
url | string | Figma URL including node-id |
resolve_figma_components Resolve Figma components
Turn Figma component set keys and their property values into real imports and markup (JSX, or this project's library), for callers already holding node data. An unknown key returns found:false — do NOT invent a component.
| Parameter | Type | Description |
|---|---|---|
components * | array | |
framework | string | Library to write; defaults to this project's |