Figma designs pulled once into a local vault; AI agents read them offline with no rate limits
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
One-click editor setup isnβt available for this listing yet β we donβt have a confirmed install command, and weβd rather show nothing than point your editor at the wrong package or host. Follow the projectβs own setup instructions, linked above.
English Β· Π ΡΡΡΠΊΠΈΠΉ
Pull a Figma frame once. Then Claude Code, Codex or any MCP agent reads it as often as it likes: offline, with no Figma token and no rate limits.
Try it in 30 seconds. You don't need a Figma token for this:
How it works: the pull normalizes the frame and writes it to disk. The agent then reads it over MCP.
Figma's MCP server and REST API are rate-limited, and on some seats the limit is tiny. While building a UI, an agent goes back to the design all the time to check a margin, a colour or a font size. That can mean dozens of calls in one session. You hit the limit fast and the work stops.
With figma-vault, the number of Figma calls doesn't depend on what the agent does. Each design costs a fixed number of calls, spent once when you pull it.
| Figma Dev Mode MCP | figma-vault | |
|---|---|---|
| who calls Figma | the agent, while it works | the CLI, once |
| how many calls | grows with the agent's work | fixed per design |
| does every reader need a token | yes | no |
| works offline | no | yes |
There's a side effect: the design becomes a file in your repository. A developer without access to the Figma file (no licence, no permissions, no token) still gets the whole design.
Other projects work on the same problem. The Framelink Exporter plugin exports a design to a zip for offline use, and there are caching forks of Framelink's Figma MCP. figma-vault takes a different approach:
doc.json follows a written contract,
and a strict validator checks every file.Requires Node.js 22+.
This creates .figma-vault/, registers the server in the project's .mcp.json (other
entries are left alone), adds .env to .gitignore and installs a /figma slash command
for Claude Code.
Use --no-command to skip the /figma command, so the agent gets only the read-only
vault_* tools.
The vault lives in ~/.figma-vault/ and the server is registered in the agent's user
config. The project repository never learns the tool exists. Use this when you can't add
config or dependencies to the project.
To get the link, right-click a frame in Figma and choose Copy link to selection.
CLI output, errors and the MCP tool descriptions are in English by default; the /figma
command it installs is in English too. README.ru.md is a translation of
the documentation only.
After init, Claude Code has one command:
It pulls the design, reads it over MCP and builds the UI following the project's conventions.
REST API limits depend on the token, plan and seat type. Both node reads and image renders
are Tier 1 endpoints. figma-vault limits "<link>" [more links...] spends one shallow node
read plus up to ceil(S/40) screen render requests per file. It skips rendering SECTION
and CANVAS selections as whole images; their child screens are not probed. A successful
probe cannot guarantee the full pull: asset renders can require additional requests.
For a file with S selected screens and R unique raster assets, when each screen has fewer than 40 raster assets, a successful pull typically uses:
| requests | |
|---|---|
selected node trees (/v1/files/:key/nodes) | 1 per file |
screenshots and raster assets (/v1/images, batches of 40 IDs) | ceil((S + R) / 40) per file |
| icons with local geometry | 0 |
For example, two screens in one file with three unique raster assets take one node read
and one image render if the five IDs fit in a batch. At 40 or more raster assets on one
screen, screenshots are rendered separately. --expand first probes containers with
depth=1, adding at least one node request per file. SVG fallback renders, failed
requests and retries can add calls. On a real 332-node design, 141 icons needed no render calls.
After the pull, the agent never calls Figma again.
figma-vault verify compares the page the agent built with the design. The package ships
no browser: the snapshot is taken with whatever the project already uses (Playwright,
DevTools, the agent's browser tool).
data-figma-node-id="<root node id>", and the
main blocks with the ids of their nodes.figma-vault verify <docId> --snippet prints a script. Run it on the page and save
what it returns to a file.figma-vault verify <docId> --snapshot <file> checks it:
--tolerance).The result is PASS (exit code 0), FAIL (1, with a list of what is off) or
INCOMPLETE (2, when nothing is marked and geometry can't be checked). The /figma
command runs this step itself when the project has a browser.
You only need a token to pull new designs. Reading works without one, which is the normal setup for everyone except the person who pulls. So you can test the whole install without creating a token:
check starts the real MCP server as a child process and talks to it over the protocol.
It exits with code 1 when something is actually broken, so you can use it in CI.
In Figma, go to Settings β Security β Personal access tokens β Generate new token. The token needs only one scope: File content β Read-only.
Put it in a .env file in the directory you run the CLI from, as a line
FIGMA_TOKEN=figd_..., or set it as an environment variable. If both are set,
the environment variable wins.
The MCP server exposes six read-only tools:
| tool | returns |
|---|---|
vault_list | the designs in the vault |
vault_get_doc | a design's node tree; maxDepth limits the depth |
vault_get_node | the subtree of one node |
vault_search | nodes found by name or text |
vault_get_tokens | colours, typography, effects |
vault_get_asset | an image or an icon |
The tree is normalized:
mode: row|column with gap and padding;text.runs);hidden: true. By default the agent doesn't get
them, but a parent reports how many it has (hiddenOmitted). Pass includeHidden: true
when building a reusable component whose optional slots are switched off on this screen.The raw Figma response is saved next to it in raw.json for debugging.
On a real design, normalization shrinks the tree about 7 times:
This saves more than disk space. An agent that reads 256 KB instead of 2 MB rebuilds the UI noticeably more accurately.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/figma-vault)<a href="https://allmcps.com/mcp/figma-vault"><img src="https://allmcps.com/api/badge/figma-vault?style=directory" alt="Figma Vault on AllMCPs" /></a>