figma

Fetches Figma design context, screenshots, and assets via MCP to translate designs into production code.

Updated Feb 4, 2026
One-click install
npx skills add https://github.com/pchemguy/AISandbox --skill figma-pchemguy
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: figma
Source: https://github.com/pchemguy/AISandbox/tree/main/docs/AgentSkills/openai/skills/skills/.curated/figma
Command: npx skills add https://github.com/pchemguy/AISandbox --skill figma-pchemguy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Translating Figma designs into code by hand is slow and error-prone, often producing UI that drifts from the original design. This Skill connects to the Figma MCP server to pull structured design context, screenshots, variables, and assets directly from Figma links, then guides the conversion of that output into code that matches your project's conventions. ## Core Features & Use Cases - Structured design extraction: Runs get_design_context, get_metadata, and get_screenshot in a required sequence to capture exact node structure and visual reference before writing any code. - Design-to-code translation rules: Converts the default React + Tailwind output into your project's design-system tokens, components, typography, and spacing conventions for 1:1 visual parity. - Asset and variable handling: Serves image and SVG assets from the Figma MCP localhost endpoint and retrieves variable definitions and code-connect mappings to reuse existing components. - Use Case: Paste a Figma frame link for a new checkout page, and the Skill fetches its design context and screenshot, downloads the required SVG assets, and implements the page using your existing button and typography components. ## Quick Start Give the agent a Figma frame or layer link and ask it to implement that design using the Figma MCP server following the required get_design_context, get_metadata, and get_screenshot flow.

Frequently Asked Questions about figma

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert a Figma design to code with the Figma MCP server?▼

Copy the Figma frame or layer link and give it to the MCP client. The flow runs get_design_context for structured data, get_metadata if the response is truncated, then get_screenshot for visual reference before implementing the code in your project's conventions.

How do I set up the Figma MCP server in Codex?▼

Add an [mcp_servers.figma] entry to ~/.codex/config.toml pointing to https://mcp.figma.com/mcp with bearer_token_env_var set to FIGMA_OAUTH_TOKEN, and enable the rmcp_client feature. Export the token in your shell and restart Codex to verify.

Can Figma MCP output use my existing components instead of Tailwind?▼

Yes. The default React + Tailwind output is treated as a design representation, not final code. You replace utility classes with your design-system tokens and reuse existing components, optionally using get_code_connect_map to map Figma nodes to code components.

Why is my Figma MCP server not authenticating?▼

Authentication fails when FIGMA_OAUTH_TOKEN is not exported in the shell that launches Codex, or when the rmcp_client feature flag is disabled. Verify the token prints non-empty, remove surrounding quotes, and restart Codex after config changes.

What are the limitations of the remote Figma MCP server?▼

The remote server is link-based and cannot browse Figma pages; it only extracts the node ID from the URL you provide. Selection-based prompting requires an exact frame or layer link, and large nodes may need get_metadata first to avoid truncated responses.