figma-mcp-lor
v0.1.4
Published
Scaffold a local Figma MCP server into your project (init command).
Readme
figma-mcp-lor
A small CLI to scaffold a local figma-mcp-server folder into any project (so the whole team can share the same MCP tools setup).
Quickstart (recommended)
From your project root:
npx -y figma-mcp-lor@latest init
export FIGMA_TOKEN=...
npx -y figma-mcp-lor@latest setupWhat you get:
.figma-mcp-server/(the local MCP server).vscode/mcp.json(VS Code workspace MCP config)
Then restart VS Code so it picks up .vscode/mcp.json.
Commands
init
Creates .figma-mcp-server/ and writes .vscode/mcp.json (unless you disable it).
npx -y figma-mcp-lor@latest init [--dir <projectRoot>] [--server-dir <relPath>] [--vscode-mcp <relPath>] [--force]setup
Runs a one-command setup to make sure it can work:
npm installinside the server folder- validates
FIGMA_TOKENby callinghttps://api.figma.com/v1/me
export FIGMA_TOKEN=...
npx -y figma-mcp-lor@latest setup [--dir <projectRoot>] [--server-dir <relPath>]Token sharing strategy
- Each developer keeps their own
FIGMA_TOKENlocally (do not commit.env). - The shared
.vscode/mcp.jsonreferences${env:FIGMA_TOKEN}.
Publish to share
This folder is an npm package. Publish it to npm or your private registry:
cd figma-mcp-lor
npm publishOr install from git:
npm i -g <git-url>