That generates your local secret, writes the plugin to ~/.localfig/plugin/, registers localfig with every MCP client it finds on your machine, and prints the manifest path for the next step.…
localfig is an MCP project maintained in the lucasgorgal/localfig repository. The maintainer describes its purpose as “That generates your local secret, writes the plugin to ~/.localfig/plugin/, registers localfig with every MCP client it finds on your machine, and prints the manifest…”. Read the project documentation for the complete scope.
The documented npm package is localfig. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| resize | ) on a TEXT node resets textAutoResize to NONE; on an auto-layout frame it sets both sizing modes to FIXED. Resize first, then set the sizing. |
| figma.notify | ) works here (the cloud MCP blocks it). |
| figma_status | Plugin connected? File, page, selection, top-level frames, who is driving, and whether dynamic code execution is available |
| figma_eval | Run arbitrary Plugin API JavaScript in the file — the workhorse |
| figma_metadata | Structural dump of a subtree: ids, names, types, geometry, text. styles: true adds fills (hex), gradient stops, fonts, effects, auto-layout, bound variables… |
| figma_tokens | Every local variable collection with its modes and per-mode values, plus paint / text / effect styles |
| figma_find | Search the current page or every page by type, layer-name regex and text regex |
| figma_changes | What changed since your last call — creations, deletions, property changes, per-node summary; edits made by tool calls are tagged and hidden by default, so… |
| figma_history | snapshot: save a named version (restore point). undo: revert the last tool call — every mutating call is checkpointed as one undo step |
| figma_library | Team library: list variable collections and their variables, import components / styles / variables by key, place instances |
| figma_export | Export nodes to PNG/JPG/SVG/PDF/JSON on disk. PNG/JPG come back inline as images; JSON (the subtree in Figma REST API shape) and SVG come back inline as text |
| figma_place_image | Put a local image into a node's fill. Any format the browser decodes — PNG, JPG, WebP, GIF, BMP, AVIF. Images over 4096px per side are downscaled automatically |
{
"mcpServers": {
"localfig": {
"command": "npx",
"args": [
"-y",
"localfig"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Feed real design data to your coding assistant — layout, tokens and components straight from Figma files.
Integrates Figma's API with Claude and other Model Context Protocol (MCP) compatible clients, providing read-only access to Figma files and projects.
Manages courses, assignments, enrollments, and grades within Canvas using the Canvas API.
Provides a unified TypeScript interface for LLMs to interact with various 3D software applications.
Generates Vue 3 components from Figma designs, adhering to Hostinger's design system.
Enables Cursor AI to interact with Figma, allowing programmatic design modification and data extraction.