figma-mcp-express

v2.9.0
io.github.sunhome243/figma-mcp-express Checked 8 hours ago Published 18 days ago

Compact 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.

ParameterTypeDescription
ops *arrayOrdered ops. Each: {type: BatchOpCatalog op name, nodeIds?:...
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...
continueOnErrorbooleanOverride the default stop policy: true = run all ops and report...
validateOnlybooleanValidate the declarative batch/FigmaPlan payload and return a...

export_frames_to_pdf

Export selected/provided frames as one PDF payload.

ParameterTypeDescription
nodeIds *arrayOrdered list of frame node IDs to export as PDF pages, colon...
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
outputPath *stringFile path to write the PDF to, must end in .pdf (relative to...
channelstringOptional. Target a specific connected file by its channel id...

export_tokens

Export local variables and paint styles as JSON or CSS design tokens.

ParameterTypeDescription
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...
formatstringOutput format: json (default) or css

fetch_library_catalog

Fetch a published Figma library catalog through REST. Requires FIGMA_TOKEN; file need not be open.

ParameterTypeDescription
fileKey *stringFigma file key — the path segment after /design/ in the file...
outPath *stringFile path to write the full catalog JSON to (relative to...
scopestringWhich endpoints to fetch: all (default), components,...

get_batch_op_spec

Return the live schema for one BatchOpCatalog op. Use before composing unfamiliar batch ops.

ParameterTypeDescription
op *stringBatch op name, e.g. create_frame, set_fills, rename_node, map.
includeExamplesbooleanInclude 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.

ParameterTypeDescription
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...
codeConnectMapobjectOptional Code-Connect map keyed by published component key →...
dedupe_componentsbooleanWhen true, INSTANCE nodes are serialized compactly...
depthnumberHow many levels deep to traverse (default 2)
detailstringProperty verbosity: minimal (id/name/type/bounds only), compact...
nodeIdstringOptional. Scope to this node's subtree (e.g. 4029:12345). Omit...
skipInvisibleInstanceChildrenbooleanOptional. 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.

ParameterTypeDescription
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...
pageIdstringOptional — 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.

ParameterTypeDescription
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. 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.

ParameterTypeDescription
nodeId *stringNode ID in colon format e.g. '4029:12345'
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...
depthnumberHow many levels deep to traverse (default: full depth). depth:0...
skipInvisibleInstanceChildrenbooleanOptional. 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.

ParameterTypeDescription
nodeIds *arrayList of node IDs in colon format e.g. ['4029:12345',...
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...
depthnumberHow many levels deep to traverse per node (default 50,...
skipInvisibleInstanceChildrenbooleanOptional. true = skip hidden instances' children during...

get_pages

List pages with ids and names.

ParameterTypeDescription
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...

get_selection

Return currently selected nodes; use to scope follow-up reads.

ParameterTypeDescription
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...

get_styles

List local paint, text, effect, and grid styles. Use variables for design tokens.

ParameterTypeDescription
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...
skipInvisibleInstanceChildrenbooleanOptional. true = skip hidden instances' children during...

get_variable_defs

List local variable collections, modes, variables, and values. Local only; check libraries separately.

ParameterTypeDescription
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. 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.

ParameterTypeDescription
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...

save_screenshots

Export node screenshots to local files. Returns paths/metadata, not base64.

ParameterTypeDescription
items *arrayList of {nodeId, outputPath, format?, scale?} objects
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...
formatstringDefault export format: PNG (default), SVG, JPG, or PDF
scalenumberDefault 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.

ParameterTypeDescription
nodeId *stringRoot node ID to scan from, colon format e.g. '4029:12345'
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
types *arrayNode types to find e.g. ['FRAME', 'COMPONENT', 'INSTANCE']
channelstringOptional. Target a specific connected file by its channel id...
skipInvisibleInstanceChildrenbooleanOptional. true = skip hidden instances' children during...

scan_text_nodes

List TEXT nodes and copy in a scoped subtree. Large output may be spilled.

ParameterTypeDescription
nodeId *stringRoot node ID to scan from, colon format e.g. '4029:12345'
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...
skipInvisibleInstanceChildrenbooleanOptional. 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.

ParameterTypeDescription
categorystringOptional intent category filter. Featured (advanced): effects,...
limitnumberMaximum matches to return. Default 20, max 100.
mutatesbooleanOptional. true returns mutating ops; false returns non-mutating...
querystringOptional capability/op/param words to search. Tolerates...
readOnlybooleanOptional. true returns read-only ops; false returns...

search_nodes

Find nodes by name substring and optional type filter. Scope with nodeId and limit.

ParameterTypeDescription
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
query *stringName substring to match (case-insensitive)
channelstringOptional. Target a specific connected file by its channel id...
limitnumberMaximum results to return (default: 50)
nodeIdstringScope search to this subtree (default: current page), colon...
skipInvisibleInstanceChildrenbooleanOptional. true = skip hidden instances' children during...
typesarrayFilter 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.

ParameterTypeDescription
origin *stringOrigin: orchestrator/self=wolfgang; workers use assigned name....
channelstringOptional. Target a specific connected file by its channel id...
statusstringOptional presence status — the acting agent's current...
taskstringOptional one-sentence description of what you are working on...