Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| FIGMA_FILE | Yes | Your Figma file ID (from the URL) | |
| FIGMA_TOKEN | Yes | Your Figma access token | |
| PROJECT_DIR | Yes | Where to generate the components |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| extract-components | Extract all components from Figma file and get all graphql queries and mutations |
| extract-latest-components | Extract newly added components from Figma file |
| extract-one-component | Extract a single component from Figma file |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |