Reqwise Figma MCP
The Reqwise Figma MCP server lets AI agents safely read from and draw onto a Figma canvas, with built-in guardrails, structured verification, and persistent session state.
Check connection health (
figma_status): Get rich diagnostics about the plugin connection, leader/follower mode, heartbeat, queue, and ordered next-step hints for troubleshooting — never just a bare boolean. Supports multiple IDE windows via leader/follower election.Read the Figma canvas (
figma_read): Structured reads via operations including:Get document info, current selection, or deep-read a selection (
read_selection)Fetch nodes by ID, search/scan nodes by type or text
Retrieve styles, variables, components, and design system kits
Generate a comprehensive
design.mdfrom the file's design systemTake screenshots or export nodes
Run a layout audit to compare declared vs. rendered bounds, detect overflow, clipping, and text truncation
Draw and modify the canvas (
figma_write): Execute modern JavaScript (ES2020+, async/await, etc.) against a safefigma.*proxy API to create/modify elements. Features include:Persistent
stateobject across calls within a sessionBatched operations with partial commit and per-index error reporting
Safe defaults (e.g., frames default to transparent fill)
Structured errors with
{code, message, hint}for every failure
Fetch design system rules (
figma_rules): One-call markdown rule sheet covering styles, variables, and components — helping agents reuse tokens instead of hardcoding values.Access on-demand documentation (
figma_docs): Retrieve documentation for specific topics: rules, layout, API reference, tokens, icons, or recipes.
Allows AI agents to read and draw on the Figma canvas safely, with features like layout auditing, overlay creation, persistent session state, and batch operations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Reqwise Figma MCPrun a layout audit on the selected frame"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Reqwise Figma MCP
An MCP server that lets AI agents read and draw on the Figma canvas — safely.
Reqwise Figma MCP pairs a local MCP server with a companion Figma plugin. Point Claude Code, Cursor, or any MCP-capable agent at it, and the agent can inspect a Figma file and draw into it by executing JavaScript against a figma.* proxy API — with the plugin layer catching the mistakes that usually turn "AI draws a screen" into "AI draws an overflowing, half-clipped mess."
It exists because the current generation of Figma MCPs make agents responsible for discipline they don't have: remembering never to overlay a semi-transparent frame, re-declaring token maps every call, manually computing x/y offsets, eyeballing screenshots to check for clipping. Reqwise moves that discipline into the server and plugin, and gives the agent a structured way to verify its own work.
Why this one
Typical Figma MCP | Reqwise Figma MCP | |
Verification | Screenshot only — agent eyeballs pixels |
|
Overlays / scrims | Agent dims a screen with an opacity'd FRAME (dims the whole subtree) |
|
Session state | Token maps and id registries re-declared every call |
|
Connection | Silent boolean, or a dead WS with no explanation |
|
Multiple IDE windows | Second server instance fights for the port or silently fails | Leader/follower election; followers forward through an authenticated |
Batch operations | Hard caps (e.g. 50 ops) with all-or-nothing failure | Chunked streaming, partial commit, exact per-index error reporting, no hard cap |
Structural frames | Figma's default white fill turns layout wrappers into accidental white slabs | FRAME/COMPONENT without an explicit fill defaults to transparent; visible surfaces opt in |
Sandbox JS | Restricted/older syntax (no | Node |
Errors | Bare exceptions | Every failure carries |
Edit-in-place | Draw-from-scratch focus; per-op fights the single-threaded plugin | Selection-first workflow ( |
See ARCHITECTURE.md for the full design rationale and the root-cause fixes behind these defaults.
Related MCP server: Agent to Figma MCP
Quickstart
1. Install
git clone https://github.com/<you>/reqwise-figma-mcp.git
cd reqwise-figma-mcp
npm install
npm run buildThis builds the server to dist/ and the plugin bundle to plugin/code.js.
2. Register the MCP server
claude mcp add reqwise-figma -- node /absolute/path/to/reqwise-figma-mcp/dist/server/index.js(See docs/INSTALL.md for Cursor and Claude Desktop JSON config, plus npx-based setups.)
3. Import the plugin into Figma Desktop
Figma Desktop → menu → Plugins → Development → Import plugin from manifest… → select plugin/manifest.json from this repo. Run it from Plugins → Development → Reqwise Figma MCP and keep its window open.
4. Check the connection
Ask your agent to call figma_status. A healthy connection looks like:
{
"pluginConnected": true,
"mode": "leader",
"port": 38470,
"plugin": { "version": "0.1.0", "apiVersionMatch": true, "fileName": "My File", "pageName": "Page 1" },
"hints": ["All systems nominal. Draw with figma_write; verify with figma_read layout_audit."]
}If pluginConnected is false or a hint mentions a version mismatch or missing heartbeat, see the troubleshooting table in docs/INSTALL.md.
pluginConnected is tri-state: true/false are measured, null means unknown — a follower process could not query the leader (see statusSource and statusError). Treat null as "no information", not as disconnected: operations may still be forwarding fine, so do not reinstall or restart the plugin on the strength of a null.
Tools
Tool | Purpose |
| Rich connection diagnostics — plugin connection, leader/follower mode, heartbeat, queue, sessions, and an ordered |
| Read the canvas via an |
| Execute modern-ES JavaScript against the |
| One-call design-system rule sheet (styles + variables + components) as markdown — read before drawing so you reuse instead of hardcode. For a durable spec, use |
| On-demand documentation: |
Full parameter reference for every operation and every figma.* method: docs/TOOLS.md.
Example: figma_write
// Set tokens once — they persist in this session's `state.tokens`.
await figma.setupTokens({
colors: { primary: "#2563EB", surface: "#0B0B0F" },
numbers: { "radius-md": 8 },
});
// Draw a card with wrapping text, reusing the parent's width.
const card = await figma.create({
type: "FRAME", name: "Card", parentId: state.rootId,
width: 320, layoutMode: "VERTICAL",
});
await figma.applyVariable(card.id, "fills", "surface");
await figma.create({
type: "TEXT", parentId: card.id, wrap: true,
characters: "A long paragraph that must wrap inside the card.",
});
// Verify before screenshotting for a human.
const audit = await figma.layoutAudit(card.id);
if (audit.summary.issues.length) console.warn(audit.summary.issues);Example: generate design.md
Ask your agent to call:
{ "op": "generate_design_md", "params": { "depth": 3, "includeAnatomy": true, "includeScreens": true } }The response contains a source-grounded design.md: extraction coverage, colors,
typography, observed layout frequencies, screen composition evidence, local and
remote component usage, exact node ids/keys/variant ids/property keys, ready-to-run
instantiate examples, reuse rules, responsive evidence and known gaps. Save
it in the target codebase before asking the agent to create UI from an existing
Figma component system. Facts are separated from observations and unknown UX
semantics. For a very large file, tune maxComponents, maxScreens,
maxInstances or maxOutputChars; output limits omit complete sections rather
than cutting Markdown mid-table/code-block.
Architecture
MCP client (Claude Code / Cursor)
│ stdio (MCP)
▼
Reqwise MCP server (Node ≥ 18, TypeScript)
│ owns HTTP+WS server on localhost:38470 (fallback +1..+9)
│ GET /health → diagnostics JSON
│ POST /rpc → follower → leader forwarding (auth token)
│ WS /ws → Figma plugin UI connection
▼
Figma Desktop plugin
├── ui.html (WebSocket client, heartbeat, reconnect w/ backoff)
└── code.js (Plugin API executor, safe-default handlers)Every operation — leader-direct or follower-forwarded — passes through one validateOperation() choke point before it reaches the plugin. Full topology, the leader/follower protocol, and the 15 safe-default fixes are documented in ARCHITECTURE.md.
Documentation
docs/INSTALL.md— detailed setup, MCP client configs, troubleshootingdocs/TOOLS.md— full tool +figma.*API reference, error codesdocs/MIGRATION.md— migrating fromfigma-ui-mcpdocs/RECIPES.md— practical cookbookARCHITECTURE.md— design goals and internals
License
MIT © 2026 Hoang Phan. See LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables AI assistants to read and modify Figma designs programmatically, supporting design analysis, element creation, text replacement, annotations, auto-layout configuration, and prototype visualization through natural language commands.Last updated675MIT
- Alicense-quality-maintenanceEnables AI agents like Claude to interact with Figma designs through 50+ tools for creating, styling, and manipulating design elements, components, and variables via a WebSocket relay and Figma plugin.Last updated
- FlicenseAqualityDmaintenanceEnables AI agents to interact with Figma to create, read, and manage designs using the Figma REST API and a dedicated plugin. It supports advanced features like UI generation from text, webpage reconstruction in Figma, and design token synchronization with codebases.Last updated20
- AlicenseBqualityBmaintenanceEnables AI assistants to read, analyze, and modify Figma designs, manage design tokens, and create prototype connections, all while keeping data local.Last updated62589MIT
Related MCP Connectors
Design-system contract verification, scoring, and review tools for AI agents.
Connect AI coding agents to Anima Playground, Figma, and your design system.
Build and run visual creative-production workflows from your AI agent.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/hoangpm96/reqwise-figma-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server