by gaganmanku96
This project enables Claude Desktop App to control Figma through the MCP (Model Context Protocol) and WebSocket communication, extending the original cursor-talk-to-figma-mcp to work with Claude Desktop App via stdio.
This project facilitates seamless integration between the Claude Desktop App and Figma, allowing users to control Figma and create/modify designs using natural language commands within Claude. It leverages the Model Context Protocol (MCP) and WebSocket communication to establish this connection, building upon the existing cursor-talk-to-figma-mcp
project.
To use this integration, you need Node.js 14+ and the Figma desktop application.
npm install
), and make startup scripts executable (chmod +x run-figma-claude.sh
)../bin/claude-figma-connect.sh
(Linux/macOS) or bin\claude-figma-connect.bat
(Windows) to start the WebSocket server, MCP server, and Claude bridge.manifest.json
file from talk-with-figma-claude > src > figma_plugin
.talk_to_figma_claude\src\mcp-server\mcp-server.js
.join_channel
to establish a connection, then utilize various Figma tools like create_rectangle
, get_document_info
, etc., through natural language commands.enhanced_create_component_instance
, enhanced_set_fill_color
).logs
directory for troubleshooting.http://localhost:3650
.Q: What are the prerequisites for running this project? A: You need Node.js 14+ and the Figma desktop application.
Q: How do I troubleshoot issues?
A: Check log files in the logs
directory, ensure Figma is running with the plugin installed, try health_check
or connection_status
tools from Claude, or restart the integration.
Q: Can I monitor the server status?
A: Yes, a server monitoring dashboard is available at http://localhost:3650
when the server is running.
Q: What kind of Figma tools are supported? A: The integration supports basic Figma tools for document information, creation, styling, and components, as well as enhanced tools for more advanced functionalities.
This project enables Claude Desktop App to control Figma through the MCP (Model Context Protocol) and WebSocket communication. It extends the original cursor-talk-to-figma-mcp to work with Claude Desktop App via stdio.
YT Video: https://www.youtube.com/watch?v=-LA_Ew7GhC4
https://github.com/user-attachments/assets/68dcc372-3605-477f-ab43-8fe076eed99c
Clone this repository:
git clone https://github.com/gaganmanku96/talk-with-figma-claude.git
cd talk-with-figma-claude
Install dependencies:
npm install
Make the startup scripts executable (Linux/macOS):
chmod +x run-figma-claude.sh
./bin/claude-figma-connect.sh
bin\claude-figma-connect.bat
This will start all necessary components:
join_channel
to establish a connectioncreate_rectangle
, get_document_info
, etc.talk-with-figma-claude > src > figma_plugin > manifest.json
You'll have to add following in Claude MCP Config
{
"mcpServers": {
"TalkToFigma": {
"command": "node",
"args": [
"~/talk_to_figma_claude/src/mcp-server/mcp-server.js"
],
"env": {}
}
}
}
talk_to_figma_claude\src\mcp-server\mcp-server.js
get_document_info
, get_selection
, etc.)create_rectangle
, create_frame
, create_text
, etc.)set_fill_color
, set_corner_radius
, etc.)create_component
, update_instance_properties
, etc.)enhanced_create_component_instance
: Better component instance creationenhanced_set_fill_color
: Improved color handlingcreate_multiple_instances
: Batch creation of instancesLogs are stored in the logs
directory with timestamped files for each component.
A server monitoring dashboard is available at http://localhost:3650 when the server is running.
If you encounter issues:
logs
directoryhealth_check
or connection_status
tools from ClaudeMIT License - See LICENSE file for details.
Reviews feature coming soon
Stay tuned for community discussions and feedback