MCP server for Figma integration
Project description
Figma MCP Server
A Model Context Protocol (MCP) server for Figma integration. This server provides tools for interacting with Figma, including querying files, comments, projects, and performing operations.
Features
- File Access: Get file information, version history, and export files
- Comments: Create, read, and manage comments on designs
- Team Management: Access teams, projects, and file permissions
- Component Libraries: Access and query component libraries
- Resources: Access metadata about Figma objects
- Prompts: Templates for common Figma workflows
Installation
pip install mcp-figma
Configuration
Set the following environment variables:
export FIGMA_BASE_URL="https://api.figma.com/v1"
export FIGMA_ACCESS_TOKEN="your_figma_personal_access_token"
You can generate a personal access token in Figma by going to Account Settings > Personal Access Tokens.
Usage
Starting the server directly
mcp-figma
Using with Claude Desktop
Add the following to your claude_desktop_config.json file:
{
"mcpServers": {
"mcp-figma": {
"command": "uvx",
"args": [
"mcp-figma"
],
"env": {
"FIGMA_BASE_URL": "https://api.figma.com/v1",
"FIGMA_ACCESS_TOKEN": "your_figma_personal_access_token"
}
}
}
}
Replace the environment variables with your actual Figma credentials.
Available Tools
- get_file: Get details of a specific Figma file
- get_file_nodes: Get specific nodes from a Figma file
- get_comments: Get comments from a Figma file
- create_comment: Create a comment on a Figma file
- get_file_versions: Get version history of a Figma file
- get_team_projects: Get projects for a Figma team
- get_project_files: Get files in a Figma project
- export_image: Export parts of a Figma document as images
Available Resources
- figma://files: List of recently accessed Figma files
- figma://teams: List of Figma teams you belong to
- figma://components: List of components in a file
- figma://styles: List of styles in a file or team library
Available Prompts
- create_comment_prompt: Template for creating a new comment
- analyze_design_prompt: Template for analyzing a design file
- export_assets_prompt: Template for exporting assets from a design
Version
0.0.1
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_figma-0.0.2.tar.gz.
File metadata
- Download URL: mcp_figma-0.0.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
016e7ec7ee9e27b22764801f21cf20b38a3c9df8d3265c7c19300699c3d2372d
|
|
| MD5 |
1024c8e5069c27b2e20e4a41559243d6
|
|
| BLAKE2b-256 |
cf4017e54272dd6fd8f9cac404c2b123821c8710860e1e9487ec800c93b250de
|
File details
Details for the file mcp_figma-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mcp_figma-0.0.2-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94ae5933a6be9f676de12c7c8f9c1e1e140f6626092ea628ae2ce45a09e2323d
|
|
| MD5 |
ced28a1b12079f70f2c1e341839763c7
|
|
| BLAKE2b-256 |
b3590b8d82b196c14dc26b95317a85b9f20d9283aad332c06f223dc7b7839352
|