figma_mcp_server_actor
Verified Safeby oabolade
Overview
Enables AI assistants to interact with Figma designs and projects using natural language commands via the Model Context Protocol.
Installation
apify runEnvironment Variables
- FIGMA_ACCESS_TOKEN
Security Notes
The server implements the Model Context Protocol (MCP) JSON-RPC 2.0 specification, securely wrapping Figma API calls. It uses a `switch` statement to map incoming MCP methods to specific internal functions, preventing arbitrary method invocation. Input parameters for tools are validated via JSON schemas, reducing the risk of injection vulnerabilities. Authentication relies on a Figma Personal Access Token (PAT) provided as an environment variable or input, which is a standard and secure practice for API keys. It explicitly checks for authentication and throws an error if missing. Cross-Origin Resource Sharing (CORS) is set to allow all origins (`Access-Control-Allow-Origin: *`), which is common for public APIs but means requests can be made from any web domain. There are no obvious signs of 'eval', obfuscation, or direct command injection in the provided code snippets. The server leverages caching for GET requests, enhancing performance without introducing security risks. OAuth 2.0 support is planned but not fully implemented, so PAT is the current sensitive secret to manage.
Similar Servers
apify-mcp-server
Enables AI agents (LLMs) to interact with the Apify platform, allowing for web scraping, data extraction, and task automation via Apify Actors, data storage, and documentation search.
f2c-mcp
A Model Context Protocol server for Figma Design to Code, enabling AI tools to convert Figma designs into production-ready frontend code.
figma-console-mcp
Provides AI assistants with real-time console access, visual debugging, design system extraction, and design creation capabilities for Figma.
fastify-mcp-server
A Fastify plugin providing a streamable HTTP transport for the Model Context Protocol (MCP), enabling AI assistants to interact with services.