Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_figma-0.0.1.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_figma-0.0.1-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_figma-0.0.1.tar.gz.

File metadata

  • Download URL: mcp_figma-0.0.1.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for mcp_figma-0.0.1.tar.gz
Algorithm Hash digest
SHA256 846efc4bc3b998119394a9cbc19edcd6a695ed310a1864539b18e64e1016edca
MD5 afeda1af55955cc3f23e1c1247f12897
BLAKE2b-256 0951b5d8f024505c4236fdfbd2c6222445ff07e052a5fe9489eb1fff1512364d

See more details on using hashes here.

File details

Details for the file mcp_figma-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: mcp_figma-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.6

File hashes

Hashes for mcp_figma-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49e23d7f6e7758fd757d4e210a8dc990000a189518ead15e377303e04c9a3ba3
MD5 b70e87225b53ec4fd33ae54115a7b78f
BLAKE2b-256 271f482c1d3f0cc502e1f3c97c55ece576c6fb7f1d328c8d95804e41c53febfc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page