How to connect Claude Code to Figma
Claude Code can read a Figma design and build it, or draw new screens in Figma, once it has a way into the file. Pixelwire gives it that through a Figma plugin and one private MCP URL. Nothing needs a Figma API token, and you never paste file links.
What you need
- The Figma desktop app or Figma in a browser, with edit access to the file you want to use.
- Claude Code installed on your computer.
- A Pixelwire subscription (monthly or yearly).
1. Install the Pixelwire plugin
Download the plugin from the Pixelwire setup page. In Figma, open Plugins, then Development, then Import plugin from manifest, and pick the manifest.json file from the download. The plugin appears under your development plugins.
2. Pair the plugin with your account
Open the plugin in the file you want to work in. Copy the plugin key from Pixelwire and paste it into the plugin. The panel shows the file name once it is paired. Keep the plugin open while you work: Claude reaches the file only while it runs.
3. Add your MCP URL to Claude Code
Copy your MCP URL from the setup page and run one command in a terminal:
claude mcp add --transport http --scope user pixelwire 'https://…/mcp/pw_…'
--scope user makes Pixelwire available in every project. Run claude mcp list to check that it connected. Treat the URL like a password: anyone with it can use your Figma access through Pixelwire. You can replace it on the setup page at any time.
4. Ask for something
Select a frame in Figma and ask Claude Code about it. A few prompts that work well:
- Build the selected frame as a React component with our existing Button and Card components.
- List the frames on this page and build the onboarding flow in SwiftUI.
- Design a settings screen for this app in Figma, matching the styles in this file.
Claude picks the right tools on its own: it reads the selection, gets the layout, text, colors and assets, and compares its result with a screenshot of the frame.
Working with more than one file
Open the plugin in each file. Claude works in the window you used most recently. To pick another file, name it in your prompt, for example "in the Marketing site file".
If something goes wrong
- Claude says the plugin isn't open: open Pixelwire in the file and wait for the panel to show the file name.
- The plugin asks for a key: copy the current key from Pixelwire. Replacing the key on the website disconnects older windows.
- Claude can't connect at all: check the URL with
claude mcp list, and that your subscription is active on the billing page.
The same MCP URL works in Cursor, VS Code, Codex, Windsurf and Gemini CLI. The setup page shows the exact steps for each one.
Start using Pixelwire