Skip to content

JSON format structure changed - missing style elements and different DOM structure compared to previous versions? #216

@iwhalefed007

Description

@iwhalefed007

Hi there! I've noticed a significant change in the JSON output format from the Figma MCP service over the past few days?

The JSON structure returned by the service has changed dramatically compared to what I was getting about a week ago. The new format is missing many important elements and has a completely different DOM structure.
What changed:
Before (1 week ago): JSON had nodes structure with complete document objects, detailed style properties, absoluteBoundingBox, constraints, effects, interactions, overrides, etc.
Now (recent): JSON uses mainNode structure, missing most detailed properties, only contains basic visual and layout information
Example comparison:

Image

Old format (complete):


{
  "nodes": {
    "2025:16728": {
      "document": {
        "id": "2025:16728",
        "name": "login",
        "type": "FRAME",
        "absoluteBoundingBox": { "x": -1442.0, "y": 17071.0, "width": 375.0, "height": 88.0 },
        "constraints": { "vertical": "TOP", "horizontal": "LEFT" },
        "effects": [...],
        "style": {
          "fontFamily": "SF Pro Text",
          "fontWeight": 700,
          "fontSize": 16.0
        }
      }
    }
  }
}

New format (simplified):

{
  "mainNode": {
    "id": "2025:16728",
    "name": "login",
    "type": "FRAME",
    "dimensions": { "width": 375, "height": 812" }
  }
}

Impact:
This change makes it much harder to implement detailed design-to-code workflows, as we're missing crucial styling and positioning information that was previously available.
Questions:
Is this an intentional change in the API?
Are there different API endpoints or parameters to get the full detailed data?
Is this related to recent Figma API changes?
Can we get the complete data structure back?
Environment:
Service: Figma MCP
Timeframe: Issue appeared in the last 2 days
Previous working version: About 1 week ago
Expected behavior:
Return to the previous detailed JSON format with complete style information, constraints, and DOM structure.

Thanks for looking into this!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions