Sponsored by Deepsite.site

Zapcode Figma Mcp

Created By
Zapcode-FTC17 days ago
# Zapcode Figma MCP Server [![npm version](https://img.shields.io/npm/v/zapcode-figma-mcp.svg)](https://www.npmjs.com/package/zapcode-figma-mcp) Connect your Figma designs directly to AI tools like Claude Desktop, Claude Code, Cursor, and Cline. Get real-time HTML, CSS, images, and assets from selected Figma frames through the Model Context Protocol. ## Features - **Real-time Design Context** - Fetches live data from your currently selected Figma frame - **Complete Asset Export** - Supports SVG, PNG, JPG, PDF, and all Figma asset types - **Configurable Storage** - Save assets to custom paths or default workspace location - **Auto-organized Assets** - Assets grouped by type (svg/, png/, jpg/, etc.) - **Zero Configuration** - Works out of the box with npx - **Rich Context** - Provides HTML structure, CSS styles, images, and design specifications ## Prerequisites 1. **Node.js 16+** - [Download here](https://nodejs.org/) 2. Figma 3. **[Zapcode Figma Plugin](https://www.figma.com/community/plugin/1454956820198178710/zapcode)** - Install from Figma Community ## Installation ### Claude Desktop Add to your `claude_desktop_config.json`: **macOS**: `~/Library/Application Support/Claude/claude_desktop_config.json` **Windows**: `%APPDATA%\Claude\claude_desktop_config.json` ```json { "mcpServers": { "zapcode-figma": { "command": "npx", "args": ["-y", "zapcode-figma-mcp"] } } } ``` Restart Claude Desktop after making changes. ### Claude Code Add to your `claude_code_config.json`: **macOS/Linux**: `~/.config/claude-code/claude_code_config.json` **Windows**: `%APPDATA%\claude-code\claude_code_config.json` ```json { "mcpServers": { "zapcode-figma": { "command": "npx", "args": ["-y", "zapcode-figma-mcp"] } } } ``` ### Cursor Add to your MCP settings configuration: ```json { "mcpServers": { "zapcode-figma": { "command": "npx", "args": ["-y", "zapcode-figma-mcp"] } } } ``` ### Cline (VS Code Extension) Add to Cline's MCP settings: ```json { "mcpServers": { "zapcode-figma": { "command": "npx", "args": ["-y", "zapcode-figma-mcp"] } } } ``` ### Windsurf Add to your Windsurf MCP configuration: ```json { "mcpServers": { "zapcode-figma": { "command": "npx", "args": ["-y", "zapcode-figma-mcp"] } } } ``` ### Zed Editor Add to your Zed settings (MCP support currently in preview): ```json { "context_servers": { "zapcode-figma": { "command": "npx", "args": ["-y", "zapcode-figma-mcp"] } } } ``` ### Continue (VS Code/JetBrains) Add to Continue's configuration: ```json { "mcpServers": { "zapcode-figma": { "command": "npx", "args": ["-y", "zapcode-figma-mcp"] } } } ``` ### GitHub Copilot Add to your GitHub Copilot MCP configuration: ```json { "servers": { "zapcode-figma": { "type": "stdio", "command": "npx", "args": ["-y", "zapcode-figma-mcp"] } } } ``` ## How It Works 1. **Install Plugin** - Add Zapcode plugin to Figma Desktop 2. **Run Plugin** - Launch Zapcode plugin from Figma 3. **Select Frame** - Choose any frame in your Figma design 4. **Ask AI** - Ask AI to bring you the figma context 5. **Get Context** - Receive complete design data and assets ## Troubleshooting ### "Figma plugin is not connected" **Cause**: MCP server cannot reach the Zapcode Figma plugin. **Solution**: 1. Open Figma Desktop App 2. Open your design file 3. Run Zapcode plugin (Plugins → Zapcode) 4. Ensure plugin window stays open 5. Retry connecting using toggle 5. Try the MCP tool again ### Assets Not Saving **Cause**: Permission issues or invalid path. **Solution**: 1. Ensure the assets path exists or parent directory is writable 2. Use absolute paths for clarity 3. Check file permissions on the target directory ## Asset Organization Assets are automatically organized by type: ``` assets/ ├── svg/ │ ├── icon_component.svg │ └── logo.svg ├── png/ │ ├── screenshot_1.png │ └── image_export.png └── jpg/ └── photo.jpg ``` ## Supported Clients This server works with any MCP-compatible client, including: - [Claude Desktop](https://modelcontextprotocol.io/clients#claude-desktop) - Anthropic's desktop application - [Claude Code](https://claude.com/claude-code) - Anthropic's official CLI for Claude - [Cursor](https://www.cursor.com/) - AI-first code editor - [Cline](https://github.com/cline/cline) - Autonomous coding agent for VS Code - [Windsurf](https://codeium.com/windsurf) - AI-powered IDE with MCP Plugin Store - [Zed](https://zed.dev/) - High-performance code editor (MCP in preview) - [Continue](https://continue.dev/) - Open-source IDE extension - [GitHub Copilot](https://github.com/features/copilot) - With MCP support in VS Code ## Links - [NPM Package](https://www.npmjs.com/package/zapcode-figma-mcp) - [Zapcode Figma Plugin](https://www.figma.com/community/plugin/1454956820198178710/zapcode) - [Model Context Protocol](https://modelcontextprotocol.io/) - [MCP Servers Collection](https://github.com/modelcontextprotocol/servers) --- **Sources:** - [Model Context Protocol Official Servers](https://github.com/modelcontextprotocol/servers) - [GitHub MCP Server](https://github.com/github/github-mcp-server) - [MCP Clients Directory](https://github.com/punkpeye/awesome-mcp-clients) - [Official MCP Client Examples](https://modelcontextprotocol.io/clients)

Server Config

{
  "mcpServers": {
    "zapcode-figma": {
      "command": "npx",
      "args": [
        "-y",
        "zapcode-figma-mcp"
      ]
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
DeepChatYour AI Partner on Desktop
ChatWiseThe second fastest AI chatbot™
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Serper MCP ServerA Serper MCP Server
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
WindsurfThe new purpose-built IDE to harness magic
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Amap Maps高德地图官方 MCP Server
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Tavily Mcp
CursorThe AI Code Editor
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code