Configure an AI agent as an MCP tool
Enable an AI agent to be discoverable and accessible as an MCP tool by configuring authentication, communication mode, and third-party access settings.
Before you begin
You must have access to AI Agent Studio and permission to configure authentication settings.
Role required: admin
Procedure
-
Make sure the ITSM MCP Server is activated.
For information on activating the ITSM MCP Server, see Activate the ITSM MCP Server.
-
Authenticate the ITSM MCP Server with your ServiceNow instance.
- See the Connecting to an MCP server from an MCP client to set up the OAuth and connect to the ITSM MCP Server.
- In the authentication scope field, select a2aauthscope. This enables the REST A2A protocol to access your AI agent MCP tools.
-
Configure the communication mode for external AI agents in AI Agent Studio.
-
Navigate to AI Agent Studio > Settings.
-
In the left panel, select Discoverability.
-
Enable the communication mode options and set the communication mode to Synchronous.
For more information on the communication modes, see Integrate external AI agents.
-
-
Enable third-party access on the AI agent definition.
In AI Agent Studio, open the AI agent and navigate to the Define the specialty screen. Enable the toggle for Allow third party access to this AI agent.
Note: To make modifications to the record such as allowing third party to access the AI agent, see Duplicate an AI agent. You must also update the agent sys_id in the corresponding tool input of the MCP tool.
[Omitted image "itsm-mcp-server-allow-third-party-access.png"] Alt text: Allow third party to access this AI agent toggle set to enabled.
What to do next
After completing these steps, the AI agent is discoverable as an MCP tool and can be used by external systems and workflows.
Related topics
---
title: Configure an AI agent as an MCP tool
description: Enable an AI agent to be discoverable and accessible as an MCP tool by configuring authentication, communication mode, and third-party access settings.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/it-service-management/configure-ai-agent-as-mcp-tool.html
release: brazil
topic_type: task
last_updated: "2026-09-21"
reading_time_minutes: 1
keywords: [AI agent, MCP tool, configuration, authentication]
breadcrumb: [Activate the ITSM MCP Server, ITSM MCP Server, IT Service Management]
---
# Configure an AI agent as an MCP tool
Enable an AI agent to be discoverable and accessible as an MCP tool by configuring authentication, communication mode, and third-party access settings.
## Before you begin
You must have access to AI Agent Studio and permission to configure authentication settings.
Role required: admin
## Procedure
1. Make sure the ITSM MCP Server is activated.
For information on activating the ITSM MCP Server, see [Activate the ITSM MCP Server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-service-management/set-up-itsm-mcp-server.md).
2. Authenticate the ITSM MCP Server with your ServiceNow instance.
- See the [Connecting to an MCP server from an MCP client](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/intelligent-experiences/connect-mcp-server-client.md) to set up the OAuth and connect to the ITSM MCP Server.
- In the authentication scope field, select **a2aauthscope**. This enables the REST A2A protocol to access your AI agent MCP tools.
3. Configure the communication mode for external AI agents in AI Agent Studio.
1. Navigate to **AI Agent Studio** > **Settings**.
2. In the left panel, select **Discoverability**.
3. Enable the communication mode options and set the communication mode to **Synchronous**.
For more information on the communication modes, see [Integrate external AI agents](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/intelligent-experiences/integrate-external-aia.md).
4. Enable third-party access on the AI agent definition.
In AI Agent Studio, open the AI agent and navigate to the **Define the specialty** screen. Enable the toggle for **Allow third party access to this AI agent**.
**Note:** To make modifications to the record such as allowing third party to access the AI agent, see [Duplicate an AI agent](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/intelligent-experiences/clone-ai-agent.md). You must also update the agent sys\_id in the corresponding tool input of the MCP tool.
\[Omitted image "itsm-mcp-server-allow-third-party-access.png"\] Alt text: Allow third party to access this AI agent toggle set to enabled.
## What to do next
After completing these steps, the AI agent is discoverable as an MCP tool and can be used by external systems and workflows.
**Related topics**
[Configure an MCP client to connect to an MCP server](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/intelligent-experiences/configure-client-connect-server.md)
| title | Configure an AI agent as an MCP tool |
| description | Enable an AI agent to be discoverable and accessible as an MCP tool by configuring authentication, communication mode, and third-party access settings. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/it-service-management/configure-ai-agent-as-mcp-tool.html |
| release | brazil |
| topic_type | task |
| last_updated | 2026-09-21 |
| reading_time_minutes | 1 |
| keywords | AI agentMCP toolconfigurationauthentication |
| breadcrumb | Activate the ITSM MCP ServerITSM MCP ServerIT Service Management |