Why have my images stopped loading?
The MCP server hosts images temporarily so you can quickly test your code. These links expire after a while, and then the images stop loading.
Images created with generate_image are saved in your Figma file. Use download_assets with the returned file key and node ID to download them. URLs returned by asset tools can still expire.
- Get new links: Share the link to the same design with your agent and ask it to get the code again. The new links will also expire eventually.
- Save the images: To keep images available, download them to your codebase and use the local files. You can save them yourself, or ask your agent to save them to a folder you choose.