---
sourceDocument: Brazil Enable AI
sourceDocumentLink: https://www.servicenow.com/docs/r/intelligent-experiences

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Enable AI

ft:clusterId :

    - platai

bundleId :

    - platai

workflow :

    - Platform


---

# Connect agents

# Connecting agents through AI Gateway {#ariaid-title1}

Release version: Brazil  
Updated October 23, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read  
Register the clients that can connect to an approved MCP server, and then configure agents to call the server through its AI Gateway MCP server URL.

## Overview of connecting agents {#ai-gw-connecting-agents__cf-using-parent-workflow}

An agent connects to an MCP server through AI Gateway in two stages:

1. An AI steward registers a client for the server, which gives the agent platform its OAuth credentials.
2. The agent owner configures the agent with the server's AI Gateway connection details and the client's credentials.

{#ai-gw-connecting-agents__ol_ai-gw-connecting-agents}

Before you start, the MCP server must be in the inventory and approved:

* To add the server to the inventory, see [Add an MCP server from AI Agent Studio](https://www.servicenow.com/docs/aiYa3x7U3dZrWOMxpNOpzg "When you add an MCP server in AI Agent Studio, it's automatically discovered and synced to AI Control Tower."), [Add an MCP server from MCP Catalog](https://www.servicenow.com/docs/bQlWXkWKqrao7Ol9Uz25Zw "Add an MCP server from the MCP Catalog via AI Gateway."), or [Add an MCP server from AI Control Tower](https://www.servicenow.com/docs/wyjh441HDBvenfOHSORP5w "Add an MCP server manually from AI Control Tower."). For an overview of the ways to add a server, see [MCP server setup](https://www.servicenow.com/docs/OS7UyVVBahnswQii1gnMHQ "Explore the complete MCP server setup process in configuring and introducing MCP servers via AI Gateway.").
* To approve the server, see [MCP server approval playbook workflow](https://www.servicenow.com/docs/hPa4Wm1KeuynX~H66V~Ixg "After you register and manage an MCP server, the AI steward moves it through the onboarding lifecycle before agents can use it."). When the server is approved, the record's header shows Deployed \& Approved. Until then, the record's AI Gateway tab shows that the server hasn't been approved.
{#ai-gw-connecting-agents__ul_ai-gw-connecting-agents-prereqs}

## Register a client {#ai-gw-connecting-agents__ai-gw-connecting-agents-register-a-client}

You register clients on the server's record. In AI Control Tower, navigate to InventoryAssetsMCP servers, select the server name, select the AI Gateway tab, and then select the Setup sub-tab. The CIMD and MCP client integration panel lists the clients
registered for the server. If the server has more than one variant, select the variant from the list first. Select Add client, and then choose the client type. MCP client is selected by
default.

Choose the client type based on the agent platform:  
{#ai-gw-connecting-agents__table_ai-gw-connecting-agents-client-types__entry__4}

| Client type | Use it for | What you provide | Details |
|-|-|-|-|
| CIMD client | Clients that publish a Client ID Metadata Document. Supported for VS Code. | The URL of the client's metadata document, as the client ID. After you select Validate, you set the sync mode, redirect URLs, logo URL, and security controls, and AI Gateway creates the OAuth client. | [Add a CIMD client](https://www.servicenow.com/docs/KnbZ829XRqEkIjVZwWLRIQ "Add a CIMD client that connects to MCP servers through AI Gateway.") |
| MCP client | All other platforms, such as AI Agent Studio, Postman, Claude Desktop, and Microsoft Copilot Studio. | A client name, which must be unique on the instance, and optionally a redirect URL. | [Add an MCP client](https://www.servicenow.com/docs/UqnLYxpSKo2hMGA0Jqd7AA "Add an MCP client that connects to MCP servers through AI Gateway.") |
[Table 1. Client types]

{#ai-gw-connecting-agents__table_ai-gw-connecting-agents-client-types}

To change a registered client, select its name, or select Edit from the actions menu on its row. For details, see [Edit a registered client](https://www.servicenow.com/docs/Wac8u4OsWmBGNKquyYZSiw "Update the configuration of a registered client (MCP or CIMD) in an MCP server record."). To remove a client, select Delete from the actions menu on its row, and then select Delete in the confirmation dialog. You can't undo a deletion.
For an overview of client registration, see [Client registration and AI Gateway setup](https://www.servicenow.com/docs/MBFrByx7Eh~T1QQ4td8hNw "Once an MCP server has been managed and approved, register the clients that will connect to it via AI Gateway.").

When access management is on for the server, a registered client is authorized to use only the tools that its client access policies grant through AI Gateway. For details, see [Controlling which tools clients can access](https://www.servicenow.com/docs/vdbnwpXstkbsfKFUA2BcLQ "Limit each client to the MCP server tools that it requires by turning on access management for the server and creating client access policies.").

## Connect the agent {#ai-gw-connecting-agents__ai-gw-connecting-agents-connect-the-agent}

How you connect an agent depends on where the agent runs and how the MCP server was registered:  
{#ai-gw-connecting-agents__table_ai-gw-connecting-agents-scenarios__entry__3}

| If | Then | Details |
|-|-|-|
| An AI Agent Studio agent already uses the MCP server directly | Update the agent's MCP server tool to use the AI Gateway connection details and the client's credentials. | [Register via AI Agent Studio](https://www.servicenow.com/docs/hUCQB~ilzIDdRZfutvfNnQ "Registering MCP servers via AI Agent Studio.") |
| The MCP server was added in AI Control Tower, and the agent runs in AI Agent Studio | Register the server in AI Agent Studio, and then add it to the agent as a tool. | [Register an MCP server via AI Control Tower](https://www.servicenow.com/docs/lVv~oQTQdCem~5XBSq9Ayw "When MCP Servers are registered through AI Control Tower, connecting them to an agent happens in two steps: first register the server at the instance level in AI Agent Studio, then add it as a tool within the specific agent.") |
| The agent runs on an external platform, such as Microsoft Copilot Studio, Google Gemini, or Amazon Bedrock | Set the AI Gateway MCP server URL as the agent's MCP server endpoint, and use the registered client's credentials. For the steps, see the platform's documentation. | [Configure agents to use MCP servers](https://www.servicenow.com/docs/WWr_cSbehv3tOVh7UfjEpg "After client registration is complete, configure your AI agents to connect to MCP servers through AI Gateway.") |
[Table 2. Ways to connect an agent]

{#ai-gw-connecting-agents__table_ai-gw-connecting-agents-scenarios}

## Connection details {#ai-gw-connecting-agents__ai-gw-connecting-agents-connection-details}

The AI Gateway MCP server details panel on the Setup sub-tab shows the details that agents use. The same panel also appears on the record's Overview tab.
If
the server has more than one variant, the panel shows the details for the variant selected in the CIMD and MCP client integration panel. Select the copy icon next to a URL to copy it.  
{#ai-gw-connecting-agents__table_ai-gw-connecting-agents__entry__2}

| Field | Description |
|-|-|
| AI Gateway MCP server URL | The URL that agents call instead of the MCP server's own URL, for example `https://<instance>.service-now.com/sncapps/awh/<mcp-server>/mcp`. |
| Authorization endpoint URL | The OAuth authorization endpoint, `https://<instance>.service-now.com/mcp_auth.do`. |
| Token endpoint URL | The OAuth token endpoint, `https://<instance>.service-now.com/mcp_token.do`. |
[Table 3. AI Gateway connection details]

{#ai-gw-connecting-agents__table_ai-gw-connecting-agents}

*[\>]: and then


