Skip to main content
Glama
Figma Design Pipeline

Figma Design Pipeline

by spfr

SPFR Figma Design Pipeline — DEPRECATED

WARNING

This project is deprecated and no longer maintained. Use the official Figma MCP server instead. The npm package @spicefactory/figma-design-pipeline is deprecated and this repository is archived.

This project bridged gaps in the early Figma MCP: it had no reliable write path, no design-system search, and no website-to-design capture. The official remote Figma MCP server now covers all of these. Its use_figma tool runs Figma Plugin API code directly. One call can create and edit many nodes, so a separate plugin bridge isn't needed anymore.

Migrating to the official Figma MCP

Set up the official server by following Figma's MCP guide. For Claude Code, install the Figma plugin, which bundles the server and its skills (figma-use, figma-generate-design, figma-generate-library, figma-design-to-code, …).

This project

Official Figma MCP

figma_execute + plugin bridge (batched writes)

use_figma — Plugin API JS, many operations per call (write to canvas)

figma_plugin_status

Not needed (no local plugin)

figma_get_tree, figma_find_nodes

get_metadata, use_figma (read-only queries)

figma_get_components, figma_get_styles

search_design_system, get_libraries, get_variable_defs

figma_extract_tokens, figma_export_tokens, figma_diff_tokens

get_variable_defs, use_figma (read variables)

figma_export_images

download_assets, get_screenshot

figma_audit, figma_plan_*

get_metadata / use_figma reads; the agent plans and applies changes via use_figma

figma_map_components

Code Connect (get_code_connect_map, add_code_connect_map)

figma_generate_page, figma_generate_schema

get_design_context (design → code)

Browser capture → design system

generate_figma_design (live web UI → Figma layers)

Create files

create_new_file

Full tool list: Figma MCP tools and prompts.

Related MCP server: Figma Local MCP

Uninstalling

Remove everything the installer set up:

# MCP server registrations
claude mcp remove figma-design-pipeline --scope user   # Claude Code
gemini mcp remove figma-design-pipeline                # Gemini CLI (or delete the entry under mcpServers in ~/.gemini/settings.json)
# Codex CLI: delete the block between "# BEGIN figma-design-pipeline" and "# END figma-design-pipeline" in ~/.codex/config.toml

# Skill symlinks and installed assets
rm -rf ~/.claude/skills/figma-design-pipeline \
       ~/.codex/skills/figma-design-pipeline \
       ~/.agents/skills/figma-design-pipeline \
       ~/.gemini/skills/figma-design-pipeline \
       ~/.figma-design-pipeline

In Figma Desktop, remove the SPFR Design Pipeline development plugin from Plugins → Development → Manage plugins in development.

Historical docs

The final release was 0.8.0 (2026-05-12). Earlier documentation is kept for reference: INSTALL.md, USAGE.md, CHANGELOG.md.

License

MIT

Available Tools

18 tools
figma_auditC

Structural audit: naming, layout, components, tokens, accessibility checks.

Inputs: checks, nodeId, figmaUrl, maxViolations.

figma_diff_tokensA

