Figma To Code MCP
by felixAnhalt
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Alternative port environment variable (default: 3333) | |
| FIGMA_API_KEY | Yes | Figma API key (required) | |
| OUTPUT_FORMAT | No | Output format (yaml or json, default: yaml) | |
| FIGMA_OAUTH_TOKEN | No | Figma OAuth token (optional) | |
| FIGMA_MCP_CACHE_PATH | No | Path to cache file or directory (default: temp cache file) | |
| FIGMA_SVG_OUTPUT_DIR | No | Directory to store SVG output (default: temp dir) | |
| SKIP_IMAGE_DOWNLOADS | No | Set to 'true' to skip image downloads (default: false) | |
| FIGMA_MCP_CACHE_TTL_MS | No | Cache TTL in milliseconds (default: 7 days) | |
| FIGMA_TO_CODE_MCP_HOST | No | Host for the server (default: 127.0.0.1) | |
| FIGMA_TO_CODE_MCP_PORT | No | Port for the server (default: 3333) | |
| FIGMA_MCP_REFRESH_CACHE | No | Set to '1' to force cache refresh on startup | |
| FIGMA_LIBRARY_VARIABLE_PREFETCH_FILE_KEYS | No | Comma-separated Figma library file keys for prefetching variables |
Capabilities
Server capabilities have not been inspected yet.
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
No tools | |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/felixAnhalt/figma-to-code-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server