DesignersDocumentationEasy20 mins

MCP use case: Migrate documentation from Figma to zeroheight

Point your AI tool at a Figma doc frame or component and it writes a draft zeroheight page, built on the structure of a page you already like.

What it is

If your written component documentation lives in Figma, getting it into zeroheight has meant retyping it by hand (or, with the first version of this use case, pasting it in from a file the agent made for you). Now the zeroheight MCP can write, so the agent does the whole move itself.

You give your AI tool a link to a Figma documentation frame (or the component it documents) and the name of a zeroheight page whose structure you like. Using the Figma MCP, it reads what Figma already holds: the text in your doc frame, variant and boolean properties, defaults, the variables a component is bound to, and your do’s and don’ts. Then, using the zeroheight MCP, it builds the page on the same tabs and blocks as your template page, checks the specs against your real tokens, links the examples to your design library, and saves it as a draft.

Nothing goes live until someone on your team has reviewed it and published it. The page follows PJ Onori’s Design System Documentation Spec, so it’s machine-readable from day one, and the agent tells you what it couldn’t find in Figma instead of making it up.

Benefits

  • An afternoon of retyping becomes a draft to review. The agent writes the whole page, tabs, tables, do’s and don’ts and all, and you check it.
  • New pages match the ones you already have. Every migrated page copies the tabs and blocks of the page you point it at, so it doesn’t look like it came from somewhere else.
  • Your tokens stay live. Token names in your Figma specs become token mentions in zeroheight, which update when the tokens do. The agent checks each one first, and if Figma says 24px where the token says 20, it asks you which is right instead of picking one.
  • Examples stay in sync with Figma. Images come from your connected design library rather than screenshots, so they change when the component does.
  • Nothing is invented. Everything on the page comes from Figma or your styleguide. Where Figma doesn’t have the answer (it rarely says when not to use something), you get a clearly marked “Needs a human” callout instead of a confident guess.

Pitfalls

  • It’s only as good as your Figma docs. A component with no description and no doc frame gives the agent very little to work with, so expect more “Needs a human” callouts.
  • You need write access. Only editors and admins get the write tools, and only when they connect by login. A link URL (or the local MCP server) is read-only, so the agent can read your styleguide but can’t create the page.
  • New components might not be in your design library yet. If a component was drawn after your library last synced, there’s nothing for the agent to link, so it leaves those images out and tells you which sections are waiting on a sync.
  • Image-only doc frames are lower fidelity. When documentation has been flattened into an image, the agent reads it from a screenshot and flags those sections for checking.
  • Tabs Figma can’t fill stay empty. Code, Props and Changelog tabs usually come from your repo or Storybook. The agent asks whether to leave them out or keep them empty, but it won’t make them up.
  • The For Agents tab is a starting point. Figma rarely holds rules written for agents, so that tab is written from your do’s and don’ts and accessibility notes, and needs a human pass before you rely on it.

What you'll need

  • A zeroheight styleguide with MCP access via login and write access switched on (an admin does this under Your organization → MCP), and an editor or admin account.
  • The Figma MCP (Figma’s remote server, or the Dev Mode server in the Figma desktop app) with access to the file your docs are in.
  • An AI tool that can use both, with the figma-to-zeroheight skill below: Claude (the desktop app or Claude Code) or GitHub Copilot in VS Code.
  • A link to the Figma frame or component you want to move.
  • A zeroheight page you’d like the new one to look like, such as your best-documented component.
  • Optional: your Figma library connected in zeroheight, so the page can show your designs instead of leaving gaps.

How to set this up

  1. Connect zeroheight.
    1. Claude desktop app: Customize → Connectors → Browse connectors, search for zeroheight and click Connect. Sign in with your team’s subdomain and approve the connection.
    2. Claude Code: claude mcp add --transport http zeroheight https://mcp.zeroheight.com/mcp, then run /mcp and authenticate.
    3. VS Code: in your styleguide’s settings, open MCP and click Install in VS Code (or add https://mcp.zeroheight.com/mcp as an HTTP server yourself), then sign in to zeroheight when VS Code asks.

    Check you’ve got the write tools: create-page and edit-page should be in the zeroheight tool list.

  2. Connect Figma. Add Figma’s MCP server (https://mcp.figma.com/mcp) the same way (in Claude it’s in the connector directory), or turn on the Dev Mode MCP server in the Figma desktop app (Preferences → Enable Dev Mode MCP server).
  3. Add the skill. Download figma-to-zeroheight below.
    1. Claude desktop app: Customize → Skills, then upload the .zip.
    2. Claude Code: save the .md as ~/.claude/skills/figma-to-zeroheight/SKILL.md (or in your repo’s .claude/skills/ to share it with your team).
    3. VS Code: save the .md as .github/prompts/figma-to-zeroheight.prompt.md in your repo. It shows up as /figma-to-zeroheight in Copilot Chat (use Agent mode).
  4. Copy the Figma link. Right-click the doc frame or component and choose Copy/Paste as → Copy link to selection.
  5. Ask for the migration. Paste the link, name the page whose structure to copy, and say where the new page should go. There’s a sample prompt below.
  6. Review the draft. Open the link the agent gives you, check the “Needs a human” callouts and any spec mismatches it raised, then publish it in zeroheight (or ask the agent to show you the changes and publish them).

Try it

Sample prompt

Move the documentation in this Figma frame into zeroheight: [link to the frame in Figma]. Use our Button page as the template for the structure, put the new page in Components, and keep it hidden until I’ve checked it.

What good looks like

A link to a draft page in the right category, with the same tabs as your template page. The variants, states and anatomy are named exactly as they are in Figma, the specs show your real tokens (with any mismatches raised as questions), and the examples are linked to your design library.

Where Figma didn’t have an answer, there’s a “Needs a human” callout saying what’s missing. You fill those in, publish, and the frame in Figma can finally be archived (or replaced with a link to the zeroheight page).