SunnysideFigma Context MCP Server

Model Context Protocol server for Figma integration

Local serverstdioTypeScript

What is the SunnysideFigma Context MCP Server?

Model Context Protocol server for Figma integration

What the server does

A Model Context Protocol (MCP) server that turns Figma designs into production code. It ships with a companion Figma plugin so LLM clients can read the layer you're actually looking at, extract pixel-perfect CSS and design tokens, and generate React / Tailwind / styled-components output — all from a natural-language prompt.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_figma_dev_historyList of past extractions (name, id, layout)
get_Basic_CSSRoot element CSS via getCSSAsync()
get_All_Layers_CSSCSS for every layer in the selection
get_JSONStructured: id, fills, variables, design tokens, allLayersCSS — the highest-signal single call
get_react_componentTypeScript React + CSS module
get_tailwind_componentReact + Tailwind classes (arbitrary values)
get_styled_componentReact + styled-components
get_plugin_project_overviewSummary of the full scanned project (requires Scan Entire Project in the plugin)
analyze_app_structureArchitectural breakdown of a scanned project
get_figma_dataRaw file or node JSON
get_figma_page_structurePage-level tree for orientation
get_figma_project_overviewTeam/project-level summary
analyze_figma_componentsComponent detection across a file
download_figma_imagesBatch SVG/PNG export to disk
extract_design_tokensBuild a token catalog from current selection
build_dependency_graphMap which layers consume which tokens
debug_token_registryInspect the current registry state
track_design_system_healthCoverage / conflict report
simulate_token_changeDry-run a rename/value change
analyze_token_change_impactBlast-radius report for a proposed change
apply_token_changeCommit a simulated change
rollback_token_changeRevert an applied change
list_token_simulationsList staged simulations
generate_migration_codeProduce codemod-style output for the change
check_figma_dev_connectionProbe the Dev Mode server
get_figma_dev_mode_codeReact + Tailwind from Figma's own generator
generate_codegen_pluginScaffold a new Figma Dev Mode codegen plugin

How to install the SunnysideFigma Context MCP Server

{
  "mcpServers": {
    "sunnyside-figma": {
      "type": "stdio",
      "command": "node",
      "args": [
        "/absolute/path/to/sunnysideFigma-Context-MCP/dist/cli.js",
        "--stdio"
      ],
      "env": {
        "FIGMA_API_KEY": "YOUR_FIGMA_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
FIGMA_API_KEYDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use SunnysideFigma Context MCP to get figma dev history.”
  • “Use SunnysideFigma Context MCP to get Basic CSS.”
  • “Use SunnysideFigma Context MCP to get All Layers CSS.”

Frequently asked questions

Model Context Protocol server for Figma integration Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.