MCP server

Relay MCP: A Localhost Bridge From Your Terminal to an Open Figma File

Relay connects an AI coding agent to the Figma file you have open through a local queue and plugin, so it can search, audit, restyle and rename components.

Run
claude mcp add relay node /absolute/path/to/relay/mcp/server.js
View on GitHub

Stars, license and last push from GitHub. Install count as reported by the open skills directory.

What is Relay?

Relay is a localhost bridge between a coding agent and the Figma desktop app. A Node relay on 127.0.0.1:9226 queues tasks, and a Figma plugin runs them. Eight tools search components, export nodes, set text, fills and strokes, and run custom snippets.

Relay solves a gap the README states bluntly: a coding agent understands your repo but cannot touch your design system, and a Figma plugin has no terminal. Relay is the wire between them.

Three local pieces make it work. An HTTP relay on 127.0.0.1:9226 holds an in-memory task queue, a Figma plugin polls it, and an MCP server exposes the tools over stdio.

What an agent can do with it

  • Build. Scaffold new variants, populate slots and wire instance-swap properties.
  • Audit. Sweep a page for unbound fills, missing focus states, hand-rolled atoms and accessibility regressions.
  • Revise. Mass-rename variants, rebind colors to tokens and restyle whole component sets in one prompt.

Two ways to drive it

The MCP path sends a direct tool call with no model inside the plugin. The in-plugin chat path sends a natural-language instruction to a Haiku agent that uses the same tool whitelist.

That chat panel is the no-terminal mode. It asks for your own Anthropic API key on first launch, stores it in figma.clientStorage per device, and sends it only to api.anthropic.com.

Fit and limits

Best for

  • Design system maintainers who want bulk edits such as renames and token rebinding from a prompt.
  • People comparing other Figma bridges like Figma Pilot, FigBridge and Figma AI Bridge.

Not for

  • Anyone without Figma desktop, since the plugin is imported from a manifest under Development.
  • Setups where you cannot run a local server. The relay must be running, and the macOS install adds a LaunchAgent that boots it at login.

Use it with UiChemy

Relay edits and audits a Figma file from the terminal. Once the components are clean, UiChemy's Figma to WordPress can convert the design into an editable WordPress page. Click Get Started on uichemy.com to try that step.