Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
FIGMA_TOKEN | Yes | Your Figma access token (starts with 'figd_') |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
No resources |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
get_figma_image | 根据Figma URL获取节点的图片 |
get_figma_styles | 根据Figma URL获取节点的样式数据 |
export_multiple_images | 批量导出多个节点的图片 |
get_file_info | 获取Figma文件的基本信息 |
get_node_images | 获取节点中的所有图片资源 |
get_node_svg | 获取节点的SVG数据 |
extract_node_elements | 提取节点中的所有设计元素(图片、矢量、组件) |