figbridge

v0.4.0
io.github.rudraptpsingh/figbridge Checked 2 days ago Published 5 months ago

Free, local MCP bridge for Figma — HTML, CSS, Tailwind, tokens, agent handoff bundles.

Values you need

VariableWhat it is
FIGBRIDGE_PORToptional Preferred TCP port for the local HTTP+SSE bridge that the Figma plugin connects to. Defaults to 7331. If the port is in use, the bridge walks 7331..7340 automatically.

npm (npx) discovery passed

Requires Node.js 18+

Run in a terminal
claude mcp add figbridge -- npx -y figbridge-mcp@0.4.0
Add to claude_desktop_config.json
{
  "mcpServers": {
    "figbridge": {
      "args": [
        "-y",
        "figbridge-mcp@0.4.0"
      ],
      "command": "npx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "figbridge": {
      "args": [
        "-y",
        "figbridge-mcp@0.4.0"
      ],
      "command": "npx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "figbridge": {
      "args": [
        "-y",
        "figbridge-mcp@0.4.0"
      ],
      "command": "npx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.figbridge]
command = "npx"
args = ["-y", "figbridge-mcp@0.4.0"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: get_current_selection, get_last_export, list_history, get_tokens, bridge_status, select_node, export_node, list_screens, ….
  4. If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set.

Machine-readable: install.md · manifest.json