← Corpus / lost-in-public / exploration
Accessing Figma through a Windsurf MCP Server
Interact with Figma Designs while building an application, straight from the IDE
- Path
- explorations/Accessing Figma through a Windsurf MCP Server.md
- Authors
- Michael Staton
- Augmented with
- Windsurf Cascade with SWE-1
- Tags
- Explorations · Model-Context-Protocols
session-open::‘2025-03-19T04:51:05.362Z’
- Found what seems to be the standard MCP server, even though it doesn’t look like it: figma-mcp
- Per instructions, downloaded Claude to native MacOS Desktop.
- Per instructions, created a Figma API Key.
- Per instructions, ran the bash command below:
echo '{
"mcpServers": {
"figma-mcp": {
"command": "npx",
"args": ["figma-mcp"],
"env": {
"FIGMA_API_KEY": "<YOUR_API_KEY>"
}
}
}
}' > ~/Library/Application\ Support/Claude/claude_desktop_config.json
- Of my own initiative, created a
.windsurfdir in root, added a.env.mcpfile with both Figma and Anthropic API Keys.
SCRATCH THAT
- Went to Windsurf Settings in the top menu bar.
- Clicked on Windsurf Settings option next in.
- Clicked to create an MCP Server.
- Clicked create Figma MCP Server.
- Added Figma API Key.
Now, I have the following API endpoints:
Available functions:
add_figma_file: Add a Figma file to your context
view_node: Get a thumbnail for a specific node in a Figma file
read_comments: Get all comments on a Figma file
post_comment: Post a comment on a node in a Figma file
reply_to_comment: Reply to an existing comment in a Figma file
Of these, for this Lossless content site, I think view_node will be quite useful!
session-close::‘2025-03-19T04:51:05.362Z’