Localfig MCP Server

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.…

Local serverstdioMIT

What is the Localfig MCP Server?

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.

Installation

The documented npm package is localfig. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat 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_statusPlugin connected? File, page, selection, top-level frames, who is driving, and whether dynamic code execution is available
figma_evalRun arbitrary Plugin API JavaScript in the file — the workhorse
figma_metadataStructural dump of a subtree: ids, names, types, geometry, text. styles: true adds fills (hex), gradient stops, fonts, effects, auto-layout, bound variables…
figma_tokensEvery local variable collection with its modes and per-mode values, plus paint / text / effect styles
figma_findSearch the current page or every page by type, layer-name regex and text regex
figma_changesWhat 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_historysnapshot: save a named version (restore point). undo: revert the last tool call — every mutating call is checkpointed as one undo step
figma_libraryTeam library: list variable collections and their variables, import components / styles / variables by key, place instances
figma_exportExport 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_imagePut 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

How to install the Localfig MCP Server

{
  "mcpServers": {
    "localfig": {
      "command": "npx",
      "args": [
        "-y",
        "localfig"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.