mcpserver.lol
registry/figma-relai
Connection check local install

figma-relai

Your AI, on the canvas — connect Claude Code, Cursor, or any MCP client to Figma: read, edit, audit, build. The file itself carries your rules and rulings. Works on every Figma plan.

Tools 37
GitHub stars 4
Installs / wk 31
Licence MIT
Transport stdio
Last checked never

Tools & capabilities

37 tools

Read from the published package source — this server runs locally, so there is no endpoint to query. Names are taken from the code, not observed at runtime, and descriptions are often absent.

add_image from source
Place an image: from a URL (creates a new image node) or as a fill on an existing node (base64 imageData). scaleMode controls how the image fits.
analyze_accessibility from source
Check accessibility: text contrast ratios against backgrounds, interactive target sizes (WCAG 2.5.8: 24px desktop default, 44px with platform:mobile). Use to ensure designs meet WC…
analyze_color_usage from source
Audit color consistency and design token coverage for a node tree. Reports which fill/stroke colors are not bound to variables. Use after get_selection_context to diagnose token ga…
analyze_component_health from source
Check component system health: detached instances, unused components, and override consistency. Use to audit design system adherence. Follow with create_component or update_instanc…
analyze_design from source
analyze_layout_quality from source
Check layout quality: auto-layout usage, magic numbers in spacing/padding, and sizing consistency. Use after get_selection_context to find layout improvements. Follow with set_auto…
annotate from source
Read or write Dev Mode annotations. get: read annotations on a node. set: add/update one annotation (labelMarkdown). set_multiple: batch annotations.
batch_execute from source
Execute multiple commands in a single round-trip. Use when performing 3+ similar operations (e.g., styling multiple nodes, creating many elements). Commands run sequentially. Pass…
create_node from source
Create a node in Figma: rectangle, frame, text, ellipse, polygon, star, line, section, slice, svg (from markup), image (from URL), or FigJam connector/table/sticky/code_block. Retu…
diff_nodes from source
Compare two nodes and list their differences (fills, strokes, size, layout, etc.), or audit changes over time with checkpoints: checkpoint:
edit_structure from source
Structural operations on nodes: group/ungroup, reparent (move into another parent), reorder (z-order), clone, flatten to vector, boolean operations (union/subtract/intersect/exclud…
execute_figma from source
Run JavaScript against the Figma Plugin API inside the plugin sandbox \u2014 the escape hatch for anything the other tools don
export_asset from source
Export a node as PNG/JPG/SVG/PDF. Returns base64 data for saving to disk. For a quick visual check of your work, prefer the screenshot tool (returns a viewable image).
get_design_system from source
Inventory the design system available to this file \u2014 call this BEFORE building UI, then prefer instantiating existing components (manage_components action:instantiate takes lo…
get_design_tokens from source
Get an overview of the design token system: variable collections, modes, variable counts, and style counts. Use to understand the design system before binding tokens or creating ne…
get_document_overview from source
Get the full document structure: pages, component/style/variable counts. Always call this first to understand the file. Follow with get_selection_context or search_nodes.
get_events from source
Activity since the last check. scope
get_node_data from source
Raw node data at a chosen detail level: summary (shallow), tree (sparse structure for orientation), full (deeper serialization), css (CSS representation), variables (bound variable…
get_node_details from source
Get a single node
get_selection_context from source
Get full context for the current Figma selection: node properties, fills, layout, token bindings, and children summary. Use as the starting point for any inspection or modification…
import_from_library from source
Import a component, style, or variable from an enabled team library by its key. Keys come from get_design_system
join_room from source
Connect to a specific Figma plugin instance. Usually unnecessary \u2014 pairing is automatic when one plugin is connected. Call with no arguments to LIST the connected plugins (roo…
manage_comments from source
Read and write comments on the Figma file: list (with node anchors \u2014 great for
manage_components from source
manage_conventions from source
The file
manage_pages from source
Page operations: list all pages, create/rename/delete a page, or set a page
manage_rulesets from source
Kits (rulesets) \u2014 named common-ancestor law the plugin keeps on the designer
manage_styles from source
Shared styles: list all local styles; create_paint / create_text / create_effect / create_grid; update (name/properties); delete; apply (style to a node); reorder. To bind variable…
manage_variables from source
navigate from source
Control the designer
screenshot from source
Take a PNG screenshot of a node or the current view. Returns an image visible to the AI. Use to visually verify changes or inspect design details. Works for both context inspection…
search_nodes from source
Search for nodes by name and/or type within a scope. Returns matching node IDs, names, and types. Use to find specific elements before inspecting or modifying them. Follow with get…
set_properties from source
set_text from source
Edit text nodes. Modes: single (nodeId + text), bulk (items \u2014 efficient for many nodes, e.g. translations), or character-range styling (nodeId + range with fontSize/fontWeight…
validate_design_rules from source
Run design quality rules on a node: token coverage, token scopes, cross-component token borrowing, dimension stability across states, fixed-size text that would clip, auto-layout u…
verify_changes from source
Verify that a node
verify_visual from source
The write\u2192see\u2192assert loop in one call: screenshots a node AND (optionally) checks expected property values. Returns the image plus structured pass/fail. Use after visual…