Prerequisites
Before you begin, ensure you have:- Cursor IDE installed
- Bun runtime installed
- A Figma account with editor access
Quick Setup (Recommended)
The fastest way to get started is using the automated setup script:Run automated setup
Execute the setup script which will install dependencies and configure Cursor:This command will:
- Install all required dependencies
- Create
.cursor/mcp.jsonwith the MCP server configuration - Create
.mcp.jsonfor Claude Code compatibility
Start the WebSocket server
Launch the WebSocket relay server that connects Cursor to Figma:The server will start on port 3055. Keep this terminal window open.
Install the Figma plugin
See the Figma Plugin Setup guide for detailed instructions on installing and configuring the Figma plugin.
Manual Setup
If you prefer manual configuration or need to customize your setup:Create MCP configuration
Create or edit This configuration uses the published npm package for easy updates.
~/.cursor/mcp.json (for global configuration) or .cursor/mcp.json in your project root:Verification
To verify your setup is working:Troubleshooting
MCP server not appearing
- Ensure you’ve restarted Cursor after creating the configuration
- Check that
bunxis available in your PATH - Verify the
.cursor/mcp.jsonfile syntax is valid JSON
Connection timeouts
- Confirm the WebSocket server is running (
bun socket) - Check that port 3055 is not blocked by a firewall
- Ensure the Figma plugin is active and connected to the channel
Commands not working
- Always call
join_channelbefore issuing Figma commands - Make sure you’re in the same channel in both Cursor and the Figma plugin
- Verify the Figma plugin has the necessary permissions
Next Steps
Figma Plugin Setup
Install and configure the Figma plugin
Local Development
Set up a local development environment
Configuration Options
Using a specific version
To use a specific version instead of@latest: