MCP Gateway · Catalog
Figma MCP server
OfficialFigma MCP is the official Model Context Protocol server for Figma, with OAuth and tools that let agents pull design context, screenshots, and variables from files, generate designs and diagrams, and work with Code Connect. Connect it through the Speakeasy MCP Gateway and agents such as Claude, Cursor, and ChatGPT get one governed URL for it, with SSO, RBAC, and a full audit trail.
- Category
- Design
- Tools
- 17
- Authentication
- OAuth
- Connects through
- Speakeasy MCP Gateway
Behind the MCP Gateway
Run Figma MCP behind the MCP Gateway
One URL for every agent, sign-in through your IdP, RBAC down to the tool, and every Figma call inspected and logged.
Connect from your AI client
Use Figma in the clients your teams already use
Setup steps and the controls Speakeasy applies, for each client.
Tools
17 tools
Each tool below can be allowed or denied per team and role at the MCP Gateway, and every call is inspected and logged.
get_screenshot
Generate a screenshot for a given node or the currently selected node in the Figma desktop app. Use the nodeId parameter to specify a node id. nodeId parameter is REQUIRED. Use the fileKey parameter to specify the file key. fileKey parameter is REQUIRED.
create_design_system_rules
Provides a prompt to generate design system rules for this repo.
get_design_context
Get design context for a Figma node — the primary tool for design-to-code workflows. Returns reference code, a screenshot, and contextual metadata that should be adapted to the target project. See the server instructions for how to interpret and adapt the response.
get_metadata
IMPORTANT: Always prefer to use get_design_context tool. Get metadata for a node or page in the Figma desktop app in XML format. Useful only for getting an overview of the structure, it only includes node IDs, layer types, names, positions and sizes.
get_variable_defs
Get variable definitions for a given node id. g. {'icon/default/secondary': #949494}Variables are reusable values that can be applied to all kinds of design properties, such as fonts, colors, sizes and spacings. Use the nodeId parameter to specify a node id.
get_figjam
Generate UI code for a given FigJam node in Figma. Use the nodeId parameter to specify a node id. If no node id is provided, use 0:1 which is the root node ID. Use the fileKey parameter to specify the file key.
generate_figma_design
Capture, import, or convert a web page (by URL) or HTML into a Figma design. Use this tool when the user wants to send, import, capture, screenshot, or push a webpage to Figma. Works with both local dev servers (localhost) and external websites.
generate_diagram
js. Generated diagrams should be simple, unless a user asks for details. js diagram types. This tool also does not support font changes, or moving individual shapes around -- if a user asks for those changes to an existing diagram, encourage them to open the diagram in Figma.
get_code_connect_map
g. g. g. tsx', codeConnectName: 'Button' } }. Use the nodeId parameter to specify a node id. Use the fileKey parameter to specify the file key. node-id=1-2, the extracted nodeId would be 1:2 and the fileKey would be :fileKey.
whoami
Returns information about the authenticated user. If you are experiencing permission issues with other tools, you can use this tool to get information about who is authenticated and validate the right user is logged in.
add_code_connect_map
Map a Figma node to a code component in your codebase using Code Connect. Use the nodeId parameter to specify a node id. Use the fileKey parameter to specify the file key. node-id=1-2, the extracted nodeId would be 1:2 and the fileKey would be :fileKey.
get_code_connect_suggestions
Get AI-suggested strategy for linking a Figma node to code components via Code Connect. Workflow: call this tool → review suggestions with the user → call send_code_connect_mappings to save the approved mappings.
send_code_connect_mappings
Save multiple Code Connect mappings in bulk. Use after get_code_connect_suggestions to confirm and save approved mappings.
get_context_for_code_connect
Get structured component metadata including properties, variants, and descendant tree for a Figma component or component set. Returns property definitions with types and variant options, and a tree of descendant instances and text nodes with their property references.
use_figma
Run JavaScript in a Figma file via the Plugin API. ). IMPORTANT: If the /figma-use skill is available, load it before calling this tool.
search_design_system
Search for design system assets (components, variables, and styles) based on a text query. Returns matching assets from all design libraries. Use this when you need to find specific components, variables (e.g. colors, spacing tokens), or styles from design libraries.
create_new_file
Create a new blank Figma file in the authenticated user's drafts folder. Use this tool when you need a new file to work with before calling use_figma. Returns the new file key and URL. Requires a planKey. If the user already provided a planKey, use it directly.
Questions