@biolab/figma-buddy
v0.1.1
Published
Figma Buddy MCP Server
Readme
Figma Buddy MCP
MCP server that lets AI agents (Cursor, Claude Code) read and modify Figma designs programmatically.
AI Agent <-(stdio)-> MCP Server <-(WebSocket)-> WebSocket Relay <-(WebSocket)-> Figma PluginSetup
Prerequisites
- Bun runtime
- Figma desktop app
1. Add MCP server
Cursor — add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
{
"mcpServers": {
"FigmaBuddy": {
"command": "bunx",
"args": ["@biolab/figma-buddy@latest"]
}
}
}Claude Code — add to .mcp.json in your project root, or via CLI:
claude mcp add FigmaBuddy -- bunx @biolab/figma-buddy@latestTo register globally (user-level, available across all projects):
claude mcp add --scope user FigmaBuddy -- bunx @biolab/figma-buddy@latest2. Start the WebSocket relay
bunx @biolab/figma-buddy --relayRuns on port 8100 by default (configurable via PORT env).
3. Install the Figma plugin
Download the plugin zip, unzip it, then in Figma: Plugins → Development → Link existing plugin → select manifest.json
https://cdn.jsdelivr.net/npm/@biolab/figma-buddy@latest/figma-plugin/figma-plugin.zip4. Connect
- Open the plugin in Figma and join a channel
- In your AI agent, call
join_channelwith the same channel name - Start using the MCP tools
