Skip to main content
Glama
marioccarloss

Figma Live Bridge MCP

⚑ Figma Live Bridge MCP

Zero API Key, Real-Time Figma Bridge for AI Coding Agents (Antigravity, Claude, OpenCode, Codex, Cursor).
Inspect frames, extract design tokens, and export SVG/PNG assets directly to your project in real-time β€” without paying for Dev Mode, managing tokens, or downloading ZIP files.


πŸš€ Key Highlights

  • 🟒 Zero API Key / Zero Cost: No Figma Personal Access Tokens, no OAuth, no rate limits, no enterprise paywalls.

  • ⚑ Live WebSocket Sync: Connects directly to your running Figma session. No manual ZIP exporting or file copying.

  • 🎯 Token-Efficient by Design: Prunes 95% of Figma's heavy internal scene graph and returns a compact, high-level summary (< 250 tokens).

  • πŸ“¦ Automatic Asset Exports: Vector icons are saved as clean .svg and images as .png directly into your project's ./src/assets folder.

  • 🌐 Universal Protocol: Built on the official Model Context Protocol (MCP), compatible across Antigravity, Claude Code, Claude Desktop, OpenCode, and Codex.


Related MCP server: Claude Talk to Figma MCP

πŸ“ Repository Structure

figma-live-mcp/
β”œβ”€β”€ packages/
β”‚   β”œβ”€β”€ shared/            # Shared TypeScript interfaces & types
β”‚   β”œβ”€β”€ figma-plugin/      # Local Figma plugin (manifest.json + UI + code.ts)
β”‚   └── mcp-server/        # MCP Server in Bun (WebSocket + stdio + Token Pruner)
└── dist/
    └── figma-live-mcp     # Self-contained native binary (compiled with Bun)

πŸ› οΈ 1-Minute Setup

1. Load the Plugin in Figma

  1. Open Figma (Desktop app or Web).

  2. Go to Menu (F) β†’ Plugins β†’ Development β†’ Import plugin from manifest...

  3. Select packages/figma-plugin/manifest.json from this repository.

  4. Run the plugin (Plugins β†’ Development β†’ Figma Live Bridge).

    • A small window will appear with a live status indicator showing the active selection.


2. Configure Your AI Assistants

Add the MCP server to your AI tool's MCP configuration:

A. In Google Antigravity

Add to your Antigravity MCP settings or sidecar configuration:

{
  "mcpServers": {
    "figma-live": {
      "command": "/Users/roca/Documents/figma-live-mcp/dist/figma-live-mcp"
    }
  }
}

(Or use bun run /Users/roca/Documents/figma-live-mcp/packages/mcp-server/src/index.ts)

B. In Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json)

{
  "mcpServers": {
    "figma-live": {
      "command": "/Users/roca/Documents/figma-live-mcp/dist/figma-live-mcp"
    }
  }
}

C. In Claude Code / OpenCode / Codex

Run or configure:

claude mcp add figma-live /Users/roca/Documents/figma-live-mcp/dist/figma-live-mcp

🧰 Available MCP Tools

Tool

Description

figma_get_selected

Inspects currently selected element in Figma. Extracts layout (flexbox, padding, gap), colors, typography, borders, shadows, and optionally exports assets to disk.

figma_find_node

Searches for a frame or layer by name (e.g., "Hero Section" or "Navbar"), selects it on canvas, and returns its design tokens and assets.

figma_status

Returns whether the Figma plugin is currently connected to the local WebSocket server.


πŸ’‘ How to Use with AI Agents

Once configured, simply talk to your assistant naturally:

  • "Crea el componente React para el botΓ³n que tengo seleccionado en Figma con sus estilos de Tailwind."

  • "Inspecciona el frame 'Navbar' en Figma, descarga sus iconos a src/assets/icons y genera el componente."

  • "Revisa los colores del diseΓ±o en Figma y compΓ‘ralos con las variables de mi theme.css."


πŸ”¨ Development & Rebuilding

To rebuild the plugin and server:

# Install dependencies
bun install

# Build everything
bun run build

# Compile standalone native binary
bun run compile

πŸ“„ License

MIT Β© Mario Roca (marioccarloss)

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Connects Figma designs to AI agents, enabling extraction of production-ready code, assets, and design tokens through natural language descriptions. Supports React, Vue, CSS, and Tailwind with real-time design system analysis.
    60,152 npm
    40
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants like Claude and Cursor to interact directly with Figma to create, modify, and analyze design elements in real-time. It provides a comprehensive suite of tools for document inspection, styling, component management, and automated layout via a bidirectional WebSocket connection.
    309 npm
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables AI agents to read and write Figma designs through a local WebSocket relay, turning Figma selections into framework-aware code and building/editing designs directly on the canvas. Provides 112 MCP tools for bidirectional design-code workflows with support for any MCP client.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI coding agents to read and write a user's Figma file through the Figma Plugin API, offline and privately, without API tokens or rate limits.
    68 npm
    MIT