Free and open source · Written in Rust

Hand your coding agent
the exact Figma frame

Figma's own MCP server wants a paid seat. figstudio opens Figma local copies on your machine and hands the exact frame to Claude Code, Cursor or Codex. Free and open source.

0.7 s to open a 1.7 GB file · 0 bytes of your file uploaded

> Build the wrap grid from frame 1:2

● figstudio · reveal_node(nodeId: "1:2")
  └ revealed 1:2 in tab 1
● figstudio · get_screenshot(nodeId: "1:2", scale: 2)
  └ 560x390 px, scale 2
● figstudio · get_design_context(nodeId: "1:2")
  └ <div data-node-id="1:2" data-name="Horizontal wrap top left"
      className="w-[280px] h-[195px] flex relative flex-wrap
      content-start gap-[4px] p-[20px] items-start overflow-clip">
      <div data-node-id="1:5" className="shrink-0 w-[40px] h-[40px] bg-[#F2994A]" />
      …

Ask for a frame by id.

Pick one of the six frames of stacks_wrap.fig, or type any node id, and run get_screenshot. figstudio's own MCP tools run right here in this tab, compiled to WebAssembly, so every result is what figstudio really returns.

figstudio starts in this tab when you reach the demo.

Pick and run

figstudio · get_screenshot(nodeId: "", scale: 2)
Frames in stacks_wrap.fig
Any node id works, for example 1:5 for one rectangle or 0:1 for the whole page.

Asked

● figstudio · get_screenshot(nodeId: "1:2", scale: 2)
  └ waiting for the open tab…

Returned

● figstudio · get_screenshot(nodeId: "1:2", scale: 2)
  └ 560x390 px, scale 2
Frame 1:2, Horizontal wrap top left, as figstudio rendered it
Horizontal wrap top leftRecorded earlier with figstudio-mcp. The live run replaces it once figstudio starts.

See it work, in 48 seconds.

Recorded in figstudio with the public test files from its repository. Turn the sound on with the button on the video.

Your coding agent wants the design.
figstudio wants a .fig file.

From Figma to your agent

Four steps, once. After that your agent asks by node id.

  1. 01

    To begin, save a local copy.

    In Figma, choose File, then Save local copy. You get a .fig file on your disk, and figstudio reads it as it is: no Figma account and no network.

  2. 02

    Then, open it.

    Drop the file on figstudio in your browser, or open it in the desktop app. The file stays in that tab or window. Nothing is uploaded, and files larger than 256 MB load their images only when they are drawn.

    figstudio showing every frame of stacks_wrap.fig with the document overview panel figstudio with the frame Horizontal wrap top left selected and its layout properties shown figstudio zoomed into the selected frame
  3. 03

    Next, point your agent at it.

    Add the MCP server to your agent with one line; npx fetches it from npm. When the agent first needs a file it opens figstudio in your browser and pairs with that tab. If the browser asks to let the page reach devices on your network, allow it: that is the server on 127.0.0.1.

    claude mcp add figstudio -- npx -y figstudio-mcp --browser-proxy
  4. 04

    From then on, it works by node id.

    The agent lists the pages and frames, reveals a node in your open tab, renders it to PNG and reads it back as React and Tailwind, instead of guessing from coordinates. This is what it returned, in this tab, for the node you ran above.

And if you prefer an app,

the desktop app runs the same server inside itself. Turn on Agent access in Settings and connect to the address it shows.

figstudio Settings, Agents tab, with Agent access and the MCP address 127.0.0.1:3845/mcp

Written in Rust. Fast on big files.

0.7
seconds to open a 1.7 GB file in the desktop app
1.4
seconds to open the same file in the browser
0
bytes of your file uploaded
22
MCP tools, three more in the browser
3845
the local port, as with Figma's own server

Figma's tool names

Your agent already knows how to call these. Eighteen keep the names of Figma's own server, four are figstudio's, and the browser adds three more.

New in 0.3.0: motion, shaders, SVG assets and Code Connect suggestions

Read the design

  • get_metadatasparse XML of ids and sizes
  • get_design_contextReact and Tailwind
  • get_screenshotPNG
  • get_nodes_in_regionnodes in a rectangle
  • get_variable_defsname to value
  • get_figjamboard XML
  • whoamiserver and files

Code Connect

  • get_context_for_code_connectprops and variants
  • get_code_connect_maplocal mappings
  • add_code_connect_mapwrites a sidecar file
  • get_code_connect_suggestions Newcomponents not yet mapped
  • send_code_connect_mappings Newwrites many at once

Assets and design system

  • download_assetsPNG, JPG, WebP or SVG
  • search_design_systemranked matches
  • get_librariescomponents and tokens

Motion and shaders

  • get_motion_context NewCSS keyframes and motion.dev
  • list_file_shaders Newshaders and their layers
  • get_shader Newparameters and values

figstudio's own

  • list_fileskeys and paths
  • compare_filesreport.html of two versions
  • compare_pageone page's diff
  • export_motion NewMP4, WebM or GIF

In the browser, three more

  • open_figstudio_browseropens and pairs a tab
  • list_sessionsopen tabs and files
  • select_sessionpins one tab

Questions before you install

Do I need a Figma account or a paid seat?
Not for figstudio. You save a local copy in Figma once (File, then Save local copy), and figstudio reads that .fig file as it is, with no Figma account and no network.
Is my file uploaded anywhere?
No. The file stays in your browser tab or in the desktop app window. figstudio uploads 0 bytes of it.
Which coding agents work with it?
Claude Code, Cursor, VS Code and Codex each have a setup below. The server speaks MCP, so other MCP clients connect the same way.
Does it use the same tools as Figma's MCP server?
Eighteen of its tools keep the names of Figma's server, and it listens on port 3845, as Figma's own server does. figstudio adds four tools of its own, and three more in the browser.
Why does my browser ask to reach devices on my network?
The figstudio tab pairs with the MCP server on 127.0.0.1, which is your own computer. Allow it, and the agent can reach the file you have open.
Do I need Rust installed?
No. npx -y figstudio-mcp runs a prebuilt binary from npm for macOS, Linux and Windows, so Node.js is enough. On Apple silicon Macs, brew install --cask pelvo/tap/figstudio installs it with the desktop app. To build it yourself with Rust 1.95 or newer: cargo install --locked --git https://github.com/pelvo/figstudio --tag v0.2.0 figstudio-mcp.
How large a file can it open?
It opens a 1.7 GB file in 0.7 seconds in the desktop app and in 1.4 seconds in the browser. Files larger than 256 MB load their images only when they are drawn.
Can it compare two versions of a design?
Yes. compare_files writes a report.html of two versions, and compare_page returns one page's diff.
Can my agent read animations and shaders?
Yes. get_motion_context returns an animated layer's keyframes as CSS @keyframes and motion.dev code, and export_motion saves the animation as MP4, WebM or GIF. list_file_shaders and get_shader return each shader's parameters and the layers that use it. Figma keeps shader code online, so a shader's name and source come back empty.
What does it cost?
Nothing. figstudio is free and open source under the Apache 2.0 license. If it saves you time, you can buy the maker a coffee.

Add figstudio to Your agent

claude mcp add figstudio -- npx -y figstudio-mcp --browser-proxy

Copies the setup for that agent; npx fetches figstudio-mcp from npm on first use.

Want to look at a file first?

Open figstudio in your browser