Skip to main content
Question

Can't get code connect map info from Figma Remote MCP server

  • December 9, 2025
  • 2 replies
  • 40 views

cordTan

I've set up Code Connect CLI in Figma to create mappings between Figma components and my component library. The mapping works correctly when accessed through the local MCP server - I can retrieve all the component mapping information as expected. However, when I switch to using the remote MCP server, the same request returns only an empty object {} instead of the mapping data.

2 replies

cordTan
  • Author
  • New Member
  • December 19, 2025

I've made some progress on this issue. After publishing my component library as a published library in Figma, the get_code_connect_map tool now works correctly on the remote MCP server and returns the expected mapping data.

  However, I'm still encountering an issue with get_design_context - it does not include any Code Connect information in its response, even though get_code_connect_map successfully retrieves the mappings for the same node.

  To summarize:
  - get_code_connect_map → ✅ Works correctly after using published library
  - get_design_context → ❌ Still returns no Code Connect information

  Is this expected behavior? I assumed that get_design_context would also leverage the Code Connect mappings to provide component information in its response. Could someone clarify whether Code Connect data should be included in get_design_context output, or if these two tools serve different purposes?

  Any guidance would be appreciated. Thanks!


djv
Figmate
  • Community Support
  • December 24, 2025

Hi ​@cordTan, thanks for reaching out and apologies for the delayed reply! 

We were experiencing a service disruption with get_design_context right around the time you posted this topic. Have you refreshed your tabs recently? And are you still experiencing the same issue since? 

Please let us know if you are, and we can flag this over to the MCP team to investigate further.