Get figma design

Read a Figma file or one of its nodes as structured text when importing a design into a project; returns YAML design data, cut with a note when it is over 100,000 characters, or the frame list to choose from for a section with several frames. Requires project.read.

Arguments

  • project_referencestring

    Project ID or slug

  • figma_urlstringrequired

    Figma file URL or file key (e.g., "https://www.figma.com/design/ABC123/...")

  • node_idstring

    Specific node/frame ID (overrides node-id from URL)

  • depthnumber

    Max tree depth to traverse (default: 10 for specific nodes, 2 for full files)

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__get_figma_design",    "arguments": {      "figma_url": "string"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"content\":[{\"type\":\"text\",\"text\":\"string\"}]}"      }    ],    "structuredContent": {      "content": [        {          "type": "text",          "text": "string"        }      ]    }  }}

The tool ran; its output is result.structuredContent.