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
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.ts
2. Set up the Figma Plugin
cd figma-plugin
npm install
npm run build
Then 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:
- MCP Server README
- Figma Plugin Setup Guide
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
Figma Design Automation
Project Details
- xxflux/figma_MCP
- figma-mcp
- Last Updated: 4/17/2025
Recomended MCP Servers
Integração de LangChain e MCP para processamento de linguagem natural e avaliação de expressões matemáticas.
MCP Flowise
an MCP server providing tools for network incident response folks
Model Context Protocol Servers
✨✨✨ Geeker Admin,基于 Vue3.4、TypeScript、Vite5、Pinia、Element-Plus 开源的一套后台管理框架。
A Model Context Protocol (MCP) server that enables LLMs to interact directly with Couchbase databases. Query buckets, execute...
A TypeScript implementation of an MCP server that provides GitHub repository information including file content, directory structure, and...
A Model Context Protocol (MCP) server for the Discord integration with MCP-compatible applications like Claude Desktop.
A Model Context Protocol (MCP) server that enables AI assistants like Claude to check software end-of-life (EOL)
bluetooth-mcp-server for Claude AI
Not just another MCP filesystem. Optimized file operations with smart context management and token-efficient partial reading/editing. Process massive...





