The mcp-figma server provides a Model Context Protocol interface to integrate with the Figma API for managing design resources.
Key capabilities:
API key management: Set, store, and verify Figma personal access tokens
File operations: Retrieve Figma files, specific nodes, and generate images from files
Comment management: Get, post, and delete comments on Figma files
Team and project access: Fetch projects for teams and files within projects
Component and style operations: Access components, component sets, and styles at team or file level
Image resources: Get URLs for images used as fills in Figma files
Provides comprehensive access to Figma's API, enabling file operations, comments management, team/project management, component and style access, and image extraction from Figma designs.
mcp-figma
A Model Context Protocol (MCP) server for Figma API integration, designed to be used with Claude and other MCP-compatible AI assistants.
Features
This MCP server provides access to Figma API functionality:
File operations (get file, get nodes, get images)
Comments management
Team/project management
Components and styles access
Persistent API key storage
Related MCP server: Figma MCP Server
Installation
NPM Installation
Usage with Claude
Add mcp-figma to your Claude configuration:
When using Claude, the first time you'll need to set your Figma API key:
Your API key will be stored in ~/.mcp-figma/config.json and will be automatically loaded in future sessions.
You can verify your API key is configured:
Then use any of the available Figma API functions:
Available Tools
The server provides the following tools:
set_api_key: Set your Figma API personal access token (saved to config)check_api_key: Check if an API key is already configuredget_file: Get a Figma file by keyget_file_nodes: Get specific nodes from a Figma fileget_image: Get images for nodes in a Figma fileget_image_fills: Get URLs for images used in a Figma fileget_comments: Get comments on a Figma filepost_comment: Post a comment on a Figma filedelete_comment: Delete a comment from a Figma fileget_team_projects: Get projects for a teamget_project_files: Get files for a projectget_team_components: Get components for a teamget_file_components: Get components from a fileget_component: Get a component by keyget_team_component_sets: Get component sets for a teamget_team_styles: Get styles for a teamget_file_styles: Get styles from a fileget_style: Get a style by key
For detailed usage examples, see USAGE.md.
License
MIT