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.
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
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.
-
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.
-
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.
-
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 -
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.
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 sizesget_design_contextReact and Tailwindget_screenshotPNGget_nodes_in_regionnodes in a rectangleget_variable_defsname to valueget_figjamboard XMLwhoamiserver and files
Code Connect
get_context_for_code_connectprops and variantsget_code_connect_maplocal mappingsadd_code_connect_mapwrites a sidecar fileget_code_connect_suggestionsNewcomponents not yet mappedsend_code_connect_mappingsNewwrites many at once
Assets and design system
download_assetsPNG, JPG, WebP or SVGsearch_design_systemranked matchesget_librariescomponents and tokens
Motion and shaders
get_motion_contextNewCSS keyframes and motion.devlist_file_shadersNewshaders and their layersget_shaderNewparameters and values
figstudio's own
list_fileskeys and pathscompare_filesreport.html of two versionscompare_pageone page's diffexport_motionNewMP4, WebM or GIF
In the browser, three more
open_figstudio_browseropens and pairs a tablist_sessionsopen tabs and filesselect_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-mcpruns a prebuilt binary from npm for macOS, Linux and Windows, so Node.js is enough. On Apple silicon Macs,brew install --cask pelvo/tap/figstudioinstalls 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_fileswrites a report.html of two versions, andcompare_pagereturns one page's diff. - Can my agent read animations and shaders?
- Yes.
get_motion_contextreturns an animated layer's keyframes as CSS@keyframesand motion.dev code, andexport_motionsaves the animation as MP4, WebM or GIF.list_file_shadersandget_shaderreturn 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.
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