HUB
Sign inSign up

mcpcommunity/1yhy-figma-context-mcp

By mcpcommunity

•Updated over 1 year ago

Image
Machine learning & AI
0

2.4K

mcpcommunity/1yhy-figma-context-mcp repository overview

⁠1yhy-figma-context-mcp MCP Server

What is an MCP Server?⁠

⁠Characteristics

AttributeDetails
Image SourceCommunity Image
Author1yhy⁠
Repositoryhttps://github.com/1yhy/Figma-Context-MCP⁠
Dockerfilehttps://github.com/1yhy/Figma-Context-MCP/blob/main/Dockerfile⁠
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
LicenceMIT License

⁠Available Tools

Tools provided by this ServerShort Description
download_figma_imagesDownload SVG and PNG images used in a Figma file based on the IDs of image or icon nodes
get_figma_dataWhen the nodeId cannot be obtained, obtain the layout information about the entire Figma file

⁠Tools Details

⁠Tool: download_figma_images

Download SVG and PNG images used in a Figma file based on the IDs of image or icon nodes

ParametersTypeDescription
fileKeystringThe key of the Figma file containing the node
localPathstringThe absolute path to the directory where images are stored in the project. Automatically creates directories if needed.
nodesarrayThe nodes to fetch as images

⁠Tool: get_figma_data

When the nodeId cannot be obtained, obtain the layout information about the entire Figma file

ParametersTypeDescription
fileKeystringThe key of the Figma file to fetch, often found in a provided URL like figma.com/(file
depthnumber optionalHow many levels deep to traverse the node tree, only use if explicitly requested by the user
nodeIdstring optionalThe ID of the node to fetch, often found as URL parameter node-id=, always use if provided

⁠Use this MCP Server

{
  "mcpServers": {
    "1yhy-figma-context-mcp": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "FIGMA_API_KEY",
        "mcpcommunity/1yhy-figma-context-mcp"
      ],
      "env": {
        "FIGMA_API_KEY": "YOUR_FIGMA_API_KEY"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?⁠

Tag summary

Content type

Image

Digest

sha256:54b1bcf43…

Size

94.9 MB

Last updated

over 1 year ago

docker pull mcpcommunity/1yhy-figma-context-mcp