figma-remote-mcp
Reads and writes Figma designs through Figma's Plugin API, providing tools to inspect design context, nodes, variables, styles, and screenshots, and to create or edit frames, text, fills, auto layout, components, prototypes, and pages.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
figma-remote-mcp
Figma's MCP, without the desktop app, without seat or rate limits. Read and write Figma designs from Claude Code, Cursor, Codex or any MCP client, on your machine or hosted for a team.
figma-remote-mcp runs figma.com's own editor in headless Chromium, standing in for Figma Desktop's shell, and serves
71 tools through Figma's Plugin API: read a design (get_design_context, get_node, search_nodes,
get_variable_defs, get_styles, get_screenshot, …), and write one (create_frame, create_text, set_fills,
set_auto_layout, variables, styles, components, prototypes, pages, …).
The Plugin API runs in your editor, so it needs no Dev Mode seat and no MCP quota. That's figma-mcp-rust's approach, whose MIT plugin this vendors (see Credits). figma-mcp-rust needs Figma Desktop open with the plugin running; here the plugin runs inside the headless editor, and there is nothing to install in Figma.
Figma Desktop's own Dev Mode MCP tools (React + Tailwind code generation) are there too with --dev-mode, for accounts
whose seat includes them.
Made through the MCP tools, create_frame and create_text, on an account without a Dev Mode seat, exported with
get_screenshot.
Run it locally
npx figma-remote-mcp login # one-time: sign in to Figma in a browser window
npx figma-remote-mcp doctor # browser ✓ sign-in ✓ tools ✓
claude mcp add figma -- npx -y figma-remote-mcp mcpCursor:
~/.cursor/mcp.json:{ "mcpServers": { "figma": { "command": "npx", "args": ["-y", "figma-remote-mcp", "mcp"] } } }Codex:
~/.codex/config.toml:[mcp_servers.figma],command = "npx",args = ["-y", "figma-remote-mcp", "mcp"]VS Code:
.vscode/mcp.json:{ "servers": { "figma": { "type": "stdio", "command": "npx", "args": ["-y", "figma-remote-mcp", "mcp"] } } }
Related MCP server: cyber-figma
Connect to a hosted server
claude mcp add --transport http figma https://<your-server>/mcp
Signing in is Figma Desktop's own sign-in:
Your client opens the server's consent page → Continue.
Open Figma's approval page, pick your account, click Open the desktop app.
Figma hands a one-time
figma://app_auth/redeem?g_secret=…link to the desktop app. Paste it into the sign-in page. Browsers don't show that link, so the easy way isnpx figma-remote-mcp grant "<approval page URL>": it opens the same page and copies the link when you click the button.Done: your client gets a token and refreshes it itself.
Your Figma password never reaches the server; the pasted link is a one-time secret for that sign-in.
Host it
Any Docker host (one image; several Figma accounts per server):
docker build -t figma-remote-mcp .
docker run -d --restart=always -p 127.0.0.1:8080:8080 \
-e SEAL_KEY="$(openssl rand -base64 32)" -e PUBLIC_URL=https://figma.example.com \
figma-remote-mcpPut a TLS reverse proxy or tunnel in front at PUBLIC_URL.
Variable | Meaning |
| Required. 32 random bytes, base64. Everything the server hands out is sealed with it; changing it signs everyone out. |
| The origin clients see ( |
| Listen address (default |
| Figma accounts with a live editor at once (default 6). |
| Open files per account (default 2). Each open file takes about 2 GB of RAM (measured 1.7–2.5 GB), so size the host for |
|
|
| Disk cache for figma.com's immutable editor assets (~130 MB), shared by every account. |
|
|
What the server keeps:
No database. Figma session cookies travel inside the client's tokens, sealed with AES-256-GCM. Access tokens last 1 hour and refresh tokens 30 days. Every refresh asks Figma whether you're still signed in and folds in Figma's cookie renewals, so signing out in Figma ends access within the hour.
In memory only:
one browser context per active Figma account, closed after 10 idle minutes (or, past
MAX_ACCOUNTS, the least recently used one, once its running calls finish). Idle file pages are frozen, so they cost little CPU;image assets from tool results, for an hour, behind unguessable URLs.
Commands
Command | What it does |
| stdio MCP server on the session |
| Sign in once in a browser window; delete the saved session. |
| Check the browser, the sign-in, the tools (and one call on a file). |
| The hosted HTTP server (above). |
| Approve a hosted server's sign-in from this machine. |
--dev-mode (hosted: FIGMA_DEV_MODE_TOOLS=1) also lists Figma Desktop's own Dev Mode tools as dev_mode_*
(dev_mode_get_design_context generates React + Tailwind). These need a Dev or Full seat, and Figma's MCP rate limits
apply to them.
Using the tools
Name the file. There is no open tab or selection, so every tool takes a
fileKey: the key fromfigma.com/design/<fileKey>/…, a branch key, or the whole URL. A URL'snode-idis used whennodeIdis left out, and a call withoutfileKeyuses the previous call's file.Expect a wait on the first call. The first call on a file waits for Figma to load the whole document (often 10–30 s; Figma allows plugins only then). Later calls take milliseconds.
Plugins run only in files you can edit. Figma runs plugins in files this account can edit (your drafts and team files, any plan). For a view-only file, Figma says no; duplicate it to your drafts.
Writes are live edits, like a collaborator's: they show up for everyone in the file, and Figma's version history can undo them. The server waits for Figma to confirm each file is saved before it rests or closes the editor.
Screenshots come back as image content. With
--dev-mode, asset links indev_mode_get_design_contextpoint at this server and last an hour.
Troubleshooting
"Figma doesn't run plugins in this file": the file is view-only for this account. Ask for edit access, or duplicate it to your drafts.
dev_mode_*: "…paid Figma seat includes Dev Mode access…" is Figma's seat check (the desktop app answers the same). "The MCP server is not enabled for this user" means turning on Dev Mode's MCP server once in Figma's preferences.The first call on a file is slow: Figma loads the whole document before it allows plugins (often 10–30 s). Later calls take milliseconds.
"The profile … is in use": one process per browser profile. Quit the other
figma-remote-mcp(or pass--profile).
How it works
MCP client ──stdio or HTTP+OAuth──► figma-remote-mcp
│ page.evaluate
▼
headless Chromium, one context per Figma account
figma.com/design/<key> ◄── window.__figmaDesktop stand-in (installed before Figma's code)
├─ local plugin 1 (the tools plugin), served as Figma Desktop serves development plugins
│ {type, nodeIds, params} → figma.ui.onmessage → Plugin API → figma.ui.postMessage
└─ (--dev-mode) Figma's desktop MCP handler: sendMCPQuery → sendMCPResultfigma.com checks for
window.__figmaDesktoponce, as its bundle loads. With it present, the page asks the "desktop" for its development plugins (getLocalManifestFileExtensionIdsToCachedMetadataMap,getLocalFileExtensionManifest,getLocalFileExtensionSource). The stand-in serves the tools plugin and starts it the way Plugins › Development › does.Requests go straight to the plugin's main thread (
figma.ui.onmessage), and its answers are caught on their way to its UI frame, so no WebSocket is involved.With
--dev-mode, the page also registers the desktop message handler that runs Figma Desktop's local MCP tools, exactly as in the app.The stand-in (
src/shim.js) answers only what the shell answers: an empty font list, "MCP server running" and so on. It passes tool queries to the page and returns the page's replies.tools/list, prompts and resources are the page'sinternal_get_tools,internal_get_prompts_list,internal_get_resources_list,internal_get_resourceandinternal_get_promptqueries, the same ones Figma Desktop's server sends.Figma's CDN refuses HeadlessChrome's user agent, so the browser presents a desktop Chrome one. SwiftShader gives the editor WebGL without a GPU.
Details and evidence: docs/how-it-works.md.
What it does not do
It does not bypass Figma's entitlements. The plugin tools use the Plugin API that every Figma plan includes, with the editor's own permission checks (edit access, "can run plugins"). The
dev_mode_*tools keep Figma's seat, org-admin and rate-limit checks unchanged, so you get the desktop app's answers, including "paid Figma seat includes Dev Mode access" when it doesn't.It depends on figma.com's internals (the desktop bridge and its message names). If Figma changes them,
doctorsays so.Figma's analytics see a desktop app: the page believes it is Figma Desktop 126.11.11, running a development plugin.
Development
git clone https://github.com/vcashwin/figma-remote-mcp && cd figma-remote-mcp
npm install
npm test && npm run typecheck
node src/cli.js login && node src/cli.js doctorCredits
The tools plugin and its tool catalog and prompts (src/plugin/) are
figma-mcp-rust v0.2.2 by alvinindra, a port of
figma-mcp-go by vkhanhqui, both MIT (src/plugin/LICENSE).
Community project, not affiliated with or endorsed by Figma. Use it with your own Figma account, under Figma's terms. MIT © vcashwin
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Official Fibery MCP server: query and update your workspace from any AI client via OAuth.
Edit and publish your FramerToNextJS sites (converted Framer or AI-built) from Claude, Cursor or Codex. 19 tools: read pages, rewrite copy, restyle elements, add sections and pages, design Studio sites, manage CMS collections and items, then publish to your own host. OAuth with a read-only option, and MCP runs no model on FNJ's side. Requires an FNJ plan (Lifetime or any AI builder plan).
Hosted Notion MCP server for Claude, ChatGPT and Cursor, with each action switched per account.
Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Related MCP Servers
- AlicenseAqualityDmaintenanceWrite-side MCP server for Figma — build, edit, and search Figma designs from Claude Code, Cursor, Cline, or any MCP client. Complements Figma's official read-only MCP with 41 tools for tree creation, variables, components, and visual verification.413MIT
- AlicenseNot gradedqualityBmaintenanceLocal MCP server exposing Figma REST API tools to AI agents, enabling file reads, comments, variables, and other resource operations. Works with personal access tokens and integrates with Claude, Cursor, Codex, and more.MIT
- AlicenseAqualityCmaintenanceThe Figma desktop app as an MCP server. Gives AI agents the full Figma Plugin API on your open file: read, write, tokens, components, exports, undo. Runs locally with no cloud API, no token and no quota.10114 npm4MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI CLI tools and chat assistants to read a live, open Figma file and post changes back to it through the Figma plugin API, exposing 157 tools over MCP and HTTP. Supports inspecting selections, document info, components and styles, creating frames and other elements, and sharing a read-only public link for browser-based AIs.MIT