6 min read
Figma Dev Mode MCP Server lets AI agents read components and tokens without manual exporting

- Reading
- 6 min
- Tables
- 1
Figma documents an MCP server that connects Claude, Copilot, Cursor and other agents directly to design files. The promise is to do away with screenshots, exports and manually copied tokens, but the result depends on how organized your design system is.
What changes in the flow between design and code
Until recently, moving a component from Figma into the code editor involved a manual ritual: opening Dev Mode, copying spacing, color and typography values one by one, or simply taking a screenshot and guessing the rest. The official Figma Help Center guide for the Dev Mode MCP Server describes another path: a server that speaks the Model Context Protocol (MCP), the standard that lets AI agents query external data sources, and that gives those agents direct access to the content of the design file.
According to the documentation, there are two ways to connect to this server. The remote one, hosted at https://mcp.figma.com/mcp, is the one Figma itself recommends: it works without the desktop app and concentrates the largest set of features, including writing back to the canvas. The desktop one runs locally through the Figma application and is meant for specific organizational needs, requiring a Dev or Full seat on Professional, Education, Organization, Government or Enterprise plans.
| Feature | Remote server | Desktop server |
|---|---|---|
| Where it runs | Hosted endpoint (mcp.figma.com/mcp) | Local, via Figma app |
| Desktop app installation | Not required | Required |
| Canvas writing | Supported | Not the focus |
| Plan requirement | Varies by feature | Dev/Full seat on specific paid plans |
How the agent knows which frame you want
The flow described in the guide is link-based, not file-upload-based. In Figma Design, the user right-clicks the desired frame or layer and chooses "Copy link to selection." That link, pasted into the MCP client (Claude Code, Cursor, VS Code with Copilot, among others in the official catalog), isn't opened as a page: the server extracts the node ID from it and uses that identifier to fetch design context, not the link itself.
In practice, the typical prompt is something like pasting the link and asking the agent to "implement this design." From there, the server returns variables, components and layout data that the agent uses to generate code, instead of the developer manually copying values from the Dev Mode inspection panel.
What can be pulled from the file, and what can be written back
The set of capabilities listed in the guide goes beyond "reading a frame." Among the documented functions are: extracting variables, components and layout data into the editor; generating code from a selected frame; pulling content from FigJam diagrams to feed the development flow; and retrieving assets from Make files, useful when moving from prototype to production.
The most structural feature, however, is writing directly to the canvas. With the remote server and the right "skills" installed, the agent can create and update frames, components, variables and auto layout within the Figma file itself, using the existing design system as the source of truth. The documentation notes that this feature is still in beta, is free for now and will become a pay-per-use feature in the future, and that it requires a Full seat to write outside the user's drafts.
There's also the reverse path: capturing the live UI of an app or site (production, staging or localhost) and turning it into editable layers in Figma. The guide itself describes the example prompt: asking the MCP client to "start a local server for the app and capture the UI into a new Figma file," following the capture steps in the toolbar and, at the end, receiving the link to the generated file.
Code Connect steps in to avoid generic code
One of the risks of generating code from design is the agent reinventing a button that already exists in the repository, instead of using the team's real component. That's what Code Connect is for: according to the guide, it keeps generated code consistent with the codebase by reusing the project's real components, instead of producing generic markup from the visuals.
A scope caveat is worth noting: in Figma for Government, only the Code Connect CLI is supported; the Code Connect interface isn't available in that tier.
Specs as project memory for the agent
Another piece of the set, still in open beta, is the figma-spec skill. It lets the agent read, create and update a team's specifications even before starting implementation, sharing requirements with the agent and allowing it to record decisions and discoveries back into the spec itself while working. Writing to a spec, according to the guide, requires the remote server and edit access to the file.
The guide is also direct in separating what skills are from what the MCP server is: skills don't replace the MCP connection and don't add new capabilities. They package recommended workflows, combining calls to MCP tools with detailed instructions, to reduce manual configuration and the agent's trial-and-error when deciding which tool to use and in what order.
The cost of chaos: why the design system matters here
The sentence that sums up the practical risk is in Figma's own documentation: agents build and update frames, components, variables and auto layout using the team's design system "as the source of truth." This means the quality of the generated code depends directly on how well-named and well-structured the components, variables and auto layout layers are in the original file.
A file full of loose frames, with no design token variables, with generic names like "Frame 47" or "Group 12," will hand the agent back the same kind of poor context: it will infer styles instead of reusing tokens, and generate new components instead of referencing existing ones. Teams that already maintain a published component library, variables named by function and Code Connect configured tend to see the gains faster; teams without that discipline inherit, via AI, the same inconsistency they already had.
Where it still doesn't pay to bet everything
Not every feature described is ready for production without caveats:
- Canvas writing is free during the beta, but becomes a pay-per-use feature further down the road, which changes the cost calculation for large teams.
- The
figma-specskill is in open beta, and writing to a spec requires the remote server and edit access, not just read access. - Support varies by client: the full, up-to-date list of which tools support the remote server, the desktop server, canvas writing and skills lives in Figma's official MCP catalog, and it isn't uniform across Claude Code, Cursor, VS Code or the other tools listed.
- Figma for Government accounts use their own endpoint (
https://mcp.figma-gov.com/mcp), have a different tool set than the commercial version and don't follow the native or one-click integration flows of commercial accounts.
For those deciding to adopt it now, the safest path is to treat the MCP Server as an extension of an already-existing design system process, not as a shortcut to skip the step of organizing tokens and components. Without that foundation, the agent gains direct access to the file, but doesn't automatically gain good judgment about what in it is reusable.
Translated from the Brazilian Portuguese original · Read the original
You can test a product with real users without hiring a consultancy
A practical guide based on material from the Nielsen Norman Group shows how product teams in Brazil can run validated usability tests without an agency budget.





