packages/docs/src/routes/(routes)/blueprint/figma/+page.md
In Figma, go to <span class="badge badge-sm font-mono">Settings > Security > Personal Access Tokens > Generate new token</span>.
Required permissions:
Set the Figma API token in the <span class="badge badge-sm font-mono">FIGMA</span> environment variable for the Blueprint MCP server.
"daisyui-blueprint": {
"type": "stdio",
"command": "npx",
"env": {
"LICENSE": "YOUR LICENSE KEY",
"EMAIL": "YOUR EMAIL",
"FIGMA": "YOUR FIGMA API KEY"
}
}
In Figma, right click on a section and choose <span class="badge badge-sm font-mono">Copy/Paste as > Copy link to selection</span>.
In your editor, paste the link and ask the LLM to generate daisyUI code for that design.