Connect Build Agent to a Figma MCP server
Connect the Figma Model Context Protocol Server Console (MCP) server to Build Agent to convert Figma designs into enterprise-grade applications on the ServiceNow AI Platform.
Before you begin
Role required: admin
About this task
Connecting the Figma MCP server to Build Agent enables Build Agent to access design data from Figma files. The connection helps Build Agent interpret the design intent and create applications that match the design.
Visit the Figma Developer Portal to connect the Figma MCP server to Build Agent. Create an OAuth app to obtain your Client ID and Client Secret. Then, configure ServiceNow Studio or the ServiceNow IDE to handle the OAuth process using the credentials.
- For more information on Build Agent and the Figma MCP server, see MCP connections and Build Agent.
- For details on connecting to other supported MCP servers, see Connect Build Agent to a supported MCP server.
Procedure
Configure an OAuth app in Figma
Create an OAuth application in Figma to enable the Figma MCP server to authenticate users via OAuth and grant Build Agent access to Figma designs.
Before you begin
You must have a Dev or Full seat on a Figma Pro, Org, or Enterprise plan.
Role required: admin
About this task
The Figma MCP (Model Context Protocol) server uses OAuth for authentication and makes the Figma design data accessible to Build Agent after installation. To connect the Figma MCP server with Build Agent, you must create an OAuth app in Figma, which generates a Client ID and Client Secret. The ServiceNow AI Platform uses those credentials to initiate the OAuth process and authenticate users with their Figma accounts.
Procedure
-
Create an OAuth application in Figma to obtain the Client ID and Client Secret.
-
Configure and publish the OAuth App in Figma.
Configure OAuth provider in ServiceNow Studio
Set up an OAuth application registry and credentials to enable Build Agent in ServiceNow Studio or the ServiceNow IDE to connect to your Figma MCP server.
Before you begin
Role required: admin
Procedure
-
Create an Application Registry record.
-
Define the OAuth scope.
-
Configure the OAuth entity profile.
Result
The default profile is connected to the MCP scope.
Connect Figma MCP server to Build Agent
Connect the Figma Model Context Protocol (MCP) server to Build Agent in ServiceNow Studio to make Figma designs accessible for application creation.
Before you begin
Navigate to to verify that the OAuth app is created and configured on Figma. For configuration steps, see Configure an OAuth app in Figma and Configure OAuth provider in ServiceNow Studio.
Role required: admin
About this task
After the OAuth connection is set up between your ServiceNow instance and Figma, you can link Build Agent to your Figma account to begin using the Figma MCP Server.
Procedure
Result
You can interact with the Figma MCP server using natural language through Build Agent.
For example, enter a prompt like Create a UI page and build <figma link>. Build Agent retrieves the design context from Figma and creates an application that matches the design.
To better organize your Figma files, refer to Structure your Figma file for better coding and Write effective prompts to guide the AI.
| Issue | Description | Solution |
|---|---|---|
| Unauthorized access error | The MCP server can become inactive, resulting in an unauthorized access error when Figma rejects the token created after completing the OAuth flow. |
|