
figma-mcp-go
Figma MCP server with full read/write access via plugin bridge — no API tokens, no rate limits, text to designs and designs to code
- Installs
- 223
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/reason-machines/mcp-skills --skill figma-mcp-go- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads figma-mcp-go automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
figma-mcp-go
Skill by ara.so — MCP Skills collection
An open-source MCP server that provides full read/write access to Figma files through a plugin bridge, bypassing REST API rate limits. Built in Go, it enables AI tools like Claude, Cursor, and GitHub Copilot to automate design workflows, create components, modify styles, manage variables, and export designs to code.
What It Does
- No API Token Required: Works through a Figma plugin, avoiding REST API limits (6 calls/month on free plans)
- 73 Tools: Complete CRUD operations for frames, components, text, styles, variables, prototypes, and more
- Bidirectional: Read design context and write changes back to live Figma files
- Export: Screenshot nodes, generate PDFs, export design tokens as JSON/CSS
- Built-in Strategies: Includes MCP prompts for design best practices
Installation
1. Configure MCP Server
Claude Code CLI:
claude mcp add -s project figma-mcp-go -- npx -y @vkhanhqui/figma-mcp-go@latest
Codex CLI:
codex mcp add figma-mcp-go -- npx -y @vkhanhqui/figma-mcp-go@latest
Cursor / VS Code / GitHub Copilot (.vscode/mcp.json):
{
"servers": {
"figma-mcp-go": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@vkhanhqui/figma-mcp-go"]
}
}
}
Claude Desktop (.mcp.json):
{
"mcpServers": {
"figma-mcp-go": {
"command": "npx",
"args": ["-y", "@vkhanhqui/figma-mcp-go"]
}
}
}
2. Install Figma Plugin
- Download plugin.zip
- Open Figma Desktop → Plugins → Development → Import plugin from manifest
- Select
manifest.jsonfrom the extracted ZIP - Run the plugin inside any Figma file (it must stay open while using MCP tools)
Core Workflows
Reading Design Context
Get current page structure:
// Use get_design_context for depth-limited tree with detail control
const context = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "get_design_context",
arguments: {
rootNodeId: "0:1", // page ID or specific frame
maxDepth: 3,
detail: "compact" // minimal | compact | full
}
});
Get metadata and page list:
const metadata = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "get_metadata",
arguments: {}
});
const pages = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "get_pages",
arguments: {}
});
Search for nodes:
const results = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "search_nodes",
arguments: {
rootNodeId: "0:1",
nameSubstring: "Button",
types: ["COMPONENT", "INSTANCE"]
}
});
Creating Design Elements
Create a frame with auto-layout:
const frame = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "create_frame",
arguments: {
name: "Hero Section",
x: 0,
y: 0,
width: 1440,
height: 600,
fills: "#0066FF",
layoutMode: "VERTICAL",
primaryAxisAlignItems: "CENTER",
counterAxisAlignItems: "CENTER",
itemSpacing: 24,
paddingTop: 48,
paddingRight: 48,
paddingBottom: 48,
paddingLeft: 48
}
});
Create text node:
const text = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "create_text",
arguments: {
characters: "Welcome to Our Platform",
fontFamily: "Inter",
fontStyle: "Bold",
fontSize: 48,
x: 100,
y: 100,
parentId: frame.id // optional, parent frame
}
});
Import image from base64:
const image = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "import_image",
arguments: {
base64Data: "iVBORw0KGgoAAAANSUhEUg...", // without data:image prefix
x: 0,
y: 0,
width: 800,
height: 600,
name: "Hero Image",
parentId: frame.id
}
});
Modifying Existing Nodes
Update text content:
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "set_text",
arguments: {
nodeId: "123:456",
characters: "Updated heading text"
}
});
Set fills and strokes:
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "set_fills",
arguments: {
nodeIds: ["123:456", "123:457"],
color: "#FF5733"
}
});
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "set_strokes",
arguments: {
nodeId: "123:456",
color: "#000000",
weight: 2
}
});
Batch find and replace text:
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "find_replace_text",
arguments: {
rootNodeId: "0:1", // search entire page
findText: "Company Name",
replaceText: "Acme Corp",
useRegex: false,
caseSensitive: false
}
});
Resize and reposition:
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "resize_nodes",
arguments: {
nodeIds: ["123:456"],
width: 1200,
height: 800
}
});
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "move_nodes",
arguments: {
nodeIds: ["123:456"],
x: 200,
y: 300
}
});
Working with Components
Create component from frame:
const component = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "create_component",
arguments: {
nodeId: "123:456", // must be a FRAME
name: "Button/Primary"
}
});
Swap component instance:
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "swap_component",
arguments: {
instanceId: "123:789",
newComponentId: "456:123"
}
});
Detach instance:
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "detach_instance",
arguments: {
nodeIds: ["123:789"]
}
});
Styles and Variables
Create paint style:
const style = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "create_paint_style",
arguments: {
name: "Colors/Primary/500",
color: "#0066FF"
}
});
Create text style:
const textStyle = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "create_text_style",
arguments: {
name: "Heading/H1",
fontFamily: "Inter",
fontStyle: "Bold",
fontSize: 48,
lineHeight: 56,
letterSpacing: -0.5
}
});
Apply style to node:
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "apply_style_to_node",
arguments: {
nodeId: "123:456",
styleId: style.id,
styleType: "FILL" // FILL | STROKE | TEXT | EFFECT | GRID
}
});
Create variable collection:
const collection = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "create_variable_collection",
arguments: {
name: "Spacing",
initialModeName: "Default"
}
});
Create and bind variable:
const variable = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "create_variable",
arguments: {
collectionId: collection.id,
name: "spacing-md",
resolvedType: "FLOAT"
}
});
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "set_variable_value",
arguments: {
variableId: variable.id,
modeId: collection.defaultModeId,
value: 16
}
});
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "bind_variable_to_node",
arguments: {
nodeId: "123:456",
variableId: variable.id,
field: "itemSpacing" // fillColor | strokeColor | width | height | opacity | rotation | visible | cornerRadius | itemSpacing | paddingLeft | etc.
}
});
Prototyping
Set prototype reactions:
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "set_reactions",
arguments: {
nodeId: "123:456",
reactions: [
{
trigger: { type: "ON_CLICK" },
actions: [
{
type: "NODE",
destinationId: "123:789",
navigation: "NAVIGATE",
transition: {
type: "DISSOLVE",
duration: 0.3,
easing: { type: "EASE_OUT" }
}
}
]
}
],
mode: "replace" // replace | append
}
});
Get reactions:
const reactions = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "get_reactions",
arguments: {
nodeId: "123:456"
}
});
Exporting
Take screenshot:
const screenshot = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "get_screenshot",
arguments: {
nodeId: "123:456",
format: "PNG",
scale: 2
}
});
// Returns base64-encoded image
Save screenshots to disk:
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "save_screenshots",
arguments: {
nodeIds: ["123:456", "123:789"],
outputDir: "/path/to/exports",
format: "PNG",
scale: 2,
filenameTemplate: "{nodeName}_{nodeId}"
}
});
Export frames to PDF:
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "export_frames_to_pdf",
arguments: {
frameIds: ["123:1", "123:2", "123:3"],
outputPath: "/path/to/output.pdf",
scale: 2
}
});
Export design tokens:
const tokens = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "export_tokens",
arguments: {
format: "json" // json | css
}
});
// Returns design tokens (variables + paint styles)
Common Patterns
Design System Setup
// 1. Create color variables
const colorCollection = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "create_variable_collection",
arguments: { name: "Colors", initialModeName: "Light" }
});
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "add_variable_mode",
arguments: { collectionId: colorCollection.id, modeName: "Dark" }
});
const primaryVar = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "create_variable",
arguments: {
collectionId: colorCollection.id,
name: "primary",
resolvedType: "COLOR"
}
});
// Set values for both modes
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "set_variable_value",
arguments: {
variableId: primaryVar.id,
modeId: colorCollection.modes[0].id, // Light
value: "#0066FF"
}
});
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "set_variable_value",
arguments: {
variableId: primaryVar.id,
modeId: colorCollection.modes[1].id, // Dark
value: "#66B3FF"
}
});
// 2. Create component with bound variable
const buttonFrame = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "create_frame",
arguments: {
name: "Button",
width: 200,
height: 48,
layoutMode: "HORIZONTAL",
primaryAxisAlignItems: "CENTER",
counterAxisAlignItems: "CENTER"
}
});
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "bind_variable_to_node",
arguments: {
nodeId: buttonFrame.id,
variableId: primaryVar.id,
field: "fillColor"
}
});
const component = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "create_component",
arguments: { nodeId: buttonFrame.id, name: "Button/Primary" }
});
Bulk Content Updates
// Find all text nodes in a page
const textNodes = await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "scan_text_nodes",
arguments: { rootNodeId: "0:1" }
});
// Update placeholder text
for (const node of textNodes) {
if (node.characters.includes("Lorem ipsum")) {
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "set_text",
arguments: {
nodeId: node.id,
characters: node.characters.replace("Lorem ipsum", "Real content")
}
});
}
}
// Or use find_replace_text for efficiency
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "find_replace_text",
arguments: {
rootNodeId: "0:1",
findText: "Lorem ipsum",
replaceText: "Real content",
useRegex: false
}
});
Component Organization
// Group related frames
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "group_nodes",
arguments: {
nodeIds: ["123:1", "123:2", "123:3"],
groupName: "Button Variants"
}
});
// Create sections for organization
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "create_section",
arguments: {
name: "Components",
x: 0,
y: 0,
width: 2000,
height: 1000
}
});
// Batch rename nodes
await use_mcp_tool({
server_name: "figma-mcp-go",
tool_name: "batch_rename_nodes",
arguments: {
rootNodeId: "0:1",
findPattern: "Frame",
replaceText: "Card",
useRegex: false
}
});
Built-in MCP Prompts
Access strategic guidance through MCP prompts:
read_design_strategy: Best practices for reading Figma designs efficientlydesign_strategy: Best practices for creating and modifying designstext_replacement_strategy: Chunked approach for replacing text across large designsannotation_conversion_strategy: Convert manual annotations to native Figma annotationsswap_overrides_instances: Transfer overrides between component instancesreaction_to_connector_strategy: Map prototype reactions into flow diagrams
Troubleshooting
Plugin not connecting:
- Ensure Figma Desktop (not web) is running
- Verify the plugin is active in the current file
- Restart the plugin if idle for extended periods
Tools returning errors:
- Check node IDs are valid using
get_documentorsearch_nodes - Ensure node types match tool requirements (e.g.,
create_componentrequires FRAME) - Verify parent nodes exist before reparenting
Font not loading:
- Text creation automatically loads fonts, but custom fonts must be installed on your system
- Use
get_fontsto see available fonts in the current file
Export failures:
- Ensure output directories exist and have write permissions
- For
save_screenshotsandexport_frames_to_pdf, paths are relative to server working directory
Performance with large files:
- Use
maxDepthinget_design_contextto limit tree traversal - Use
detail: "minimal"to reduce payload size - Query specific nodes with
get_nodeorsearch_nodesinstead of full page trees
FAQ
What does the figma-mcp-go skill do?
Figma MCP server with full read/write access via plugin bridge — no API tokens, no rate limits, text to designs and designs to code
How do I install figma-mcp-go?
Run npx skills add https://github.com/reason-machines/mcp-skills --skill figma-mcp-go in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/figma-mcp-go/ (personal) or .claude/skills/figma-mcp-go/ (project).
Which AI agents can use figma-mcp-go?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is figma-mcp-go safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains figma-mcp-go?
It is published by reason-machines in reason-machines/mcp-skills. It has 223 recorded installs.
More from reason-machines/mcp-skills
codebase-memory-mcp-intelligence
reason-machines/mcp-skills
High-performance code intelligence MCP server that indexes codebases into knowledge graphs for structural queries, call traces, and architecture analysis
playwright-mcp-server
reason-machines/mcp-skills
Browser automation MCP server using Playwright's accessibility tree for LLM-friendly web interaction
tradingview-mcp-assistant
reason-machines/mcp-skills
AI-assisted TradingView chart analysis and automation via Chrome DevTools Protocol for Claude Code
lanhu-mcp-collaboration
reason-machines/mcp-skills
AI-powered design collaboration server connecting Lanhu design platform with AI coding assistants for requirements analysis, UI design extraction, and team knowledge sharing
chrome-devtools-mcp-automation
reason-machines/mcp-skills
Expert guidance for Chrome DevTools MCP server - browser automation, debugging, and performance analysis for AI agents
github-mcp-server
reason-machines/mcp-skills
Open the skill to read its SKILL.md instructions.
Popular ai & agents skills
google-agents-cli-publish
google/agents-cli
This skill should be used when the user wants to "publish an agent", "publish my ADK agent", "register an agent with Gemini", "publish to Gemini" (formerly Gemini Enterprise), or needs guidance on the agents-cli publish gemini command. Also use when the user wants to "manage agents in Agent Registry", "list/update/delete registered agents", or "register an MCP server". Covers ADK vs A2A registration modes, programmatic and interactive usage, flag reference, auto-detection from deployment metadata, Agent Registry fleet management, and troubleshooting. Part of the agents-cli skills suite. Do NOT use for deployment (use google-agents-cli-deploy).
google-agents-cli-eval
google/agents-cli
This skill should be used when the user wants to "run an evaluation", "evaluate my agent", "evaluate my ADK agent", "write an eval dataset", "analyze eval failures", "compare eval results", "optimize agent", or needs guidance on the Gemini platform eval methodology and the Quality Flywheel. Covers eval metrics, dataset schema, LLM-as-judge scoring, and common failure causes. Applies to any agents-cli project, whatever framework the agent is written in. Do NOT use for agent API code patterns (ADK: use google-agents-cli-adk-code), deployment (use google-agents-cli-deploy), or project scaffolding (use google-agents-cli-scaffold).
skill-creator
anthropics/skills
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
codex-pet
prime-skills/runcomfy-agent-skills
Codex Pet generator on RunComfy. Build a Codex-compatible Codex Pet spritesheet.webp + pet.json from a single reference image, drop it into ${CODEXHOME:-$HOME/.codex}/pets/ / and Codex picks it up as a custom Codex Pet next to the 8 built-ins. This skill produces the exact Codex Pet atlas Codex expects (1536x1872 PNG/WebP, 8 cols x 9 rows, 192x208 cells, 9 animation states — idle, running-right, running-left, waving, jumping, failed, waiting, running, review). Calls OpenAI GPT Image 2 edit ONCE via the local RunComfy CLI as runcomfy run openai/gpt-image-2/edit to produce a canonical Codex Pet pose, then assembles all 9 animation rows programmatically with ImageMagick micro-transforms — no Codex Pro, no $imagegen, no OPENAIAPIKEY required, only RUNCOMFYTOKEN. Triggers on "codex pet", "create codex pet", "make codex pet", "hatch codex pet", "/hatch image", "desktop pet codex", "codex pets", "spritesheet.webp", or any explicit ask to build a custom pet for OpenAI Codex.
full-output-enforcement
leonxlnx/taste-skill
Overrides default LLM truncation behavior. Enforces complete code generation, bans placeholder patterns, and handles token-limit splits cleanly. Apply to any task requiring exhaustive, unabridged output.
executing-plans
obra/superpowers
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available