Figma

Figma

A collaborative interface design tool.

32870VIEWS
1801USERS

Install MCP Server

Paste and run this command in your terminal to set up Cursor with MCP

npx @composio/cli add cursor --app figmanpx @composio/cli add cursor --app figmanpx @composio/cli add cursor --app figmanpx @composio/cli add cursor --app figma

After running the command, restart Cursor to start using the MCP Server.

Available Tools

Add A Comment To A File

Posts a new comment to a figma file or branch, optionally replying to an existing root comment (replies cannot be nested); `region height` and `region width` in `client meta` must be positive if defining a comment region.

Add A Reaction To A Comment

Posts a specified emoji reaction to an existing comment in a figma file or branch, requiring valid file key and comment id.

Create A Webhook

Creates a figma webhook for a `team id` to send post notifications for an `event type` to a publicly accessible https `endpoint`; an initial ping is sent unless `status` is `paused`.

Create Dev Resources

Creates and attaches multiple uniquely-urled development resources to specified figma nodes, up to 10 per node.

Create, Modify, Or Delete Variables

Manages variables, collections, modes, and their values in a figma file via batch create/update/delete operations; use temporary ids to link new related items in one request and ensure `variablemodevalues` match the target variable's `resolvedtype`.

Delete A Comment

Deletes a specific comment from a figma file or branch, provided the authenticated user is the original author of the comment.

Delete A Reaction

Deletes a specific emoji reaction from a comment in a figma file; the user must have originally created the reaction.

Delete A Webhook

Permanently deletes an existing webhook, identified by its unique `webhook id`; this operation is irreversible.

Delete Dev Resource

Deletes a development resource (used to link figma design elements to external developer information like code or tasks) from a specified figma file.

Design Tokens To Tailwind

Convert design tokens to tailwind css configuration. takes the output from extractdesigntokens and generates: - tailwind.config.ts/js with theme extensions - optional globals.css with font imports note: shadow colors can be provided in either string format (e.g., "rgba(15, 110, 110, 0.32)") or dictionary format (e.g., {"r": 0.059, "g": 0.431, "b": 0.431, "a": 0.32}).

Detect Background

Detect background layers for selected nodes. uses geometric analysis, z-index ordering, and visual properties to identify potential background layers.

Discover Figma Resources

šŸ” smart figma resource discovery - never guess ids again! šŸŽÆ easiest method: just paste any figma url to get all ids: • file urls: https://www.figma.com/file/abc123/design → get file key • design urls: https://www.figma.com/design/abc123/design → get file key • node urls: ...?node-id=123:456 → get file key + node id • team urls: .../team/123456/... → get team id šŸ”„ step-by-step discovery: 1. team id → projects list (with project ids) 2. project id → files list (with file keys + thumbnails) 3. file key → nodes list (with node ids + hierarchy) šŸ’” common workflows: • extract from url: discoverfigmaresources(figma url="...") • browse team: discoverfigmaresources(team id="123") • list files: discoverfigmaresources(project id="proj 456") • find nodes: discoverfigmaresources(file key="abc123") ✨ get file key for getfilejson, node ids for detectbackground, etc.

Download Figma Images

Download images from figma file nodes. renders specified nodes as images and downloads them using mercury's filedownloadable infrastructure. supports png, svg, jpg, and pdf formats.

Extract Design Tokens

Extract design tokens from figma files. combines styles, variables, and extracted values to create a comprehensive design token system.

Extract Prototype Interactions

Extract prototype interactions and animations from figma files. analyzes the prototype data to extract: - user interactions (clicks, hovers, etc.) - transition animations - component variant states - user flows and navigation

Get Activity Logs

Retrieves activity log events from figma, allowing filtering by event types, time range, and pagination.

Get A Webhook

Retrieves detailed information about a specific webhook by its id, provided the webhook exists and is accessible to the user.

Get Comments In A File

Retrieves all comments from an existing figma file, identified by a valid `file key`, returning details like content, author, position, and reactions, with an option for markdown formatted content.

Get Component

Get component data with automatic simplification. returns clean, ai-friendly component structure.

Get Component Set

Retrieves detailed metadata for a specific published figma component set using its unique `key`.

20 actions available