About Cc Fig MCP
Cc Fig MCP is an MCP server in the Content category: claude Code to Figma MCP server with 2-way communication.
Install
git clone https://github.com/agenisea/cc-fig-mcpThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (28)
clone_nodeDuplicate a node
Parameters not published.
create_component_instanceCreate instance of a component
Parameters not published.
create_ellipseCreate an ellipse
Parameters not published.
create_frameCreate a frame/artboard
Parameters not published.
create_lineCreate a line
Parameters not published.
create_polygonCreate a polygon
Parameters not published.
create_rectangleCreate a rectangle
Parameters not published.
create_starCreate a star shape
Parameters not published.
create_textCreate text element
Parameters not published.
delete_nodeDelete a node
Parameters not published.
Show all 28 tools
export_node_as_imageExport node as PNG/SVG
Parameters not published.
get_document_infoGet current document details
Parameters not published.
get_local_componentsGet local components
Parameters not published.
get_node_infoGet details about specific nodes
Parameters not published.
get_selectionGet selected nodes
Parameters not published.
get_stylesGet document styles
Parameters not published.
group_nodesGroup nodes together
Parameters not published.
join_channelConnect to a Figma project channel
Parameters not published.
move_nodeMove a node
Parameters not published.
resize_nodeResize a node
Parameters not published.
set_auto_layoutConfigure auto layout
Parameters not published.
set_corner_radiusSet corner radius
Parameters not published.
set_fill_colorChange fill color
Parameters not published.
set_font_sizeChange font size
Parameters not published.
set_font_weightChange font weight
Parameters not published.
set_stroke_colorChange stroke color
Parameters not published.
set_text_contentUpdate text content
Parameters not published.
ungroup_nodesUngroup nodes
Parameters not published.
Ask AI
Ask AI about Cc Fig MCP
Powered by Claude · Grounded in docs
Security checks
- ✓README presentThe repository ships documentation.
5 checks have not been run yet.
README
CC Fig MCP
Figma integration for Claude Code with bidirectional design control and real-time sync.
Based on claude-talk-to-figma-mcp-daisyui by morteng and claude-talk-to-figma-mcp by arinspunk.
Prerequisites
- Node.js 18+
- Docker & Docker Compose
- pnpm
- Figma Desktop
Build from Source
git clone https://github.com/agenisea/cc-fig-mcp.git
cd cc-fig-mcp
pnpm install
pnpm run build
Setup Guide
1. Run the WebSocket Relay (Docker)
cd /path/to/cc-fig-mcp
# Build and start the relay server
docker-compose up -d --build
# Verify it's running
curl http://localhost:3055/status
2. Configure Claude Code
Option A: CLI Flag
claude --mcp-config '{"figma":{"command":"node","args":["/path/to/cc-fig-mcp/dist/talk_to_figma_mcp/server.js"]}}'
Option B: Edit ~/.claude.json
{
"mcpServers": {
"figma": {
"command": "node",
"args": [
"/path/to/cc-fig-mcp/dist/talk_to_figma_mcp/server.js"
]
}
}
}
3. Install Figma Plugin
- Open Figma Desktop
- Go to Plugins → Development → Import plugin from manifest
- Select:
/path/to/cc-fig-mcp/src/claude_mcp_plugin/manifest.json
4. Connect Figma Plugin
- In Figma, open Plugins → CC Fig MCP Plugin
- Set Port:
3055 - Set Channel: Your Figma project name (e.g.,
my-app-design,dashboard-ui) - Click Connect
- Status must show green/connected
5. Use in Claude Code
# Join the same channel as your Figma plugin (your Figma project name)
figma - join_channel("your-figma-project-name")
# Now you can use Figma tools
figma - create_rectangle(x: 0, y: 0, width: 100, height: 100)
figma - create_text(x: 50, y: 50, text: "Hello")
Available Tools
| Tool | Description |
|---|---|
join_channel |
Connect to a Figma project channel |
get_document_info |
Get current document details |
get_selection |
Get selected nodes |
get_node_info |
Get details about specific nodes |
create_frame |
Create a frame/artboard |
create_rectangle |
Create a rectangle |
create_text |
Create text element |
create_ellipse |
Create an ellipse |
create_polygon |
Create a polygon |
create_star |
Create a star shape |
create_line |
Create a line |
create_component_instance |
Create instance of a component |
set_fill_color |
Change fill color |
set_stroke_color |
Change stroke color |
set_corner_radius |
Set corner radius |
set_text_content |
Update text content |
set_font_size |
Change font size |
set_font_weight |
Change font weight |
set_auto_layout |
Configure auto layout |
move_node |
Move a node |
resize_node |
Resize a node |
clone_node |
Duplicate a node |
delete_node |
Delete a node |
group_nodes |
Group nodes together |
ungroup_nodes |
Ungroup nodes |
export_node_as_image |
Export node as PNG/SVG |
get_styles |
Get document styles |
get_local_components |
Get local components |
Important Requirements
| Requirement | Details |
|---|---|
| Docker running | WebSocket relay must be up on port 3055 |
| Plugin window open | Keep the Figma plugin window visible |
| Connection green | Plugin must show connected status |
| Same channel | Use your Figma project name as the channel in both Figma plugin and Claude Code |
| Reconnect if needed | If you see timeouts, reconnect the plugin and re-join channel in Claude Code |
Troubleshooting
"Forwarded message to 0 clients"
Figma plugin disconnected. Reconnect in Figma.
"Request timed out"
Plugin not connected or wrong channel. Check plugin status and channel name matches.
"Must join a channel"
Run join_channel("your-figma-project-name") in Claude Code first.
Port 3055 already in use
Change the port in docker-compose.yml:
ports:
- "3056:3055" # Use 3056 externally
Then update the Figma plugin port to match.
Connection drops frequently
The Figma plugin may disconnect when the plugin window loses focus. Keep the plugin panel visible while working.
Architecture
Claude Code
↓ (stdio - MCP protocol)
MCP Server (server.js)
↓ (WebSocket ws://localhost:3055)
Docker Container (socket relay)
↓ (WebSocket)
Figma Plugin (inside Figma Desktop)
Disclaimer
Experimental Software: This project is in active development and should be considered experimental. It is not production-ready and may contain bugs or breaking changes.
No Warranty: This software is provided "as is", without warranty of any kind, express or implied. Use at your own risk.
Third-Party Notice: This project is not affiliated with, endorsed by, or sponsored by Figma, Inc. or Anthropic, PBC. All trademarks belong to their respective owners.
License
MIT
README copy captured when this server was indexed; it may lag the repository. The original is authoritative.