Short answer: Figma MCP images stop loading because the MCP server only hosts them for a while. Figma's own fix is to ask the agent for fresh links, which expire again, or to save the images into your codebase and use the local files. For anything that ships, save real files with fixed names, at the right scale and in the format your site uses.
The pattern is common. An agent builds a page from a Figma frame, the images show up, and a day later they are broken. Nothing is wrong with your code. The URLs were never meant to last.
Why do Figma MCP images stop loading?#
They stop loading because the MCP server serves images from temporary URLs. Figma's page Why have my images stopped loading? says the server "hosts images temporarily so you can quickly test your code," and that "These links expire after a while, and then the images stop loading."
The same applies to the asset tools. The tools and prompts reference says download_assets "returns temporary URLs your agent uses to fetch the files." If the agent writes those URLs into your markup instead of fetching the files, the page breaks when the links expire.
How long do Figma MCP image links last?#
Figma does not say. As of October 2026, the help page gives no duration, only "after a while." Do not plan around a number you read elsewhere.
Treat every MCP image URL as a preview link. It is fine for checking a layout in a local build. It is not fine in a commit.
How do you fix broken MCP images right now?#
Figma's page lists two fixes:
- Get new links. Share the same design link with your agent and ask it to get the code again. The page warns that the new links will also expire.
- Save the images. Download them into your codebase and use the local files. You can do it yourself, or ask the agent to save them to a folder you choose.
The first gets a demo working for an afternoon. The second is the real fix. It also stops the agent from calling Figma again every time a link dies, which matters on plans with a small call budget (see below).
How do you get the right format and size from download_assets?#
Set export settings on the layers in Figma first. The tools reference says download_assets "Uses the node's export settings in Figma if it has them." Otherwise it uses the defaultFormat and defaultScale parameters, with scale from 0.01x to 4x.
What it can and cannot give you, as of October 2026:
| What you get | Detail |
|---|---|
| Rendered exports | PNG, JPG, SVG or PDF per node |
| Nodes per call | Up to 20 |
| Size cap | "Without export settings, renders at 1x are capped at about 4,096 px on the longest edge." |
| Source images | The original uploaded image files used as fills (JPEG, PNG, GIF or WebP), up to 20 per call, not re-rendered |
| Not offered | WebP or AVIF renders, compression, naming patterns |
Do MCP asset downloads count toward rate limits?#
Yes. download_assets is listed as a read tool, and Figma's rate limits page says limits "apply to tools that read data from Figma."
As of October 2026, View and Collab seats get "Up to 20 per month" on every plan, and the Starter plan is held to the same 20 a month. Full and Dev seats on Professional get up to 200 a day and 10 a minute. Re-fetching expired images eats into that budget, so save files once and reuse them.
How do you save real asset files next to the MCP workflow?#
Give the agent a fixed folder of named files and tell it to use those paths. This works with any MCP client.
- Pick one asset folder. For example
public/images/in a web app. Decide the naming scheme up front, such as kebab-case names with@2xfor retina files. - Name layers the way files should be named.
pricing-hero,logo-mark,icon-arrow-left. Most export tools, Figma's own included, use the layer name as the file name. - Export the files. Either ask the agent to save
download_assetsresults into the folder, or export them from Figma yourself (next section). Check that no file in the folder is a URL tofigma.com. - Tell the agent about the folder. In your prompt or rules file, say that images live in
public/images/and that it must reference those paths, never MCP URLs. - Search the codebase before you commit. Look for leftover temporary image URLs in components and CSS, and replace each one with a local path.
- Re-export when the design changes. The files do not update themselves. Treat the folder like any other versioned asset.
When should you export the files from Figma yourself?#
Export from Figma yourself when the files need things the MCP server does not do. That means WebP or AVIF, compression, a naming pattern across many frames, or more than 20 assets at a time.
UIXport is a Figma plugin we make that does this from the Design editor, and it uses no MCP calls. A setup for a web app folder:
- Select the frames and open UIXport. It starts on the Exporter tab with the selected layers in the list.
- Add the format rows. Set the first row in Export as to WEBP at 1x, then use Add format for WEBP at 2x and PNG at 1x and 2x as a fallback. AVIF rows are Pro, and on the Free plan an export with one uses one of the 10 free Pro runs a month.
- Set the naming pattern. In Advanced settings, set Naming Pattern to
{frame}{@scale}. A frame calledpricing-herothen exports aspricing-hero.webpand[email protected]. - Use slashes for folders. With Slashes in names create folders on (the default), a layer named
icons/arrow-leftlands in aniconsfolder inside the ZIP. - Export and unzip into the repo. Click Export Selected (N Formats), then unzip into your asset folder and point the agent at it.
For icons, the SVG Icons tool in Dev tools packages selected icons as an SVG symbol sprite for free, or as React or Vue components on Pro. More on naming is in batch export with naming patterns, and 1x, 2x and 3x exports covers which scales to ship.
Your designs and exports never leave your computer. UIXport only contacts its license server with your Figma user ID (and your email or license key if you enter them). The batch export page lists the formats and scales.
Whichever route you take, the rule is the same: an MCP image URL is a preview, and a file in your repo is a deliverable. Save the files once, give the agent the folder, and the images stay put. If you want the plugin route, get UIXport from Figma Community.