Figma MCP Server
Facilitates the analysis of Figma file structures by extracting node hierarchies, accessible via REST API or MCP protocol.
moonray
Tools
analyze_figma_file
Analyze a Figma file structure to understand its nodes and hierarchy
README
Figma MCP Server
An MCP (Model Context Protocol) server for analyzing Figma file structures.
Features
- Analyze Figma files to extract node hierarchies
- Supports both REST API and MCP protocol
- Configurable node tree depth
Prerequisites
- Node.js 16+
- npm or yarn
- A Figma API key
Installation
From npm
npm install -g figma-mcp-server
From source
git clone https://github.com/yourusername/mcp-figma.git
cd mcp-figma
npm install
npm run build
Configuration
Copy the example environment file and add your Figma API key:
cp .env.example .env
Then edit the .env
file and add your Figma API key:
FIGMA_API_KEY=your_figma_api_key_here
You can get a Figma API key from your Figma account settings: https://www.figma.com/developers/api#access-tokens
Usage
As a REST API Server
Start the server:
npm start
This will start an Express server on port 3000 (or the port specified in your .env
file).
API Endpoints
GET /health
- Health check endpointGET /openapi.json
- OpenAPI specificationGET /mcp.json
- MCP manifestPOST /analyze
- Analyze a Figma file
Example request to the analyze endpoint:
curl -X POST http://localhost:3000/analyze \
-H "Content-Type: application/json" \
-d '{"figmaUrl": "https://www.figma.com/file/FILE_ID/PROJECT_NAME?node-id=NODE_ID", "depth": 2}'
As an MCP Server
The server can be used directly by an LLM through the MCP protocol:
figma-mcp-server --cli
Or if running from source:
npm run start -- --cli
Client Example
A simple client example is included. To use it:
node client-example.js https://www.figma.com/file/FILE_ID/PROJECT_NAME?node-id=NODE_ID 2
The last parameter is the optional depth parameter.
Development
Running in Development Mode
npm run dev
Testing
npm test
Docker
A Dockerfile is provided for containerized deployment:
docker build -t figma-mcp-server .
docker run -p 3000:3000 --env-file .env figma-mcp-server
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
MCP Package Docs Server
Facilitates LLMs to efficiently access and fetch structured documentation for packages in Go, Python, and NPM, enhancing software development with multi-language support and performance optimization.
Claude Code MCP
An implementation of Claude Code as a Model Context Protocol server that enables using Claude's software engineering capabilities (code generation, editing, reviewing, and file operations) through the standardized MCP interface.
@kazuph/mcp-taskmanager
Model Context Protocol server for Task Management. This allows Claude Desktop (or any MCP client) to manage and execute tasks in a queue-based system.
Linear MCP Server
Enables interaction with Linear's API for managing issues, teams, and projects programmatically through the Model Context Protocol.
mermaid-mcp-server
A Model Context Protocol (MCP) server that converts Mermaid diagrams to PNG images.
Jira-Context-MCP
MCP server to provide Jira Tickets information to AI coding agents like Cursor

Linear MCP Server
A Model Context Protocol server that integrates with Linear's issue tracking system, allowing LLMs to create, update, search, and comment on Linear issues through natural language interactions.

Sequential Thinking MCP Server
This server facilitates structured problem-solving by breaking down complex issues into sequential steps, supporting revisions, and enabling multiple solution paths through full MCP integration.