Skip to main content
Glama
felixAnhalt

Figma To Code MCP

by felixAnhalt

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoAlternative port environment variable (default: 3333)
FIGMA_API_KEYYesFigma API key (required)
OUTPUT_FORMATNoOutput format (yaml or json, default: yaml)
FIGMA_OAUTH_TOKENNoFigma OAuth token (optional)
FIGMA_MCP_CACHE_PATHNoPath to cache file or directory (default: temp cache file)
FIGMA_SVG_OUTPUT_DIRNoDirectory to store SVG output (default: temp dir)
SKIP_IMAGE_DOWNLOADSNoSet to 'true' to skip image downloads (default: false)
FIGMA_MCP_CACHE_TTL_MSNoCache TTL in milliseconds (default: 7 days)
FIGMA_TO_CODE_MCP_HOSTNoHost for the server (default: 127.0.0.1)
FIGMA_TO_CODE_MCP_PORTNoPort for the server (default: 3333)
FIGMA_MCP_REFRESH_CACHENoSet to '1' to force cache refresh on startup
FIGMA_LIBRARY_VARIABLE_PREFETCH_FILE_KEYSNoComma-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

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

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