Who can use this feature
Requires a Dev or Full seat and the Figma for Government desktop app
Figma for Government supports the Figma MCP server through the Figma for Government desktop app. The server runs locally on your computer, so your AI application connects to Figma through the desktop app.
Caution: MCP services for Figma for Government aren’t included in Figma’s FedRAMP audit. If you’re evaluating Figma for Government against FedRAMP requirements, account for this.
1. Turn on the MCP server
- Open the Figma for Government desktop app and make sure it’s up to date.
- Open a Figma Design file.
- With nothing selected, switch to Dev Mode with the toggle in the toolbar, or press Shift D.
- In the MCP server section of the right sidebar, click Enable desktop MCP server.
A confirmation message appears at the bottom of the screen. The server runs at http://127.0.0.1:3845/mcp.
2. Connect your application
Follow the desktop server steps in your application’s setup guide:
For another application, add this configuration, then restart the server in your application:
{
"mcpServers": {
"figma-desktop": {
"url": "http://127.0.0.1:3845/mcp"
}
}
}Keep the Figma for Government desktop app open, with a Design file open, while you use the connection.
3. Try your first prompt
Select a small frame in the desktop app, then enter this prompt in your application:
Use the Figma MCP server to describe the layout, components, and colors in my current selection. Don't change the file or generate code.
The response should mention sections, components, and colors you can see in the frame. You can also right-click a frame or layer, select Copy link to selection, and paste the link into your prompt.
For more prompts, see Tools and example prompts. Only the tools listed below are available on Figma for Government.
Available tools and features
Available tools: get_screenshot, get_design_context, get_metadata, get_figjam, get_variable_defs, get_code_connect_map, add_code_connect_map, create_design_system_rules
Not available: writing to the canvas (use_figma), capturing live UI (generate_figma_design), the Code Connect UI (the Code Connect CLI is supported), and skills.
Change MCP server settings
In the MCP server section of the Dev Mode sidebar, click Open settings modal:
- Image settings: Choose Local server to return localhost links to images, or Download assets to save image assets into your project.
- Enable Code Connect: Include Code Connect mappings in responses, so generated code reuses components from your codebase.
Get help
- Tools aren’t loading: Check that the desktop app is open with a Design file open and the MCP server turned on, then restart your application. See Troubleshooting.
- Access errors or usage limits: Access and rate limits
If you still need help, ask Fig, our support chatbot. You can also contact Figma support.