Skip to content
Gemini CLI

Layerbridge for Gemini CLI

io.github.muradyf/layerbridge

Read, edit and export the Figma file open in a local plugin. No REST API, no rate limits.

client:Gemini CLI transport:stdio runtime:npm

Install Layerbridge in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "layerbridge": {
      "command": "npx",
      "args": [
        "-y",
        "layerbridge"
      ],
      "env": {
        "FIGMA_BRIDGE_PORT": "<FIGMA_BRIDGE_PORT>",
        "FIGMA_BRIDGE_OUTPUT_ROOTS": "<FIGMA_BRIDGE_OUTPUT_ROOTS>",
        "FIGMA_ACCESS_TOKEN": "<FIGMA_ACCESS_TOKEN>",
        "FIGMA_BRIDGE_ALLOW_SCRIPTS": "<FIGMA_BRIDGE_ALLOW_SCRIPTS>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Layerbridge in other clients