Integrations
Connects to Figma's API to extract components, styles, and text from designs, analyze design system consistency, manage UI content, and generate development documentation.
Figma MCP Server
A Model Context Protocol (MCP) server that connects to Figma's API, allowing AI tools and LLMs to access and work with your Figma designs.
Features
- Design Data Extraction: Extract components, styles, and text from your Figma designs
- Design System Analysis: Analyze design system consistency and patterns
- UI Content Management: Extract and organize all UI copy from designs
- Development Handoff: Generate comprehensive documentation for developers
- Seamless AI Integration: Connect your designs to AI tools like Claude, Cursor, and other MCP-compatible clients
Getting Started
Prerequisites
- Node.js 16 or higher
- Figma Personal Access Token (Get it from your Figma account settings)
Installation
- Clone the repository:Copy
- Install dependencies:Copy
- Create a
.env
file in the project root:Copy - Build the server:Copy
- Start the server:Copy
Connecting to Clients
Claude for Desktop
- Open or create the Claude for Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
- Add the following configuration:Copy
- Restart Claude for Desktop
Cursor
Global Configuration
Create or edit Cursor's MCP configuration file:
- macOS:
~/Library/Application Support/Cursor/mcp.json
- Windows:
%APPDATA%\Cursor\mcp.json
Project-Specific Configuration
- Create a
.cursor
directory in your project root:Copy - Create an
mcp.json
file inside that directory:Copy
Available Tools
Tool | Description |
---|---|
get-file-info | Get basic information about a Figma file |
get-nodes | Get specific nodes from a Figma file |
get-components | Get component information from a Figma file |
get-styles | Get style information from a Figma file |
get-comments | Get comments from a Figma file |
search-file | Search for elements in a Figma file by type, name, etc. |
extract-text | Extract all text elements from a Figma file |
Available Prompts
analyze-design-system
- Analyze design system components and styles for consistencyextract-ui-copy
- Extract and organize all UI copy from designsgenerate-dev-handoff
- Generate development handoff documentation based on designs
Usage Examples
Using with Claude:
Using with Cursor:
Environment Variables
Variable | Description | Default |
---|---|---|
FIGMA_API_TOKEN | Your Figma Personal Access Token | (Required) |
API_KEY | Security key for API authentication | (Required) |
TRANSPORT_TYPE | Transport method (stdio or sse ) | stdio |
PORT | Port for SSE transport | 3000 |
Architecture
This MCP server:
- Connects to the Figma API using your personal access token
- Exposes a standardized interface following the Model Context Protocol
- Provides tools, resources, and prompts that LLMs can use to interact with your Figma designs
- Supports both stdio transport (local connections) and SSE transport (remote connections)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
This server cannot be installed
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
A Model Context Protocol server that connects AI tools and LLMs to Figma designs, enabling them to extract design data, analyze design systems, and generate development documentation.
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol server that enables LLMs to safely execute make targets from a Makefile, allowing AI assistants to run tests, format code, and automate various development tasks through natural language interaction.Last updated -12PythonMIT License
- AsecurityFlicenseAqualityA Model Context Protocol server that provides access to Figma API functionality, allowing AI assistants like Claude to interact with Figma files, comments, components, and team resources.Last updated -18341
- -securityAlicense-qualityA Model Context Protocol server that integrates Figma design files with AI coding tools like Cursor, Windsurf, and Cline, allowing AI tools to access and understand Figma design data for generating more accurate code.Last updated -1246TypeScriptMIT License
- -securityFlicense-qualityA Model Context Protocol (MCP) server that enables Claude to create and manipulate designs in Figma through either a Figma plugin or directly via the Figma API.Last updated -TypeScript