Use Figma MCP to move between Figma and code so designers and developers can work from shared SGDS context.
Use Figma MCP when you need AI to work with real Figma context, selected frames, or live UI captures. Use Figma Make when you want to explore interface ideas from prompts before refining them with SGDS guidance.
MCP stands for Model Context Protocol. It is a standard way for an AI tool to connect to another tool and use live information from it.
Figma MCP gives AI tools real design context from Figma, including selected frames, components, variables, spacing, and tokens. This helps them produce SGDS-aligned output instead of guessing from screenshots or written descriptions.
Figma MCP supports design-to-code workflows, canvas writing, live UI capture for supported clients, FigJam diagrams, Make resources, and Code Connect context. Pair it with SGDS skills so the AI can use both Figma context and SGDS implementation guidance.
Before Figma MCP
Designers usually handed over screens, notes, and links, while developers or AI tools worked from screenshots and manual explanations. That made it easy for design intent to get lost.
When Figma MCP first arrived
With Figma MCP, AI can access design context directly from selected Figma frames instead of guessing from images. With a design system, it can better map components, variables, and layout context to produce more accurate outputs.
What it can do now
AI can work with richer design context, move between code and Figma, and write directly to the Figma canvas when the MCP client supports it.
To turn Figma designs into SGDS-aligned code, set up the Figma MCP server, SGDS package, and SGDS skills first.
Choose a supported MCP client, such as Codex, Claude Code, Cursor, or VS Code. Follow your client documentation to install and sign in.
Follow Figma's remote MCP server setup guide for your client. Figma recommends the remote server because it connects to Figma files without requiring the Figma desktop app.
Run the following command if the SGDS web component package is not installed:
| npm i @govtechsg/sgds-web-component |
Run the following command to install the skills:
| npx skills add govtechsg/sgds-web-component |
Select all SGDS skills from the list. This pulls the latest SGDS guidance into your local .agents/ directory, where compatible AI tools can read it while generating or reviewing SGDS code.
Use the workflow that matches your starting point.
Start here if you already have screens in Figma and want the AI to help turn them into SGDS-aligned code or implementation guidance.
Choose the frame or layer you want the AI to work from. If you use the remote MCP server, copy the Figma link. If you use the desktop MCP server, make sure the Figma desktop app is running.
Give the AI the right Figma context. The method depends on your MCP setup:
Be explicit that you want SGDS components and patterns where possible. Ask the AI to flag anything that does not have a direct SGDS match.
The agent reads the selected Figma frame through MCP, then uses the installed SGDS skills to choose suitable components, utilities, and layout patterns. Review the result before using it in production.
Start here if you want to capture a running page or section in Figma for further design refinement.
Choose the live page, flow, or section you want to bring into Figma. Tell your AI exactly what should be captured, so it can create editable Figma layers from the live UI.
Tell the AI where the captured screen or objects should go in Figma. If you already know the destination, include the relevant Figma link in your prompt. Here are a few ways you can get it:
Be explicit about what you want sent and where it should go. Ask the AI to use SGDS components, tokens, and layout rules where possible, and to flag anything that does not have a direct SGDS match.
Once the screen is in Figma, tidy the file for future design work. Use clear layer names, keep the hierarchy clean, and replace temporary UI with SGDS components where possible. When you are ready to turn it back into code, refer to the Figma to code workflow.
Figma Make is an AI tool for turning prompts, designs, and product context into functional prototypes. You can start from an existing design, prompt changes, edit the output, and bring the result back into Figma Design as editable layers.
SGDS intends to build a Make kit for SGDS workflows. A Make kit gives Figma Make design system context, such as npm package references, published Figma library styles and variables, and guidelines for how components, tokens, and patterns should be used.
This work is in progress. You can expect the SGDS Make Kit to help Figma Make start from SGDS components and tokens, follow SGDS usage guidance, and produce prototypes that are easier to review before implementation.
The Singapore Government Design System was developed to empower teams in creating fast, accessible and mobile-friendly digital services.