Skip to main content
Leonard_Langen
New Member
Nov 25, 2026 9:39 AM UTC
Question

Read and update Code Layers via the MCP server (for external agents like Claude Code)

We build Code Layers from Claude Code through the Figma MCP server rather than with the Figma agent. Our work depends on context outside Figma: the codebase, reference sites and browser testing at different viewport widths.

Creating a Code Layer works well. Iterating on one doesn't:

  • No updates. A successful import can't be replaced, so every small change means a new layer, deleting the old one and losing its position, size and comments.
  • No resizing. CODE_INSTANCE has no resize(), so every new layer arrives at 1512×982 and has to be resized to mobile width by hand.
  • No reading. An agent can't get a Code Layer's source back out, so edits made in Figma get overwritten.

Request: let the MCP server read a Code Layer's source, update an existing layer in place, and set its size and position. Then teams could keep working in their own coding agent while Figma stays the shared place to review the real component.