Layerbridge logo

Layerbridge

Connects AI tools to an open local Figma file for reading, editing, accessibility checks, token sync, and exports.

Install Layerbridge

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "layerbridge": {
      "command": "npx",
      "args": [
        "-y",
        "layerbridge@latest"
      ],
      "env": {
        "FIGMA_BRIDGE_PLAYWRIGHT": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Automated check passed— started and listed 116 tools correctly ().

Overview

Layerbridge MCP server connects AI clients to the Figma file currently open in a local plugin. A Node MCP process communicates over stdio with a localhost WebSocket, while the plugin uses Figma’s Plugin API to read and modify the file. It supports Figma design files, FigJam boards, and Slides decks, including design inspection, editing, code context, token import/export, quality checks, and image comparison. Reach for it when work must stay on the local machine or when you need to operate on an open file without a Figma API token or REST rate limits.

Use cases

  • Inspect an open Figma file and generate implementation context
  • Audit a design for WCAG contrast and target-size issues
  • Sync design tokens between Figma and code
  • Compare a built webpage with its source design
  • Import a local webpage into editable Figma layers

Key features

  • Read and edit open Figma files through a local plugin
  • Support Figma, FigJam, and Slides workflows
  • Run accessibility and design-system checks
  • Import and export design tokens
  • Generate JSX, Tailwind, HTML, and CSS context
  • Export assets and compare designs with screenshots

Tools116

What Layerbridge lets your agent do. Expand a tool for its parameters.

Verified live~26.4k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 62d

What it can do

From the 116 tools this server returned when we ran it.

Runs commands · 1Can delete or modify data · 12Handles credentials · 4Makes network requests · 5Read-only tools · 104
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age71 days
Maintainers1

Observed 2026-11-24 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · layerbridge@latest (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads171Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed116Callable tools this server registers over MCP.
Directory activity8 viewsConfig copies, upvotes, and views on AllMCPs.

How Layerbridge works

What Layerbridge MCP server does

Layerbridge MCP server gives MCP-compatible AI tools access to the Figma document open in a local Layerbridge plugin. It can inspect pages, selections, nodes, styles, variables, components, fonts, annotations, and design metadata, then create or modify many of the same objects through the Figma Plugin API. The repository describes support for Figma design files, FigJam boards, and Slides decks.

Its design-to-code features include compact layout and style context, starter JSX with Tailwind, and HTML with CSS. Token workflows can export variables as W3C JSON or CSS and import DTCG JSON, CSS custom properties, or Tailwind v4 @theme definitions. Other workflows compare a design with a built-page screenshot or turn a locally running page into editable Figma layers.

How it works

The AI client starts a Node-based MCP server through stdio. That process listens on 127.0.0.1:1995 and communicates with the Layerbridge Figma plugin over WebSocket. The plugin can access only the file in which it is running, and that file must remain open while requests are being handled. The server itself listens only on the local machine.

The server includes prompts for implementing designs, auditing designs, building in Figma, synchronizing tokens, and troubleshooting. Claude Code also receives skills for these workflows and asset export when installed through the repository’s plugin setup.

Setup and configuration

Node 20 or newer and the Figma desktop application are required. Add the MCP server to the selected client with the client’s setup command or the documented npx -y layerbridge@latest configuration. The repository provides setup paths for Claude Code, Claude Desktop, Cursor, VS Code, Windsurf, and Codex.

Run the setup command to print the plugin manifest path, then import that manifest in Figma through Plugins → Development → Import plugin from manifest. FigJam and Slides require the additional manifest printed by setup because Figma does not run one plugin in both Dev Mode and FigJam. After installation, restart the AI client. For each session, open the target file, launch Layerbridge from Figma’s development plugins, and keep its panel open or collapsed.

npx -y layerbridge@latest doctor checks Node, the local port, the access token, connected files, and the installed plugin. URL-based comparison and import require Playwright plus Chromium, unless FIGMA_BRIDGE_PLAYWRIGHT points to an existing installation. JPEG screenshots also require jpeg-js.

Tools and capabilities

Layerbridge MCP server groups its tools around several development tasks:

  • Read document structure, selections, nodes, styles, variables, fonts, viewport state, and metadata.
  • Create and edit frames, text, shapes, images, sections, components, styles, variables, pages, reactions, annotations, and dev resources.
  • Run accessibility checks for WCAG contrast, target size, and very small text, including backgrounds involving images and gradients.
  • Lint design-system usage and apply supported safe fixes, with dry-run behavior for bulk changes.
  • Export screenshots, assets, PDFs, image fills, and design tokens; bulk asset exports deduplicate files and write a manifest.
  • Generate code context, compare a layer with a built screenshot, and import a local page as Figma layers.
  • Work with FigJam boards and Slides, including sticky notes, connectors, diagrams, slides, ordering, deletion, and transitions.

Optional REST tools cover comments, version history, team projects, project files, and rendering files that are not open in the plugin.

Limitations and notes

The plugin cannot access closed files, and the local server does not provide remote access. Figma desktop is the documented requirement and is recommended. Destructive operations such as deleting pages, slides, styles, or variables require confirm: true; bulk design-system fixes and token imports preview their changes unless dryRun: false is supplied. Layerbridge is not affiliated with, endorsed, or sponsored by Figma, Inc.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Layerbridge

Layerbridge is an MCP server that connects AI tools to an open local Figma file through a Figma plugin. Its main tools read and edit design nodes, run accessibility and design-system checks, generate code context, synchronize tokens, export assets, and compare designs with screenshots. It also supports FigJam boards and Slides decks.

Install it with the documented npx setup or the client-specific setup flow, then import the generated plugin manifest into Figma desktop. Claude Code can use its MCP command or marketplace plugin; setup instructions also cover Claude Desktop, Cursor, VS Code, Windsurf, and Codex. Restart the AI client afterward.

Yes, Layerbridge provides a Cursor setup path. Run `npx -y layerbridge@latest setup --client cursor` to print the MCP configuration, optionally add `--write` to write it, then import the Layerbridge plugin manifest into Figma and keep the target file open.

No, the core local plugin workflow does not need a Figma token or REST API access. The plugin operates on the Figma file open in Figma desktop. Optional REST tools are available for comments, versions, team projects, project files, and rendering files that are not open.

Playwright is needed for the URL-based options of `compare_to_image` and `import_url`. Install Playwright and Chromium in the server directory, or set `FIGMA_BRIDGE_PLAYWRIGHT` to an existing installation. JPEG screenshots additionally require `jpeg-js`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLayerbridge AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/layerbridge?style=directory)](https://allmcps.com/mcp/layerbridge)
HTML Embed
<a href="https://allmcps.com/mcp/layerbridge"><img src="https://allmcps.com/api/badge/layerbridge?style=directory" alt="Layerbridge on AllMCPs" /></a>