figma-bridge-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FIGMA_MCP_HOST | No | Bind address. Changing it exposes an unauthenticated bridge — avoid. | 127.0.0.1 |
| FIGMA_MCP_PORT | No | Bridge port. If taken, the next 9 ports are tried. | 47451 |
| FIGMA_MCP_LONG_POLL_MS | No | How long an idle poll is held open. | 8000 |
| FIGMA_MCP_ALLOW_PRIVATE_FETCH | No | Set to `1` to let `loadImage` reach private/loopback hosts (e.g. a local asset server). |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| figma_statusA | Check whether the Figma plugin bridge is connected. Always call this first to confirm the plugin is running before any other tool. |
| figma_writeA | Execute JavaScript code to CREATE or MODIFY designs in Figma. ⚠️ MANDATORY: Call figma_docs BEFORE writing any design code. Skipping figma_docs causes hardcoded colors, wrong sizing, broken layouts, and low-quality UI. Use the |
| figma_readA | READ design data from Figma — extract node trees, colors, typography, spacing, and screenshots. Use to understand an existing design before generating code, or to inspect what's on the canvas. |
| figma_docsA | Get the API reference and design rules for figma_write. Call with no args first — returns quick-start guide + critical rules. Then load specific sections as needed: section='rules' (design principles, token rules, layer order, component-first), section='layout' (auto-layout, button/card/badge/progress/mobile rules), section='api' (create/modify/delete/clone/batch/read operations + workflow), section='tokens' (variables, multi-mode, paint styles, text styles), section='icons' (loadImage, loadIcon, loadIconIn, icon libraries, coloring, sizing). Always call figma_docs BEFORE any figma_write code. |
| figma_rulesA | Generate a design system rule sheet from the current Figma file — aggregates color tokens, typography styles, variables (all modes), and component catalog into a single markdown block. Equivalent to official Figma MCP's create_design_system_rules. Call once at the start of a design-to-code session to give the AI full context: what tokens to use, what text styles exist, which components are available. Re-run when the design system changes. |
| figma_export_filesA | Export frames from the current Figma page to image files ON DISK and return their paths, not the images. Use it to save mockups for docs, PRDs or attachments; use figma_read screenshot to LOOK at a frame instead. Select nodes with nodeIds, or with namePattern (wildcard * on the node name, e.g. "Workspace/*"; current page only). Files are written only inside the allowed export folders: ./figma-exports (relative to the MCP client's working directory) plus any folders listed in the FIGMA_EXPORT_ROOTS environment variable. Omit outputDir to use ./figma-exports. File names come from the node names (lowercase, ASCII, hyphens) unless fileNames is given; the extension always follows format. An existing file is never replaced unless overwrite is true. At most 50 files per call. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Most tools have clearly delineated roles: figma_read inspects nodes, figma_write mutates the canvas, figma_export_files writes images to disk, and figma_status checks connectivity. The overlap is between figma_read, figma_rules, and figma_docs, which all return reference-style information, but the descriptions explicitly clarify (e.g., screenshot in figma_read to LOOK, export to save files; docs for API reference, rules for the file's design system).
All tools share a consistent figma_ prefix with short, readable snake_case labels, so the namespace is predictable. There is a minor inconsistency in that read/write/export_files are verbs while docs/rules/status are nouns, but the pattern remains easy to scan and infer.
Six tools is a well-scoped surface for a Figma bridge: one read path, one write path, one export path, one status check, and two documentation/rule helpers. Each tool earns its place and none feels redundant or decorative.
The lifecycle is largely covered: connectivity check, design inspection, mutation (including delete/clone/batch), and export. Minor gaps exist, such as reading beyond the current page only for exports, and no dedicated tool for comments/annotations or file/page enumeration, which agents would have to work around via figma_read.