Skip to content

Attempting to access file's protoype information #144

Description

@tsargent

I am attempting to access information about a file's prototype, which includes an arrow the shows a flow from one screen to another. In the Figma file API response, I can get this information, but it looks like it is filtered out in the MCP due to the simplifiedResponse. Is this designed this way on purpose? Would you accept a PR that allows this data to come through with the MCP?

My quick hackey approach to get the data is here: https://github.com/GLips/Figma-Context-MCP/compare/main...tsargent:Figma-Context-MCP:allow-all-data?expand=1

Maybe we could pass a flag to allow the raw JSON?

For example, if I use the MCP as it currently is, Copilot will give me this information about a file:

Image

But if I modify it to just pass through the entire file response, I can get this, which can be very useful for constructing flows:

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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