get_file_images
Pack: figma · Endpoint: https://gateway.pipeworx.io/figma/mcp
Render images of specific nodes in a Figma design file. Returns a map of node id to a rendered image URL. Use to get visual previews (PNG, SVG, or JPG) of frames, components, or layers from a design.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file_key | string | yes | The Figma file key (the segment after /file/ or /design/ in a Figma URL). |
node_ids | string | yes | Comma-separated list of node ids to render (e.g. “1:2,1:3”). |
format | string | no | Image output format (default “png”). |
scale | number | no | Image scale factor, 0.01–4 (default 1). |
Example call
Arguments
{
"file_key": "abc123xyz",
"node_ids": "1:2,1:3"
}
curl
curl -X POST https://gateway.pipeworx.io/figma/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_file_images","arguments":{"file_key":"abc123xyz","node_ids":"1:2,1:3"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_file_images', {
"file_key": "abc123xyz",
"node_ids": "1:2,1:3"
});
More examples
{
"file_key": "abc123xyz",
"node_ids": "1:2,1:3",
"format": "svg",
"scale": 2
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"figma": {
"url": "https://gateway.pipeworx.io/figma/mcp"
}
}
}
See Getting Started for client-specific install steps.