MCP Recipe
Implement UI from Figma with Figma and Context7
Influzer starter recipe: read a Figma frame for layout and tokens, then use Context7 for current framework docs so the agent implements against the real component API — not training-data guesses.
MCP servers used
Compatible clients (author-reported, not verified by Influzer): Cursor, Claude Desktop, Claude Code, ChatGPT
Prerequisites
- Figma remote MCP access and a file you can open
- Context7 remote MCP access
- Agreement on framework (e.g. React + Tailwind) and target file paths
Required permissions
Figma OAuth reads design files you authorize. Context7 reads public library docs. Do not paste design-system secrets or private tokens into prompts.
Setup
Add Figma (https://mcp.figma.com/mcp) and Context7 (https://mcp.context7.com/mcp) as remote MCPs. Complete Figma OAuth and open the design file you intend to implement.
{
"mcpServers": {
"figma": {
"url": "https://mcp.figma.com/mcp"
},
"context7": {
"url": "https://mcp.context7.com/mcp"
}
}
}
1) Using Figma MCP, inspect the selected frame (or the node URL I paste) and list sections, key text, spacing, and colors.
2) Using Context7, fetch current React + Tailwind docs relevant to layout and responsive grids.
3) Propose a component tree and implement the first section in TypeScript/React. Prefer Context7 for API shapes; prefer Figma for visual structure. Do not invent design tokens that are not in the file.
Expected result
A component outline mapped to Figma layers, plus starter code that cites Context7 for the framework APIs used.
Sample output
Frame “Pricing / Desktop” → sections Hero, Plans, FAQ.
Tokens: spacing 8/16/24, accent #0F766E.
Proposed PricingCard.tsx using Tailwind grid / gap-6 per current docs…
Troubleshooting
- Figma tools missing: reconnect
https://mcp.figma.com/mcpand re-authorize the file - Wrong frame: paste the Figma node URL / node id in the prompt
- Context7 misses a library: use the canonical package name (
react,tailwindcss,next)