Back to Home
markdojo icon

figma-console-mcp

by markdojo

Overview

Connects AI assistants to Figma for real-time console access, visual debugging, design system extraction, and design creation/variable management, primarily in local development environments.

Installation

Run Command
node /absolute/path/to/figma-console-mcp/dist/local.js

Environment Variables

  • FIGMA_ACCESS_TOKEN
  • FIGMA_OAUTH_CLIENT_ID
  • FIGMA_OAUTH_CLIENT_SECRET
  • LOG_LEVEL
  • FIGMA_MCP_MODE
  • FIGMA_DEBUG_HOST
  • FIGMA_DEBUG_PORT

Security Notes

The `figma_execute` tool allows arbitrary JavaScript code execution within the powerful Figma Plugin API context, presenting a significant risk if the AI is compromised or misused. The default configuration for Puppeteer (`src/core/config.ts`) uses the `--no-sandbox` argument, which is explicitly warned against for untrusted environments. While OAuth is implemented for Cloudflare mode, local mode relies on a direct Figma Desktop connection, which requires specific manual setup. The 'Desktop Bridge' plugin, a core component, has `networkAccess: allowedDomains: ["none"]`, which is a good security practice for the plugin itself by preventing external network requests. Overall, running this project requires a high degree of trust in the AI's generated code and a securely configured local execution environment.

Similar Servers

Stats

Interest Score0
Security Score5
Cost ClassMedium
Avg Tokens7000
Stars0
Forks0
Last Update2026-01-17

Tags

FigmaAIDebuggingDesign SystemUI AutomationMCPLocal Development