FigMcpServer

ishivam06/FigMcpServer

3.2

If you are the rightful owner of FigMcpServer and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The Figma MCP Server provides a read-only integration with the Figma API, enabling seamless access to Figma design data for MCP-compatible clients like Claude Desktop.

Tools
8
Resources
0
Prompts
0

Figma MCP Server

When Claude/Cursor has direct access to Figma design data, it can generate accurate designs in a single stepβ€”far more effectively than approaches that rely on screenshots.

A Model Context Protocol (MCP) server providing read-only integration with the Figma API. Supports core Figma file and project access, designed for use with Claude Desktop and other MCP-compatible clients.

Features

  • Secure authentication with Figma API
  • Figma file operations (read, list)

Prerequisites

  • Node.js 18.x or higher
  • Figma access token (read permissions)

Configuration

  1. Copy .env.example to .env and set your Figma access token:
FIGMA_ACCESS_TOKEN=your_figma_token
MCP_SERVER_PORT=3000
DEBUG=figma-mcp:*
  1. For Claude Desktop integration, add the server to your Claude config (see examples/claude_desktop_config.json).
### Available Tools

- **get-file**: Retrieve Figma file details
- **list-files**: List files in a Figma project
- **create-variables**: Create variables in a Figma file
- **update-variables**: Update existing variables in a Figma file
- **delete-variables**: Delete variables from a Figma file
- **create-reference**: Create a reference between variables
- **validate-references**: Check for circular references and validate dependencies
- **create-theme**: Create a theme with variable mode configurations

See `src/handlers/figma.ts` and `src/commands/figma.ts` for implementation details.


See `src/handlers/figma.ts` and `src/commands/figma.ts` for implementation details.

## Project Structure

- `src/server.ts` β€” Main server logic
- `src/handlers/figma.ts` β€” Figma API handlers
- `src/commands/figma.ts` β€” Command definitions
- `src/schemas/` β€” Input validation schemas
- `src/types/` β€” TypeScript types
- `bin/figma-mcp-server` β€” CLI entry point
- `examples/` β€” Example Claude Desktop configs