> ## Documentation Index
> Fetch the complete documentation index at: https://docs.replit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Figma MCP Integration

> Learn how to connect Agent to Figma via MCP to explore layers, extract design data, and generate code from your designs.

Use Agent with Model Context Protocol (MCP) to work with your Figma designs directly in chat. Paste a Figma link to explore layers, extract variables and components, capture screenshots, and generate code from selected frames.

<Note>
  <strong>Seat requirements:</strong> A Figma <strong>Dev</strong> or <strong>Full</strong> seat is recommended for Agent chat features. Free, Starter, and Viewer seats are limited to 6 MCP tool calls per month. The import flow at <a href="/build/figma-to-app">replit.com/import</a> has separate limits — see <a href="#rate-limits-and-figma-seat-requirements">rate limits</a> below.
</Note>

<Callout>
  Want to turn a Figma design into a new app? See the <a href="/build/figma-to-app">Turn a Figma design into an interactive app guide</a>.
</Callout>

<Note>
  The Figma MCP integration uses a <strong>remote server</strong>—you do not need the Figma desktop app running or installed to use this feature in Agent.
</Note>

## Features

* **Generate starter code**: Turn selected frames into production-ready code to bootstrap features or iterate faster.
* **Extract design data**: Access variables, components, and layout specifications defined in your file.
* **Capture frame screenshots**: Create visual references from any frame to guide implementation.
* **Inspect MCP activity**: Expand chat events to view raw requests and responses.

## Demo

Watch a quick walkthrough of the workflow from link detection to code generation:

<Frame>
  <video autoPlay muted loop playsInline src="https://cdn.replit.com/sanity/figma-mcp-v3.mp4" />
</Frame>

## Usage

### Connect in Agent chat

1. Open Agent chat in the Project Editor.
2. Paste a valid Figma file or prototype link into the message box.
3. When a valid link is detected, a <strong>Figma design</strong> card appears. Click <strong>Log in with Figma</strong> to authorize.

After pasting a supported link, Agent shows a Figma design card for quick authorization:

<Frame>
  <img src="https://mintcdn.com/replit/SLo-1yBQr-cqDnLT/images/replitai/mcp-figma/figma-design-card.png?fit=max&auto=format&n=SLo-1yBQr-cqDnLT&q=85&s=91abb671ede47c85eaadc4b5f5faf88e" alt="Connect Figma card appears in Agent chat when a valid Figma link is pasted" width="475" height="216" data-path="images/replitai/mcp-figma/figma-design-card.png" />
</Frame>

### Work with Figma links

Use link-based workflows to act on precise parts of your design:

1. In Figma, copy the link to any frame or layer.
2. Share the URL with Agent in the chat box and describe what you want.

In Figma, copy a link to the exact frame or layer you want Agent to work with:

<Frame>
  <img src="https://mintcdn.com/replit/SLo-1yBQr-cqDnLT/images/replitai/mcp-figma/client-link.png?fit=max&auto=format&n=SLo-1yBQr-cqDnLT&q=85&s=25c66c48dac21b5fe527c32f0586e4f9" alt="Selecting a frame in Figma" width="1000" height="612" data-path="images/replitai/mcp-figma/client-link.png" />
</Frame>

Then paste the link into Agent along with a short instruction (for example, “generate React for this frame”):

<Frame>
  <img src="https://mintcdn.com/replit/SLo-1yBQr-cqDnLT/images/replitai/mcp-figma/agent-chat.png?fit=max&auto=format&n=SLo-1yBQr-cqDnLT&q=85&s=2e1d278c4f81028e2cb11b475435cb2b" alt="Sharing the URL with Agent in the chat box" width="921" height="495" data-path="images/replitai/mcp-figma/agent-chat.png" />
</Frame>

### View MCP calls

Open the timeline event labeled <strong>Used Figma MCP (Beta)</strong> to see the underlying requests and responses.

Here is where to expand the timeline event to inspect MCP calls:

<Frame>
  <img src="https://mintcdn.com/replit/SLo-1yBQr-cqDnLT/images/replitai/mcp-figma/mcp-calls.png?fit=max&auto=format&n=SLo-1yBQr-cqDnLT&q=85&s=a0277ab413c385d4c2ef9e2d3a30e26f" alt="Expanded chat event showing MCP calls to the Figma integration" width="725" height="928" data-path="images/replitai/mcp-figma/mcp-calls.png" />
</Frame>

<Callout>
  MCP access to Figma is read‑oriented and respects your Figma permissions. If a file is private or you lack access, the integration cannot fetch content.
</Callout>

## Rate limits and Figma seat requirements

Figma enforces rate limits on MCP tool calls based on your Figma plan and seat type. These limits are set by Figma, not Replit.

| Seat type        | Starter / Free  | Pro / Organization | Enterprise      |
| ---------------- | --------------- | ------------------ | --------------- |
| **View, Collab** | 6 calls / month | 6 calls / month    | 6 calls / month |
| **Dev, Full**    | —               | 200 calls / day    | 600 calls / day |

Dev and Full seats also have per-minute limits: 10/min on Pro, 15/min on Organization, and 20/min on Enterprise plans.

### What counts against the limit

Rate limits apply to tools that read data from Figma, such as `get_design_context` and `get_image`. Some tools like `whoami` and `generate_figma_design` are exempt.

### If you hit a rate limit

Agent tells you when a Figma rate limit is reached. To increase your limit:

* **On a Starter plan or free account**: Upgrade to a Pro, Organization, or Enterprise plan with a Dev or Full seat.
* **On a View or Collab seat**: Upgrade to a Dev or Full seat on your current plan.
* **On a Dev/Full seat (Organization)**: Upgrade to an Enterprise plan for the highest limits.

For full details, see <a href="https://developers.figma.com/docs/figma-mcp-server/plans-access-and-permissions" target="_blank" rel="noreferrer">Figma's plans, access, and permissions documentation</a>.

### Manage connections

Manage or disconnect the Figma integration at <a href="https://replit.com/integrations" target="_blank" rel="noreferrer">replit.com/integrations</a>.

Find and manage connections from your Replit integrations page:

<Frame>
  <img src="https://mintcdn.com/replit/SLo-1yBQr-cqDnLT/images/replitai/mcp-figma/managing-mcps.png?fit=max&auto=format&n=SLo-1yBQr-cqDnLT&q=85&s=800e9bfe4881c4ec6785646f11151198" alt="Integrations pane showing the Figma integration" width="2384" height="468" data-path="images/replitai/mcp-figma/managing-mcps.png" />
</Frame>
