Requirements
Prerequisites
- Node.js 18+ with
npxavailable in your PATH - TemPad Dev extension installed and running in a Figma tab
- An MCP-compatible client (Claude Desktop, VS Code with Cline, Cursor, Windsurf, etc.)
Node.js is required for both the MCP server runtime and the skills CLI. The server uses
npx to run the latest version without manual installation.Installation
Enable MCP in TemPad Dev
Open TemPad Dev in your Figma file:
- Click the TemPad Dev panel
- Go to Preferences → MCP server
- Toggle Enable MCP server to ON
Add the Server to Your MCP Client
Choose your installation method based on your MCP client:
- Manual Configuration
- CLI Installation
- Quick Actions
Add this configuration to your MCP client’s settings file:Configuration file locations:
- Claude Desktop:
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows) - VS Code/Cursor/TRAE: Use the deep link in TemPad Dev Preferences → MCP server
- Windsurf: Copy the JSON snippet from the Preferences panel
Verify Connection
- Keep the TemPad Dev tab active and in the foreground
- In Figma, select a design element
- In your MCP client, try invoking the
get_codetool - Check the MCP status badge in the TemPad Dev panel title bar
- Unavailable (gray): MCP server not configured or not running
- Inactive (yellow): Server running but this tab is not active
- Active (green): Connected and ready for tool calls
Multiple Figma Tabs
If you have multiple Figma files open with TemPad Dev running:- Only one tab can be active at a time
- Click the MCP badge in the TemPad Dev panel to activate that tab
- Activating a tab automatically deactivates other tabs
- Tool calls are routed to whichever tab is currently active
Troubleshooting
Connection Issues
Status shows 'Unavailable'
Status shows 'Unavailable'
Status shows 'Inactive'
Status shows 'Inactive'
- Click the MCP badge in the TemPad Dev panel to activate this tab
- Only one Figma tab can be active at a time
- Close other Figma tabs if you only need one design file
Tool calls timeout or fail
Tool calls timeout or fail
- Keep the Figma tab active and in the foreground
- Check that TemPad Dev panel is open and visible
- Verify the MCP badge shows “Active” (green)
- Try selecting a simpler node (smaller subtree) first
WebSocket connection errors
WebSocket connection errors
- Check if another process is using ports 6220, 7431, or 8127
- Ensure your firewall allows local WebSocket connections
- Try restarting the MCP server (restart your MCP client)
Next Steps
Tools Reference
Learn about available tools and their parameters
Agent Skill
Install the skill for production-ready code generation