figma-mcp

figma-mcp

Enables Claude to create and edit Figma designs in real time through MCP tools, allowing natural language commands for generating slides, charts, and other elements.

Category
访问服务器

README

VizX — Claude ↔ Figma MCP Bridge

Chat with Claude and watch your Figma canvas update in real time.


How it works

You chat with Claude
  → Claude calls MCP tools
    → MCP server (hosted on Railway) sends commands via WebSocket
      → Figma plugin executes them on the canvas

Setup (one time, ~10 minutes)

Step 1 — Deploy to Railway

  1. Fork or upload this repo to your GitHub account
  2. Go to railway.appNew Project → Deploy from GitHub
  3. Select this repo — Railway auto-detects Node.js and deploys
  4. Once deployed, go to Settings → Networking → Generate Domain
  5. Copy your public domain — it looks like your-app.railway.app

Step 2 — Load the Figma plugin

  1. Open Figma Desktop (must be the desktop app, not browser)
  2. Go to Plugins → Development → Import plugin from manifest…
  3. Select figma-plugin/manifest.json from this repo
  4. VizX Claude Bridge will appear under Development plugins

Step 3 — Connect the plugin to Railway

  1. Open any Figma file
  2. Run: Plugins → Development → VizX Claude Bridge
  3. Replace YOUR-APP.railway.app in the URL field with your actual Railway domain
  4. Click Connect
  5. You should see "Connected — ready for Claude commands"

Step 4 — Register with Claude Desktop

Open (or create):

~/Library/Application Support/Claude/claude_desktop_config.json

Add this block, updating the path to where you cloned this repo:

{
  "mcpServers": {
    "figma": {
      "command": "node",
      "args": ["/FULL/PATH/TO/figma-mcp/server.js"]
    }
  }
}

Restart Claude Desktop.

Step 5 — Chat

Example prompts to try:

"Create a pitchbook slide called Revenue Growth with the headline '$281M revenue by 2030'"

"Add a stacked bar chart showing LiveWell vs acquired revenue 2026-2030"

"Add stat cards: $45M 2026 revenue, $281M 2030 revenue, 6.2× growth"

"Update the headline to 'Revenue scales 6× through roll-up strategy'"


Tools Claude can call

Tool What it does
ping_figma Check connection status
list_frames List all frames on the page
create_slide Create a pitchbook slide frame
add_stat_cards Add KPI stat cards to a slide
add_chart Add a chart as editable SVG vectors
add_legend Add a color legend row
add_text Add a text node
update_text Edit existing text by name
delete_node Remove a node
focus_frame Zoom viewport to a frame
set_fill_color Change background color
duplicate_frame Clone a frame as a template

Chart types

  • bar — grouped bar chart
  • stacked_bar — stacked bar chart
  • line — line chart with area fill
  • horizontal_bar — horizontal bars (tornado, bridge)
  • combo — bars + line on dual axis

All charts render as editable SVG vector paths — not images.


Environment variables (Railway)

Variable Default Description
PORT 3000 HTTP health check (set automatically by Railway)
WS_PORT 9001 WebSocket port the Figma plugin connects to

Troubleshooting

"Figma plugin is not connected" — Make sure the plugin panel is open in Figma Desktop.

"Connection error" in plugin — Check your Railway domain is correct and the service is awake.

Charts look stretched — Resize the SVG node in Figma; it scales to frame width on import.

Claude doesn't see figma tools — Restart Claude Desktop after editing the config file.

Railway goes to sleep — Disable sleep under Railway → Settings, or upgrade to a paid plan.


Copyright © 2026 Vizx Global. All rights reserved.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选