figmad-mcp
Allows for the creation, capture, and management of Figma designs, including tools to read file structures, nodes, and styles, as well as write operations to create frames, shapes, and text.
Enables the extraction of components and design tokens from React codebases to compare or sync them with Figma design files.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@figmad-mcp Create a mobile login screen with email and password fields"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
figmad-mcp
Figma Design MCP Server - Create, capture, and manage Figma designs via AI agents.
Features
Read Operations: Get files, nodes, components, styles, variables, export images
Write Operations: Create frames, shapes, text; apply auto-layout; update nodes (requires plugin)
Capture & Reconstruct: Screenshot webpages and recreate them in Figma
Generate UI: Create UI designs from text prompts
Related MCP server: figma-mcp
Setup
1. Install Dependencies
npm install2. Configure Environment
cp .env.example .env
# Edit .env and add your FIGMA_ACCESS_TOKENGet your token at: https://www.figma.com/developers/api#access-tokens
3. Build
npm run build4. Install Plugin (for write operations)
cd plugin
npm install
npm run buildThen in Figma:
Menu → Plugins → Development → Import plugin from manifest
Select
plugin/manifest.json
Usage
With Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"figmad": {
"command": "node",
"args": ["/path/to/figmad-mcp/dist/index.js"],
"env": {
"FIGMA_ACCESS_TOKEN": "your-token-here"
}
}
}
}Available Tools
Read Operations (REST API - always available)
Tool | Description |
| Get Figma file structure |
| Get specific nodes by ID |
| List components in a file |
| Get color/text/effect styles |
| Get design tokens/variables |
| Export node as PNG/SVG/PDF |
Write Operations (Plugin required)
Tool | Description |
| Create a new frame |
| Create a rectangle shape |
| Create text node |
| Modify node properties |
| Apply auto-layout to frame |
| Set fill colors |
| Delete a node |
| Get current selection |
| Check if plugin is connected |
Orchestrated Tools
Tool | Description |
| Screenshot and analyze a webpage |
| Recreate captured page in Figma |
| Generate UI from text description |
| Extract components and design tokens from code |
| Compare/sync tokens between Figma and code |
Example Prompts
Get the structure of my Figma file: [paste figma URL]
Create a landing page with a header, hero section with headline and CTA button, three feature cards, and a footer
Capture https://example.com and recreate it in Figma
Export the frame "Hero Section" as a PNG
Analyze my React codebase at /path/to/project and extract design tokens
Compare design tokens between my Figma file and codebaseArchitecture
┌─────────────┐ ┌─────────────────┐ ┌──────────────────┐
│ AI Agent │────▶│ figmad-mcp │────▶│ Figma Plugin │
│ (Claude) │stdio│ (MCP Server) │ ws │ (runs in Figma) │
└─────────────┘ └────────┬────────┘ └──────────────────┘
│
├──▶ Figma REST API (read operations)
└──▶ Playwright (web capture)Development
npm run dev # Watch mode
npm run typecheck # Type checking
npm run lint # Linting
cd plugin
npm run watch # Watch plugin changesLicense
MIT
Available Tools
20 toolsanalyze_codebaseB
Analyze a codebase to extract component definitions, props, and design tokens. Supports React, Vue, Svelte, Angular. Extracts Tailwind config and CSS variables.
Inputs: no named parameters.
apply_auto_layoutB
Apply auto-layout to a frame. Auto-layout automatically arranges children horizontally or vertically with consistent spacing.
Inputs: no named parameters.
capture_webpageA
Capture a webpage screenshot and analyze its DOM structure. Detects UI components like buttons, inputs, cards, navigation. Returns capture ID for use with reconstruct_page.
Inputs: no named parameters.
create_frameB
Create a new frame in Figma. Frames are the primary container for designs. Requires the Figma plugin to be connected.
Inputs: no named parameters.
create_rectangleB
Create a rectangle shape in Figma. Can have fills and rounded corners.
Inputs: no named parameters.
create_textB
Create a text node in Figma. Supports font customization and alignment.
Inputs: no named parameters.
delete_nodeB
Delete a node from the Figma document.
Inputs: no named parameters.
export_imageA
Export a Figma node as an image (PNG, JPG, SVG, or PDF). Returns a URL to the exported image.
Inputs: no named parameters.
generate_uiB
Generate a UI design from a text description. Parses the prompt for common UI patterns (header, hero, cards, form, footer) and creates corresponding Figma elements.
Inputs: no named parameters.
get_componentsA
List all components in a Figma file. Returns component keys, names, and descriptions.
Inputs: no named parameters.
get_fileA
Get a Figma file structure and metadata. Returns the document tree, components, and styles.
Inputs: no named parameters.
get_nodeA
Get specific nodes from a Figma file by their IDs. More efficient than getting the full file when you know what nodes you need.
Inputs: no named parameters.
get_selectionA
Get the currently selected nodes in Figma.
Inputs: no named parameters.
get_stylesB
Get all styles (colors, text styles, effects, grids) from a Figma file.
Inputs: no named parameters.
get_variablesB
Get design tokens/variables from a Figma file. Includes colors, spacing, and other tokenized values.
Inputs: no named parameters.
plugin_statusA
Check if the Figma plugin is connected. Write operations require the plugin.
Inputs: no named parameters.
reconstruct_pageA
Reconstruct a captured webpage in Figma. Creates frames, shapes, and text based on the captured DOM structure. Requires capture_webpage to be called first.
Inputs: no named parameters.
set_fillsA
Set fill colors/gradients on a node. Replaces all existing fills.
Inputs: no named parameters.
sync_design_tokensB
Compare and sync design tokens between Figma and code. Can extract tokens from Figma variables/styles or from codebase analysis.
Inputs: no named parameters.
update_nodeB
Update properties of an existing Figma node. Can modify position, size, text, visibility, and more.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools have distinct purposes, such as create_frame, create_rectangle, and create_text for different element types, and get_file, get_node, and get_selection for different retrieval methods. However, some overlap exists between analyze_codebase and sync_design_tokens, as both involve code analysis and design tokens, which could cause mild confusion.
Tool names follow a consistent verb_noun pattern throughout, such as create_frame, delete_node, export_image, get_components, and update_node. There are no deviations in naming conventions, making the set predictable and readable.
With 20 tools, the count is slightly high but reasonable for a Figma MCP server covering design operations, code analysis, and webpage capture. It includes core CRUD actions and specialized functions without feeling excessively bloated, though it borders on the upper limit of typical scope.
The tool set provides comprehensive coverage for Figma design workflows, including creation (e.g., create_frame, create_text), retrieval (e.g., get_file, get_node), updates (update_node), deletion (delete_node), export (export_image), and integration with codebases and webpages. No obvious gaps are present, supporting full lifecycle operations.
Maintenance
Related MCP Connectors
UI design from prompts, screenshots, and URLs for AI coding agents and theme tokens.
Design canvas for agents: create, edit, render and export Figma-shaped designs over MCP.
Agent-Native design tool - create and edit visual designs with agent assistance
Connect AI coding agents to Anima Playground, Figma, and your design system.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Figma designs using natural language commands, supporting file analysis, component extraction, asset export, comment management, and design system queries through the Figma API.1ISC
- FlicenseBqualityDmaintenanceEnables AI agents to read, inspect, and export Figma designs programmatically. Provides tools for listing components, styles, and exporting assets in various formats.51-
- FlicenseNot gradedqualityBmaintenanceEnables AI agents to access Figma design context, generate code from frames, extract variables, components, and layout data, and create or modify Figma files directly from MCP clients.-
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to read, analyze, and modify Figma designs, including bulk style updates, accessibility audits, comment triage, and code generation from designs.842 npmMIT