Compare Figma styles vs provided tokens. Provide figmaStyles data (from official Figma MCP's use_figma or REST API). Reports drift: figmaOnly, codeOnly, changed, matched. No FIGMA_ACCESS_TOKEN needed.

Inputs: figmaStyles (required), fonts, colors, effects, +1 more.

figma_executeA

PREFERRED TOOL for ALL Figma write operations. Execute a batch of validated actions via plugin bridge — 30-60x faster than use_figma. Do NOT use use_figma for writes; use this tool instead. Supports 43 action types including text creation, layout, variables, pages, gradients, images, and text properties. If plugin not connected, returns fallback JavaScript for use_figma. Call figma_plugin_status to check connection.

Inputs: actions (required), dryRun, timeoutMs, stopOnError, +1 more.

figma_export_imagesB

Export node renders as images via REST API. Returns temporary Figma-hosted URLs.

Inputs: nodeIds (required), scale, format, figmaUrl.

figma_export_tokensB

Export extracted design tokens as Tailwind config, CSS variables, or JSON

Inputs: format, nodeId, figmaUrl.

figma_extract_tokensC

Extract design tokens (colors, fonts, spacing, radius, shadows) with Tailwind class mapping

Inputs: nodeId, figmaUrl, tokenTypes.

figma_find_nodesB

Search/filter nodes by name pattern, type, classification, text content, or size. Returns matching nodes without full tree output.

Inputs: type, limit, nodeId, figmaUrl, +9 more.

figma_generate_pageB

Generate an Astro page template from organized Figma design

Inputs: nodeId, figmaUrl, registry, templateType.

figma_generate_schemaC

Generate a CMS ContentSchema definition from Figma design structure

Inputs: schemaId (required), nodeId, figmaUrl.

figma_get_componentsC

List all components in a Figma file with names, descriptions, and node IDs. Uses REST API.

Inputs: figmaUrl.

figma_get_stylesB

List all published styles (colors, text, effects, grids) in a Figma file. Uses REST API.

Inputs: figmaUrl.

figma_get_treeB

Fetch enriched Figma node tree with classifications, tokens, and layout info. Pass a Figma URL or nodeId.

Inputs: depth, nodeId, figmaUrl, includeStyles.

figma_map_componentsC

Map Figma nodes to codebase components using signature matching and hints

Inputs: hints, nodeId, figmaUrl, registry.

figma_plan_componentsA

Plan component extraction from repeated visual patterns. Returns actions array for use with the official Figma MCP's use_figma tool.

Inputs: nodeId, figmaUrl, minSimilarity, minOccurrences.

figma_plan_groupingA

Plan semantic frame grouping for scattered elements. Returns actions array for use with the official Figma MCP's use_figma tool.

Inputs: nodeId, figmaUrl, strategy.

figma_plan_layoutA

Plan auto-layout conversion from absolute positioning. Returns actions array for use with the official Figma MCP's use_figma tool.

Inputs: scope, nodeId, figmaUrl.

figma_plan_namingA

Generate semantic rename plan for generic-named nodes. Returns actions array for use with the official Figma MCP's use_figma tool.

Inputs: nodeId, figmaUrl, overrides, convention.

figma_plugin_statusA

Check if the Figma plugin is connected. Returns connection status, plugin version, current page, and pending batches.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 18 tools

    Disambiguation4/5

    Most tools are cleanly separated by pipeline stage: read (figma_get_tree, figma_find_nodes), audit, token ops, planning, generation, and execution each occupy distinct niches. However, the token family has a soft boundary — figma_extract_tokens (derive tokens), figma_get_styles (list published styles), and figma_export_tokens (convert to Tailwind/CSS/JSON) could be confused by an agent that doesn't understand the extract→export sequencing, and figma_audit overlaps thematically with the specialized plan_* tools.

    Naming Consistency5/5

    Every tool follows the same predictable figma_<verb>_<noun> snake_case pattern, with no camelCase or style mixing. Verb families are internally consistent (figma_plan_naming/grouping/layout/components, figma_get_*/extract_*/export_*), making the naming easy for an agent to enumerate and reason about.

    Tool Count4/5

    18 tools is at the high end of ideal but each corresponds to a distinct stage of the design-to-code pipeline (ingest, audit, tokens, diff, plan, map, generate, execute, health check), so the set feels earned rather than padded. The four figma_plan_* tools are the main source of weight and could arguably be one parameterized tool.

    Completeness4/5

    The surface is broad and covers the full pipeline, including a preferred write path (figma_execute), plugin health (figma_plugin_status), and even a fallback that returns JavaScript for the official Figma MCP. Minor gaps: no dedicated tool for reading variables/remote styles beyond get_styles, no image upload, and write coverage is delegated to a single batch executor, leaving agents without targeted undo/verification operations.

    Maintenance

    ActivitySlowing
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to inspect Figma selections, navigate pages, render previews, generate starter code, and submit user-approved canvas edits through a local bridge.
      3 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables an agent to read, edit, and build Figma designs from scratch — including style guides, variables, components, and screens — through a local plugin bridge to the open file's Plugin API, with no Figma token or REST API calls.
      21
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to read, create, edit, and organize Figma documents directly through a local plugin bridge, without needing a Figma AI subscription.
      3
      Apache 2.0