Documentation Index
Fetch the complete documentation index at: https://mintlify.com/grab/cursor-talk-to-figma-mcp/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This guide covers all installation methods for Talk to Figma MCP, including automated setup, manual configuration, and platform-specific instructions.For a faster setup experience, see the Quick Start guide.
System Requirements
Required
- Bun (recommended) or Node.js v18+
- Figma Desktop App or Figma in Browser
- Cursor or Claude Code with MCP support
- Network Access: Localhost WebSocket (port 3055)
Platform Support
macOS
Full support with native Bun installation
Linux
Full support with native Bun installation
Windows
Requires additional WSL configuration
Installation Methods
- Automated Setup (Recommended)
- Manual Setup
- NPM Package (Published)
MCP Configuration
Cursor Configuration
Create or edit~/.cursor/mcp.json (or .cursor/mcp.json in your project):
Claude Code Configuration
You can configure Claude Code in two ways:Option 1: Manual File Edit
Create or edit.mcp.json in your project root:
Option 2: CLI Command
Use the Claude Code CLI:Configuration Reference
The command to execute. Use
bunx for published package or bun for local development.Arguments passed to the command. For published package:
["cursor-talk-to-figma-mcp@latest"]. For local: ["/path/to/server.ts"].Optional environment variables. Example:
Start WebSocket Server
The WebSocket relay must be running for the MCP server to communicate with Figma.Basic Usage
In the repository directory:Custom Port
To use a different port, set thePORT environment variable:
Development Mode
For development with auto-reload:bun socket in a separate terminal.
Figma Plugin Installation
Community Plugin (Recommended)
Visit Plugin Page
Go to the Figma Community page
Local Development Plugin
For plugin development or customization:The Figma plugin files are not bundled. The
code.js file is used directly as the runtime artifact. Edit code.js and ui.html directly in the src/cursor_mcp_plugin/ directory.Plugin Files
Plugin metadata including ID, permissions, and network access configuration
Plugin main thread that handles 30+ commands via a dispatcher
Plugin UI for WebSocket connection management
Platform-Specific Setup
Windows + WSL
Windows users with WSL need an additional configuration step:macOS
No additional configuration needed. Follow the standard installation steps.Linux
No additional configuration needed. Follow the standard installation steps.Verification
Verify your installation is working:Verify MCP Configuration
Open your AI agent (Cursor/Claude Code) and check that the TalkToFigma MCP server appears in the MCP servers list
Test Plugin Connection
- Open Figma and run the plugin
- In your AI agent, use the
join_channeltool - Check terminal output for:
If all steps succeed, your installation is complete!
Troubleshooting
'bun: command not found'
'bun: command not found'
Solution:Add this line to your
- Restart your terminal after installing Bun
- Verify installation:
bun --version - Add Bun to PATH manually:
.bashrc, .zshrc, or .profilePort 3055 already in use
Port 3055 already in use
Solution:
- Find the process using port 3055:
macOS/Linux
Windows
- Kill the process or use a different port:
WebSocket connection failed
WebSocket connection failed
Possible causes:
- WebSocket server not running → Check
bun socketis active - Firewall blocking port 3055 → Allow localhost connections
- WSL without hostname config → Set
hostname: "0.0.0.0" - Wrong channel name → Ensure MCP server and plugin use same channel
- Check server logs in terminal running
bun socket - Open browser console: Plugins → Development → Open Console
- Look for WebSocket connection errors
MCP server not showing in Cursor/Claude
MCP server not showing in Cursor/Claude
Solution:
-
Verify configuration file location:
- Cursor:
~/.cursor/mcp.jsonor.cursor/mcp.json - Claude:
.mcp.jsonin project root
- Cursor:
- Check JSON syntax is valid
- For local development, use absolute paths
- Restart your AI agent
Build errors
Build errors
Solution:Should be v1.0.0 or higher.
- Clear dependencies and reinstall:
- Verify Bun version:
- Try building manually:
Plugin not appearing in Figma
Plugin not appearing in Figma
Solution:
- For community plugin: Check you’re logged into Figma
-
For local plugin:
- Verify you selected the correct
manifest.jsonfile - Check Plugins → Development menu
- Try relinking the plugin
- Verify you selected the correct
-
Check plugin permissions in
manifest.json:
Advanced Configuration
Custom WebSocket URL
The MCP server supports a custom WebSocket URL via command-line argument:ws://localhost:3055
Environment Variables
WebSocket server port
Set to
development for additional loggingMultiple Instances
Run multiple independent instances using different channels:- Start WebSocket server once:
bun socket - Configure multiple MCP servers with unique names
- Join different channels for each instance
join_channel with different channel names: "project1", "project2", etc.
Development Commands
For contributors and developers:There is no test suite or linter configured in this project.
Uninstallation
To remove Talk to Figma MCP:Remove MCP Configuration
Delete the TalkToFigma entry from:
~/.cursor/mcp.json(Cursor).mcp.json(Claude Code)
Next Steps
Quick Start
Get up and running with hands-on examples
API Reference
Explore all 50+ available tools
Best Practices
Learn patterns for effective design automation
GitHub Repository
View source code and contribute
Get Help
If you encounter issues during installation:- Review the Quick Start guide for a simplified setup
- Check the Troubleshooting section above
- Open an issue on GitHub
- Watch the video tutorial
Installation complete! Your Talk to Figma MCP is ready to use.