Hi all,
I’m using the Figma Desktop Dev Mode MCP server and I’m getting inconsistent output for what looks like identical requests.
Setup
• Figma Desktop: 126.8.16
• OS: mac
• MCP client: Langgraph
What’s happening
Calling get_design_context on the same node with the same parameters:
• sometimes I get code that uses our mapped design system components from Code Connect
• other times I get raw React + Tailwind with the mapping ignored
This varies between calls even within the same session, with no changes to the file or config in between.
Questions
1. Is this expected behavior, or should Code Connect mappings always take precedence when they exist?
2. Are there conditions that determine whether the mapping gets applied — selection scope, whether the node is an instance vs. a frame, caching, etc.?
3. Is there a parameter or setting to force Code Connect output consistently?
