Back to Home
oO icon

figma-mcp-write-server

by oO

Overview

Enables AI agents to programmatically create, modify, and manage design elements and properties within Figma via the Model Context Protocol (MCP).

Installation

Run Command
node dist/index.js

Security Notes

The server uses `corsOrigin: '*'` for its WebSocket connection, which is a major security vulnerability if the server is exposed beyond localhost, as it allows cross-origin requests from any domain. While intended for local client-plugin communication, this wide-open setting should ideally be restricted to known origins or 'localhost'. The server also executes `child_process.exec` commands (e.g., `lsof`, `ps`, `kill -9`) for port management and zombie process cleanup, which, while justified in context, introduce a reliance on shell execution. Furthermore, image and export handlers allow reading from and writing to the local filesystem (e.g., `outputDirectory`, `source` paths) with `path.resolve`, but without explicit sanitization against directory traversal (e.g., `../../../etc/passwd`), posing a risk for arbitrary file system access/manipulation if a malicious input path is provided.

Similar Servers

Stats

Interest Score39
Security Score4
Cost ClassMedium
Avg Tokens1000
Stars13
Forks1
Last Update2025-11-25

Tags

FigmaDesign AutomationAI AgentMCPNode.js Server