π¨ Complete Figma REST API MCP Server
A comprehensive Model Context Protocol server that gives Claude Desktop complete access to the Figma REST API. Access files, comments, variables, webhooks, projects, teams, dev resources, version history, and more - all through natural language.
π― Complete API Coverage - 29 Endpoints
π Files & Content:
- Get complete file structure as JSON with all nodes and components
- Retrieve specific nodes from files
- Render images from nodes in any format (PNG, JPG, SVG, PDF)
- Access image fills and assets
π¬ Comments & Collaboration:
- Read, create, delete comments with full threading support
- React to comments with emojis
- Reply to threads with @mentions
- Track comment authors and resolution status
π¨ Variables & Design Systems (Enterprise):
- Access local and published variables
- Create and update design tokens
- Manage design system synchronization
π Webhooks & Automation:
- Create webhooks for file updates and events
- Manage webhook lifecycle (get, update, delete)
- Debug webhook requests
π₯ Projects & Teams:
- Access team projects and files
- Navigate organizational structure
π§ Dev Resources:
- Attach developer URLs to design nodes
- Bridge design and development workflows
π Version History:
- Access file version history
- Track design evolution
π Quick Start
This MCP server is published on npm and can be used directly with Claude Desktop or any MCP-compatible client using npx.
Installation
Add this configuration to your Claude Desktop config file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"figma-comments": {
"command": "npx",
"args": ["-y", "mcp-figma-comment-summary"],
"env": {
"FIGMA_ACCESS_TOKEN": "your_figma_token_here"
}
}
}
}
Important:
- Replace
your_figma_token_herewith your Figma Personal Access Token - Each user needs their own token (secure and private)
- Restart Claude Desktop after updating the configuration
β¨ Features
- π 29 Endpoints covering the complete Figma REST API
- π¬ Comments: Full CRUD + reactions + @mentions (9 endpoints)
- π Files: Complete file access, node retrieval, image rendering (4 endpoints)
- π¨ Variables: Design tokens management - Enterprise (3 endpoints)
- π Webhooks: Event-driven automations (6 endpoints)
- π₯ Teams & Projects: Organizational navigation (2 endpoints)
- π§ Dev Resources: Design-to-dev bridge (3 endpoints)
- π Version History: Track file changes (1 endpoint)
- π€ Users: Current user info (1 endpoint)
- π Secure: Each user uses their own Figma token
π οΈ Available Tools (29 Total)
π¬ Comments (9 endpoints)
get_figma_comments- Retrieve all comments with threadssummarize_figma_comments- Generate statisticsget_comment_users- List users for @mentionspost_figma_comment- Create comments with @mentionsreply_to_figma_comment- Reply to threadsdelete_figma_comment- Delete commentsget_comment_reactions- Get emoji reactionspost_comment_reaction- Add reactionsdelete_comment_reaction- Remove reactions
π Files (4 endpoints)
get_file- Get complete file structure as JSONget_file_nodes- Get specific nodes by IDrender_images- Render as PNG/JPG/SVG/PDFget_image_fills- Get all image fill URLs
π€ Users (1 endpoint)
get_current_user- Get authenticated user info
π Version History (1 endpoint)
get_version_history- Get file version history
π₯ Projects & Teams (2 endpoints)
get_team_projects- List team projectsget_project_files- List project files
π¨ Variables (3 endpoints - Enterprise)
get_local_variables- Get local variablesget_published_variables- Get published variablescreate_variables- Create/update variables
π§ Dev Resources (3 endpoints)
get_dev_resources- Get developer URLscreate_dev_resource- Attach URL to nodedelete_dev_resource- Remove resource
π Webhooks V2 (6 endpoints)
create_webhook- Create webhook for eventsget_webhook- Get webhook by IDget_webhooks- List all webhooksupdate_webhook- Update webhookdelete_webhook- Delete webhookget_webhook_requests- Debug webhook requests
π Use Cases
π¬ Comments & Collaboration:
- Design reviews and feedback management
- Automated responses to comment threads
- Comment sentiment analysis
- Team collaboration analytics
π File Management:
- Extract complete design system structure
- Generate documentation from Figma files
- Export assets and images programmatically
- Navigate file hierarchies
π¨ Design Systems (Enterprise):
- Synchronize design tokens across files
- Track variable changes
- Automate design system documentation
- Validate token usage
π Automation:
- Set up file update notifications
- Trigger workflows on design changes
- Monitor library publications
- Track team activity
π₯ Team Organization:
- Audit project file organization
- Generate team activity reports
- Navigate organizational structures
π§ Developer Handoff:
- Attach implementation URLs to designs
- Bridge design-to-development workflow
- Track component implementation status
π‘ Example Conversations
π¬ Comments:
"Get all comments from file ABC123 and reply to unresolved ones"
"Delete comment 789 and add a π reaction to comment 456"
"Post a comment mentioning @john_designer to review colors"
π Files & Nodes:
"Get the complete structure of file ABC123"
"Render nodes 1:5,1:6,1:7 as PNG at 2x scale"
"Export node 123:456 as SVG"
π¨ Variables:
"Get all local variables from file ABC123"
"Create a new color variable named 'primary-blue'"
π Webhooks:
"Create a webhook for FILE_UPDATE events on team T123"
"List all webhooks and show request history"
Combined Workflows:
"Get file structure, find all buttons, render as images, create catalog"
"Analyze comments, group by theme, post summary with @mentions"
"Set up webhook for updates, document all current variables"
π Finding Your Figma File ID
The File ID is in your Figma file URL:
https://www.figma.com/file/ABC123XYZ/file-name
β
This is the File ID
π¦ Installation from npm
npm install -g mcp-figma-comment-summary
Or use directly with npx (recommended):
npx -y mcp-figma-comment-summary
π Links
- npm Package: mcp-figma-comment-summary
- GitHub Repository: IgnorantesNaturales/mcp-figma-comment-summary
- Model Context Protocol: modelcontextprotocol.io
- Figma API: Figma Developers
π€ Contributing
Contributions are welcome! Please visit the GitHub repository to contribute.
π License
MIT License - see the LICENSE file for details.
π Support
If you encounter issues:
- Check the Troubleshooting Guide
- Open an issue on GitHub
- Review the Figma API documentation
Made with β€οΈ for the MCP community