Figma Lightweight
FreeNot checkedEnables executing any Figma Plugin API code via a single tool, providing full access to Figma node manipulation through natural language.
About
Enables executing any Figma Plugin API code via a single tool, providing full access to Figma node manipulation through natural language.
README
A minimal MCP server providing full Figma Plugin API access through a single execute_code tool.
Fork Notice: This is a lightweight fork of claude-talk-to-figma-mcp by Xúlio Zé, which is based on cursor-talk-to-figma-mcp by Sonny Lazuardi.
Why This Fork?
The original MCP has 40+ specialized tools. This version has 2 tools:
| Tool | Purpose |
|---|---|
join_channel |
Connect to Figma plugin |
execute_code |
Run any Figma Plugin API code |
Benefits
- Context-efficient: Minimal tool definitions = more context for your actual work
- Full access: Execute any valid Figma Plugin API code
- No limitations: Not restricted to predefined operations
- Simpler maintenance: Less code to maintain
Setup
1. Configure Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
Option A: Via npm (recommended)
{
"mcpServers": {
"FigmaMCP": {
"command": "bunx",
"args": ["figma-mcp-lightweight@latest"]
}
}
}
Option B: From source
git clone https://github.com/halilc4/figma-mcp-lightweight.git
cd figma-mcp-lightweight
bun install
bun run build
{
"mcpServers": {
"FigmaMCP": {
"command": "bun",
"args": ["run", "/path/to/figma-mcp-lightweight/dist/talk_to_figma_mcp/server.js"]
}
}
}
2. Setup Figma Plugin
Import src/claude_mcp_plugin/manifest.json in Figma:
Menu > Plugins > Development > Import plugin from manifest
3. Connect
- Start WebSocket server:
bun socket - Open plugin in Figma, copy channel ID
- In Claude: "Connect to Figma channel {channel-ID}"
Usage
Once connected, Claude can execute any Figma Plugin API code:
// Create a frame
const frame = figma.createFrame();
frame.resize(400, 300);
frame.name = "My Frame";
// Access selection
const selected = figma.currentPage.selection;
// Modify nodes
node.fills = [{ type: 'SOLID', color: { r: 1, g: 0, b: 0 } }];
See Figma Plugin API docs for full reference.
Architecture
Claude Desktop <-> MCP Server <-> WebSocket Server <-> Figma Plugin
License
MIT License - see LICENSE
Credits
- Sonny Lazuardi - Original implementation
- Xúlio Zé - Claude adaptation
- Igor Halilovic - Lightweight fork
Install Figma Lightweight in Claude Desktop, Claude Code & Cursor
unyly install figma-mcp-lightweightInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add figma-mcp-lightweight -- npx -y figma-mcp-lightweightFAQ
Is Figma Lightweight MCP free?
Yes, Figma Lightweight MCP is free — one-click install via Unyly at no cost.
Does Figma Lightweight need an API key?
No, Figma Lightweight runs without API keys or environment variables.
Is Figma Lightweight hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Figma Lightweight in Claude Desktop, Claude Code or Cursor?
Open Figma Lightweight on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Figma Lightweight with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
