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
Metadata
Release files for mcp-figma 0.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcp_figma-0.0.2.tar.gz | 4.6 kB | Without provenance | Details for mcp_figma-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcp_figma-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for mcp_figma-0.0.2-py3-none-any.whl |
Total release size: 10.0 kB
Release files / mcp_figma-0.0.2.tar.gz
| Download URL | mcp_figma-0.0.2.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
016e7ec7ee9e27b22764801f21cf20b38a3c9df8d3265c7c19300699c3d2372d
|
|
BLAKE2b-256 checksum How to use checksums |
cf4017e54272dd6fd8f9cac404c2b123821c8710860e1e9487ec800c93b250de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.13
|
Release files / mcp_figma-0.0.2-py3-none-any.whl
| Download URL | mcp_figma-0.0.2-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
94ae5933a6be9f676de12c7c8f9c1e1e140f6626092ea628ae2ce45a09e2323d
|
|
BLAKE2b-256 checksum How to use checksums |
b3590b8d82b196c14dc26b95317a85b9f20d9283aad332c06f223dc7b7839352
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.13
|
Security for mcp-figma 0.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.