Figma MCP Server
The Figma MCP Server enables AI-powered design creation and modification in Figma through natural language prompts via a connected plugin. You can:
Add Figma files to your context by providing the file URL
View nodes by retrieving thumbnails for specific nodes using file key and node ID
Read all comments on a Figma file
Post comments on specific nodes or locations in a Figma file
Reply to existing comments in a Figma file
The MCP server is built with Bun, providing the runtime environment for the server implementation.
Provides tools for creating and modifying Figma designs through natural language prompts, including capabilities to create basic design elements, design complete page layouts, and modify existing designs.
The server is implemented in TypeScript, providing type safety and modern language features for the implementation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Figma MCP Server design a login form with email and password fields"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Figma MCP (Model Context Protocol)
A complete solution for creating and modifying Figma designs through Cursor Agent using the Model Context Protocol.
Blog: https://xflux.us/2025/04/06/ai-powered-design-automation-building-a-figma-mcp-with-cursor/

Overview
This project enables AI-powered design creation in Figma using natural language prompts through Cursor Agent. It consists of two main components:
MCP Server: A Bun + TypeScript server that implements the Model Context Protocol and communicates with the Figma plugin via WebSockets.
Figma Plugin: A plugin that runs in Figma and executes design operations based on instructions from the MCP server.
With this integration, you can use natural language to:
Create basic design elements (shapes, text, etc.)
Design complete page layouts with multiple sections
Modify existing designs
Related MCP server: Figma MCP Server
Repository Structure
figma-mcp-server/: The MCP server implementation
figma-plugin/: The Figma plugin for executing design operations
Quick Start
1. Set up the MCP Server
cd figma-mcp-server
cp .env.example .env # Edit this file to add your Figma token
bun install
bun run index.ts2. Set up the Figma Plugin
cd figma-plugin
npm install
npm run buildThen import the plugin into Figma:
Open Figma
Go to Plugins > Development > Import plugin from manifest
Select the
figma-plugin/manifest.jsonfile
3. Connect to Cursor Agent
In Cursor:
Go to Settings > Agent > MCP Servers
Add a new server with URL:
http://localhost:3000/api/mcp/schema
Detailed Documentation
For more detailed instructions, see:
Example Usage
Once everything is set up, you can use Cursor Agent to create designs with prompts like:
Create a landing page with a header, hero section with heading "Our Product" and subheading "The best solution for your needs", 3 features in the features section, and a footer with contact information.How It Works
Cursor Agent receives a natural language prompt
It sends a structured MCP request to the MCP server
The MCP server processes the request and sends instructions to the Figma plugin via WebSocket
The Figma plugin executes the design operations in Figma
License
MIT
Available Tools
5 toolsadd_figma_fileC
Add a Figma file to your context
Inputs: url (required).
post_commentC
Post a comment on a node in a Figma file
Inputs: file_key (required), message (required), x (required), y (required), +1 more.
read_commentsC
Get all comments on a Figma file
Inputs: file_key (required).
reply_to_commentC
Reply to an existing comment in a Figma file
Inputs: comment_id (required), file_key (required), message (required).
view_nodeC
Get a thumbnail for a specific node in a Figma file
Inputs: file_key (required), node_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct purpose with no overlap: adding files, posting comments, reading comments, replying to comments, and viewing nodes. The descriptions make it easy to differentiate between these operations, eliminating any risk of misselection.
All tool names follow a consistent verb_noun pattern using snake_case, such as 'add_figma_file', 'post_comment', and 'view_node'. This uniformity makes the tool set predictable and easy to understand at a glance.
With 5 tools, this server is well-scoped for handling Figma files, comments, and nodes. Each tool serves a specific, necessary function without being excessive or insufficient for the domain, fitting the typical 3-15 tool range perfectly.
The tool set covers core workflows for file management and comment interactions, but there are minor gaps such as updating or deleting comments, or more advanced file operations like editing nodes. Agents can likely work around these with the provided tools.
Maintenance
Related MCP Connectors
The Figma MCP server brings Figma design context directly into your AI workflow.
A Model Context Protocol server for Wix AI tools
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Serves your design system and coding standards to coding agents, so they stop guessing.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that integrates Figma design files with AI coding tools like Cursor, Windsurf, and Cline, allowing AI tools to access and understand Figma design data for generating more accurate code.236 npm30MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that connects AI tools and LLMs to Figma designs, enabling them to extract design data, analyze design systems, and generate development documentation.2ISC
- AlicenseNot gradedqualityDmaintenanceA server that enables Cursor AI to generate code from Figma components by connecting to Figma's MCP Dev Server.MIT
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI agents to programmatically create, modify, and manage Figma documents via a WebSocket bridge and Figma plugin.116MIT