figma-mcp-express
v2.9.0Compact Figma MCP with validated batch ops through a local plugin bridge.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
batch
Run ordered BatchOpCatalog ops in one plugin round trip. For unfamiliar mutations, inspect get_batch_op_spec then use validateOnly.
| Parameter | Type | Description |
|---|---|---|
ops * | array | Ordered ops. Each: {type: BatchOpCatalog op name, nodeIds?:... |
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
continueOnError | boolean | Override the default stop policy: true = run all ops and report... |
validateOnly | boolean | Validate the declarative batch/FigmaPlan payload and return a... |
export_frames_to_pdf
Export selected/provided frames as one PDF payload.
| Parameter | Type | Description |
|---|---|---|
nodeIds * | array | Ordered list of frame node IDs to export as PDF pages, colon... |
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
outputPath * | string | File path to write the PDF to, must end in .pdf (relative to... |
channel | string | Optional. Target a specific connected file by its channel id... |
export_tokens
Export local variables and paint styles as JSON or CSS design tokens.
| Parameter | Type | Description |
|---|---|---|
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
format | string | Output format: json (default) or css |
fetch_library_catalog
Fetch a published Figma library catalog through REST. Requires FIGMA_TOKEN; file need not be open.
| Parameter | Type | Description |
|---|---|---|
fileKey * | string | Figma file key — the path segment after /design/ in the file... |
outPath * | string | File path to write the full catalog JSON to (relative to... |
scope | string | Which endpoints to fetch: all (default), components,... |
get_batch_op_spec
Return the live schema for one BatchOpCatalog op. Use before composing unfamiliar batch ops.
| Parameter | Type | Description |
|---|---|---|
op * | string | Batch op name, e.g. create_frame, set_fills, rename_node, map. |
includeExamples | boolean | Include example op payloads when available. Default false. |
get_design_context
Token-efficient tree for selection/page/subtree. detail=minimal|compact|full|codegen; bound depth. Large output may be spilled.
| Parameter | Type | Description |
|---|---|---|
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
codeConnectMap | object | Optional Code-Connect map keyed by published component key →... |
dedupe_components | boolean | When true, INSTANCE nodes are serialized compactly... |
depth | number | How many levels deep to traverse (default 2) |
detail | string | Property verbosity: minimal (id/name/type/bounds only), compact... |
nodeId | string | Optional. Scope to this node's subtree (e.g. 4029:12345). Omit... |
skipInvisibleInstanceChildren | boolean | Optional. true = skip hidden instances' children during... |
get_local_components
List local components/sets. Omit pageId for file-local create_instance recovery; pass pageId to bound large scans. Large output may be spilled.
| Parameter | Type | Description |
|---|---|---|
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
pageId | string | Optional — scope scan to a single page by its node ID (colon... |
get_metadata
Lightweight file/page map. Start here to find ids before targeted reads.
| Parameter | Type | Description |
|---|---|---|
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
get_node
Read one node by id. Set small depth for cheap inspection; large output may be spilled.
| Parameter | Type | Description |
|---|---|---|
nodeId * | string | Node ID in colon format e.g. '4029:12345' |
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
depth | number | How many levels deep to traverse (default: full depth). depth:0... |
skipInvisibleInstanceChildren | boolean | Optional. true = skip hidden instances' children during... |
get_nodes_info
Read multiple known node ids in one call. Prefer over repeated get_node. Large output may be spilled.
| Parameter | Type | Description |
|---|---|---|
nodeIds * | array | List of node IDs in colon format e.g. ['4029:12345',... |
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
depth | number | How many levels deep to traverse per node (default 50,... |
skipInvisibleInstanceChildren | boolean | Optional. true = skip hidden instances' children during... |
get_pages
List pages with ids and names.
| Parameter | Type | Description |
|---|---|---|
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
get_selection
Return currently selected nodes; use to scope follow-up reads.
| Parameter | Type | Description |
|---|---|---|
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
get_styles
List local paint, text, effect, and grid styles. Use variables for design tokens.
| Parameter | Type | Description |
|---|---|---|
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
skipInvisibleInstanceChildren | boolean | Optional. true = skip hidden instances' children during... |
get_variable_defs
List local variable collections, modes, variables, and values. Local only; check libraries separately.
| Parameter | Type | Description |
|---|---|---|
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
list_channels
List connected Figma files/channels. Use first in multi-file sessions; pass channel on file-specific tools.
list_library_variable_collections
List subscribed-library variable collections and modes; use when get_variable_defs is empty or local-only.
| Parameter | Type | Description |
|---|---|---|
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
save_screenshots
Export node screenshots to local files. Returns paths/metadata, not base64.
| Parameter | Type | Description |
|---|---|---|
items * | array | List of {nodeId, outputPath, format?, scale?} objects |
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
format | string | Default export format: PNG (default), SVG, JPG, or PDF |
scale | number | Default export scale for raster formats (default 2) |
scan_nodes_by_types
List nodes of requested Figma types in a scoped subtree. Large output may be spilled.
| Parameter | Type | Description |
|---|---|---|
nodeId * | string | Root node ID to scan from, colon format e.g. '4029:12345' |
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
types * | array | Node types to find e.g. ['FRAME', 'COMPONENT', 'INSTANCE'] |
channel | string | Optional. Target a specific connected file by its channel id... |
skipInvisibleInstanceChildren | boolean | Optional. true = skip hidden instances' children during... |
scan_text_nodes
List TEXT nodes and copy in a scoped subtree. Large output may be spilled.
| Parameter | Type | Description |
|---|---|---|
nodeId * | string | Root node ID to scan from, colon format e.g. '4029:12345' |
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
skipInvisibleInstanceChildren | boolean | Optional. true = skip hidden instances' children during... |
search_batch_ops
Search BatchOpCatalog by intent, op name, category, read/write flag, or param key before get_batch_op_spec.
| Parameter | Type | Description |
|---|---|---|
category | string | Optional intent category filter. Featured (advanced): effects,... |
limit | number | Maximum matches to return. Default 20, max 100. |
mutates | boolean | Optional. true returns mutating ops; false returns non-mutating... |
query | string | Optional capability/op/param words to search. Tolerates... |
readOnly | boolean | Optional. true returns read-only ops; false returns... |
search_nodes
Find nodes by name substring and optional type filter. Scope with nodeId and limit.
| Parameter | Type | Description |
|---|---|---|
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
query * | string | Name substring to match (case-insensitive) |
channel | string | Optional. Target a specific connected file by its channel id... |
limit | number | Maximum results to return (default: 50) |
nodeId | string | Scope search to this subtree (default: current page), colon... |
skipInvisibleInstanceChildren | boolean | Optional. true = skip hidden instances' children during... |
types | array | Filter by Figma node type e.g. ['TEXT', 'FRAME', 'COMPONENT'] |
set_presence
Update Watch-agent status/task without touching Figma. Use for workflow transitions; operational tools carry only origin/channel.
| Parameter | Type | Description |
|---|---|---|
origin * | string | Origin: orchestrator/self=wolfgang; workers use assigned name.... |
channel | string | Optional. Target a specific connected file by its channel id... |
status | string | Optional presence status — the acting agent's current... |
task | string | Optional one-sentence description of what you are working on... |