Layerbridge
v0.3.0Read, edit and export the Figma file open in a local plugin.
Values you need
| Variable | What it is | |
|---|---|---|
FIGMA_BRIDGE_PORT | optional | Local port the Figma plugin connects to; choose the same port in the plugin panel Default: 1995 |
FIGMA_BRIDGE_OUTPUT_ROOTS | optional | Extra folders export tools may write to (; on Windows, : elsewhere). Default: working directory only |
FIGMA_ACCESS_TOKEN | optional secret | Optional Figma personal access token; enables REST tools (comments, versions, team files) |
FIGMA_BRIDGE_ALLOW_SCRIPTS | optional | Allow the run_script tool to execute Plugin API code in the open file Default: false |
npm (npx) discovery passed
Requires Node.js 18+
Run in a terminal
claude mcp add layerbridge -- npx -y layerbridge@0.3.0Add to
claude_desktop_config.json{
"mcpServers": {
"layerbridge": {
"args": [
"-y",
"layerbridge@0.3.0"
],
"command": "npx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"layerbridge": {
"args": [
"-y",
"layerbridge@0.3.0"
],
"command": "npx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"layerbridge": {
"args": [
"-y",
"layerbridge@0.3.0"
],
"command": "npx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.layerbridge]
command = "npx"
args = ["-y", "layerbridge@0.3.0"]For AI agents
- 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).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: get_local_components, create_component, combine_as_variants, create_instance, swap_component, detach_instance, set_instance_properties, add_component_property, ….
- 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