Skip to content

Conversation

@jottakka
Copy link
Contributor

@jottakka jottakka commented Dec 5, 2025

Adding documentation for Figma's optimized MCP Server:

  • 15 new tools documented
  • Figma Oauth docs also updated.

Closes TOO-193
Closes TOO-194


Note

Adds comprehensive docs and examples for the Figma MCP Server and updates the Figma OAuth provider configuration (scopes, PKCE, endpoints).

  • Docs: Figma MCP Server
    • New page app/en/mcp-servers/development/figma/page.mdx documenting 15 tools (files, components, styles, comments, navigation, user context) with required scopes and behavior hints.
    • Added nav entry figma in app/en/mcp-servers/development/_meta.tsx.
  • Auth Provider Updates (app/en/home/auth-providers/figma/page.mdx)
    • Updated links and references to new Figma REST docs and server path mcp-servers/development/figma.
    • Expanded/renamed scopes (file_content:read, library_*, team_library_*, current_user:read, projects:read with private-app note).
    • Configuration changes: provider id figma, token URL https://api.figma.com/v1/oauth/token, scope delimiter set to space, PKCE (S256) enabled, added refresh_request, request/response content types, and {{scopes}} {{existing_scopes}}.
    • Updated code samples to use provider figma and new scopes.
  • Examples
    • Added JS/Python example calls for all tools under public/examples/integrations/mcp-servers/figma/* demonstrating client.tools.authorize and execute usage.

Written by Cursor Bugbot for commit 5e387fd. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Dec 5, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
docs Ready Ready Preview Comment Dec 5, 2025 6:07pm

3. Configure the required scopes for your application:
- `files:read` - Read access to files
3. Configure the required scopes for your application based on the tools you need:
- `file_content:read` - Read access to file content and structure
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to mention the scopes in two different places? In the future, when this needs to be updated, we risk someone updates the first block of mentions and skip the second. Perhaps we can add a link here referring to the block listing the scopes?

- `files:read` - Read access to files
- `file_comments:write` - Write access to file comments
### File and Content Access
- `file_content:read` - Read access to file structure and content (required for most file operations)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as previous comment about duplicating the list of scopes.


For a complete list of available scopes and their descriptions, refer to the [Figma API documentation](https://www.figma.com/developers/api#authentication).
<Callout type="warning">
The `projects:read` scope is **only available in private Figma OAuth apps**. If you need to access team projects and files, you must create a private OAuth app through your Figma organization.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should have this warning (or link to it) next to the list of scopes.

It'd also be good to have this warning where we document the tools which depend on this scope.

Copy link
Member

@byrro byrro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a few suggestions for consideration, no red flags, pre-approving anyways.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

Your team is on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle for each member of your team.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

- `file_comments:write` - Write access to file comments
- Add other scopes as needed for your use case
- `current_user:read` - Read access to user profile
- `projects:read` - Read access to team projects (private apps only)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Duplicated scopes list creates maintenance risk (Bugbot Rules)

As noted in the PR discussion by @byrro, the OAuth scopes are listed in two separate locations in this documentation file. The first list appears in "Required scopes for the Figma MCP Server" (lines 27-33) and the second appears in "Set up OAuth configuration" (lines 78-86). If these scopes need to be updated in the future, there's a risk that only one location gets updated, leading to inconsistent documentation. Consider consolidating to a single authoritative list with cross-references.

Additional Locations (1)

Fix in Cursor Fix in Web

@jottakka jottakka merged commit 1cbba1f into main Dec 10, 2025
5 checks passed
@jottakka jottakka deleted the francisco/too-194-too-193/update-figmas-docs branch December 10, 2025 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants