XTM Agent in Microsoft Copilot Studio and Microsoft Teams
You can configure XTM Agent in Microsoft Copilot Studio so that you and your team can use it:
in Microsoft Teams, either in a dedicated channel where you converse directly with the agent or in teams and channels with your colleagues. In these conversations, you can ask XTM Agent to check and do certain things for you in your XTM Cloud instance. If you connect the agent to the XTM Online Help, it can also answer your product-related questions. For details, see Using XTM Agent in Microsoft Teams.
in the Agent flows in Microsoft Copilot Studio to create automations that use the XTM Agent. For details, see Using XTM Agent in agent flows.
Prerequisites
Before you start, ensure that you have:
access to Microsoft Copilot Studio in the correct customer environment.
the appropriate XTM MCP server URL.
Note
For the main XTM Cloud instance, the server URL is
https://mcp.xtm.ai/mcp.For any other instance type, contact XTM Support to receive your customer-specific server URL in this format:
https://mcp.xtm.ai/{tenant_slug}/mcp.To request support
Visit our Support Portal.
permission to create and publish Microsoft Copilot Studio agents.
downloaded the
XTM-Copilot-Studio-Customer-Setup.zippackage and extracted theAGENT_INSTRUCTIONSfile from it. To download this package, select this link: XTM-Copilot-Studio-Customer-Setup.zip.Important
You will need this file at a later stage.
Do not upload the
ZIPpackage directly to Microsoft Teams. Follow the procedure below to use the file correctly.
Configuring XTM Agent in Microsoft Copilot Studio and making it available in Microsoft Teams
Create the agent in Microsoft Copilot Studio.
To do so, first open Microsoft Copilot Studio and then follow these steps:
In the navigation panel on the left-hand side, select Agents. Next, in the Agents screen, select the chevron down icon
to the right of the New agent button.
Result: a popup containing two agent types is displayed.
In the popup, select the Agent option in the Optimize your business processes section.
Result: an Untitled Agent screen is displayed.
Important
Do not select the Agent Standard option in the Build using standard orchestration section to configure XTM Agent.

Selecting agent in the Optimize your business processes section in Microsoft Copilot Studio
In the Untitled Agent screen, select the Build tab at the top of the screen and start creating your new agent:
Set the agent name to XTM Agent.
Copy the
AGENT_INSTRUCTIONSfile content (mentioned in the Prerequisites section) and paste the entire content into the Instructions field, displayed below the XTM Agent label.In the panel to the right of the Instructions field:
you can keep the default LLM model selected for your agent in the Model area.
there is no need to set Skills, Connected Agents, or Memory for the XTM Agent.
you will set the XTM MCP Tool in the Tools area as the next step of the procedure. For details, see the Add the XTM MCP Tool to your newly created XTM Agent step below.
you can add a link to the XTM Online Help portal in the Knowledge area so that XTM Agent can answer your product-related questions based on our documentation. This is described at a later stage in this procedure. For details, see Add XTM Documentation to the XTM Agent Knowledge section step below.
Select the save icon
in the top right-hand corner of the screen to save your new agent.Result: your new agent is created. Its name has been changed to XTM Agent.
Add the XTM MCP Tool to your newly created XTM Agent.
To do so, in the XTM Agent screen in Microsoft Copilot Studio, ensure that you work in the Build tab. Then, follow these steps:
In the panel to the right of the Instructions field, select the plus icon
on the right-hand side of the Tools button.
Result: the Add a tool popup is displayed.
In the Add a tool popup, select the
Add button in the top right-hand corner. Then, from the dropdown, select the Model Context Protocol (MCP) option.
Result, the Add MCP server popup is displayed.

Selecting the Model Context Protocol (MCP) option in the Add a tool popup
In the Add MCP server popup, configure the XTM MCP server by entering or selecting these values for the required fields:
Table 4. Configuring the Add MCP server popup fieldsField name
Valid value
Server name
Copy and insert the text below:
XTM MCP
Server description
Copy and insert the text below:
Provides secure access to live XTM Cloud data and actions, including projects, jobs, workflows, metrics, costs, users, linguists, assignments, and system information. Use this tool whenever a request requires current data from the signed-in user’s XTM workspace.
Server URL
Enter
https://mcp.xtm.ai/mcpfor the main XTM Cloud server, or a customer-specific URL that you received from XTM Support. For details, see the Prerequisites section.Authentication
Select the OAuth 2.0 radio button. When you do so, the Configuration type setting is displayed.
Configuration type
Select the Dynamic (with discovery) radio button.
Important
Do not configure OAuth endpoints, scopes, client IDs, secrets, or redirect URLs manually.

Configuring the Add MCP server popup settings
After you have made all required settings, select Add in the bottom right-hand corner of the Add MCP server popup.
Result, the Select a connection popup is displayed. Follow the next step to complete this popup.
Create an MCP Connection.
To do so, follow these steps:
In the Select a connection popup, select the Not connected button to the right of the Connection label. Next, from the dropdown, select Create new connection.
Result: the Creating a connection to use MCP in this flow popup is displayed.

Ccearting a new connection in the Select a connection popup
In the Creating a connection to use MCP in this flow popup, if required, fill in the Display name (optional) field. Next, in the bottom right-hand corner of the popup, select Create.
Result: another popup is displayed, in which you must authenticate yourself.

The Creating a connection to use XTM MCP in this flow popup
Complete the XTM OAuth sign-in to confirm your API access rights.
Go back to the Select a connection popup in the Microsoft Copilot Studio and ensure that your newly created connection has a green status indicator, which means the connection has been established.
If the connection has been successful, select Add in the bottom right-hand corner of the Select a connection popup.
Important
The connection created by you (the agent owner) is used to configure and test the agent.
Each end user must authenticate with their own XTM Cloud account when they first use the XTM MCP tool, unless they already have a valid connection.

Confirmation that the connection was configured in the Select a connection popup
Add XTM Documentation to the XTM Agent Knowledge section.
To do so, in the XTM Agent screen in Microsoft Copilot Studio, ensure that you work in the Build tab. Then, follow these steps:
In the panel to the right of the Instructions field, select the plus icon
on the right-hand side of the Knowledge button.
Result: the Add knowledge popup is displayed.
In the Add knowledge popup, select the Public websites button.
Result: the Add public websites popup is displayed.
In the Add public websites popup:
keep the Search all websites setting disabled.
add this URL to connect your XTM Agent to XTM Online help:
https://help.xtm.ai/
select Add to agent in the bottom right-hand corner of the Add public websites popup.
Important
The connection with XTM Online Help will enable you and your team to ask XTM Agent questions about XTM product documentation, for example, how to create a project or how to use AI Post-Edit feature in a project.
Your current XTM Cloud instance data must always come from the MCP tools.

Adding XTM Online Help to the XTM Agent in the Add public websites popup
Test the XTM Agent to ensure that it has been configured correctly.
To do so, in the XTM Agent screen in Microsoft Copilot Studio, select the Preview tab at the top of the screen. Then, follow these steps:
Start a new chat.
In the chat box, enter this text:
Use XTM to show system information.
If a permission card is displayed, select Allow.
If required, enter your XTM Cloud sign-in details.
A successful response should invoke the
get_system_infoMCP tool and return current information about your XTM Cloud instance.
Testing XTM Agent in the Preview tab
Publish XTM Agent to Microsoft Teams and Microsoft 365.
To do so, in the XTM Agent screen in Microsoft Copilot Studio, select the select the chevron down icon
to the right of the Publish button in the top right-hand corner of the screen. Result: the Publish agent popup is displayed. In it, follow these steps:
On the left-hand side of the popup, select Teams + Microsoft 365 option. Next, select the Save and publish button in the bottom right-hand corner of the popup.
Result: the name of the popup is changed to Agent published.
On the right-hand side of the popup, in the Agent preview section, select the Edit details button. Next, scroll down to the Teams settings section and enable the use of XTM Agent in Microsoft Teams, and then select Save below the checkboxes. These two checkboxes are:
Users can add this agent to a team.
Use this agent for group and meeting chats.

Setting XTM Agent availability in Microsoft Teams
If required, on the right-hand side of the popup, select the Make agent available in Microsoft 365 Copilot checkbox to make the XTM Agent available for you and your team in Microsoft 365 Copilot.
After you have made all required settings, select Publish or Save and publish in the bottom right-hand corner of the popup.
Ensure that the Channel enabled label is displayed in the top right-hand corner of the popup, below the Teams + Microsoft 365 label. It indicates that your agent can now be used in Microsoft Teams and Microsoft 365 Copilot (if you have enabled this option). Now, set XTM Agent's availability. To do so, follow the steps below.

Publishing XTM Agent to Microsoft Teams and Microsoft 365
Make XTM Agent available.
To do so, in the same popup, which is now called Agent published, in the Agent preview section, select the required availability option.

Availability options
Deploying the agent for your personal testing purposes:
To do so, in the Agent preview section, select See agent in Teams, then at the top of the XTM Agent popup (displayed in Microsoft Teams), select Add.

Making XTM Agent available for personal testing purposes
Sharing XTM Agent with selected users:
To do so, in the Agent preview section, select the Availability options button. Next, scroll down and select the Share Agent button. The Share XTM Agent popup is displayed. In it, enter the email addresses of colleagues with whom you want to share the agent. Then, select the Share button in the bottom right-hand corner of the popup. As a result, the Agent shared successfully popup is displayed, listing the users with whom you have shared the agent. Before you close the popup, select the Copy link (Microsoft Teams) button. Now, send the copied link to the selected users so that they can add the agent to their Microsoft Teams application.
Adding XTM Agent to a Microsoft Teams channel is described in the next step. For details, see Add XTM Agent to a Microsoft Teams channel.

Sharing XTM Agent with selected users
Sharing XTM Agent with your entire organization:
To do so, in the Agent preview section, select the Availability options button. Next, scroll down and select the Submit to org catalog button. The Give everyone access to this agent? popup is displayed. In the popup, select the Yes, submit button. As a result, the Your request completed successfully. label is displayed at the top of the Teams + Microsoft 365 > Availability options > Submit to org catalog section of the popup. It indicates that a request to make the agent available in your organization has been sent.
Important
A Microsoft 365 or Microsoft Teams administrator must approve the request.

Sharing XTM Agent with your entire organization
Sharing XTM Agent as a
ZIPfileTo do so, in the Agent preview section, select the Availability options button. Next, scroll down and select the Download .zip button. The Microsoft Teams application package is downloaded to your device. You can now share it with selected users.
Important
The
ZIPdownloaded from Copilot Studio is a Microsoft Teams application package. It is different from the XTM setupZIPcontaining theAGENT_INSTRUCTIONSfile (mentioned in the Prerequisites section).
Sharing XTM Agent as a ZIP file
Add XTM Agent to a Microsoft Teams channel.
To do so, in Microsoft Teams, open XTM Agent. Then, follow these steps:
In the XTM Agent popup (displayed in Microsoft Teams), select the arrow displayed next to the Add or Open. button.
Result: the Share popup is displayed.
In the Share popup, in the Share to field, choose the required team. In the bottom right-hand corner of the popup, select Share.
Result: you have created and configured XTM Agent and then shared it with the required users. They can now use it in Microsoft Teams. For details, see below.
Using XTM Agent in Microsoft Teams
Once the XTM Agent has been created and made available (for details, see XTM Agent in Microsoft Copilot Studio and Microsoft Teams), you and users with whom you have shared it can use the agent in Microsoft Teams.
Directly in Microsoft Teams interface, you can ask the XTM Agent to check a required project's status, view current Linguist assignments, and even assign Linguists to a project. If you connect the agent to the XTM Online Help, you can also ask the agent to answer your product questions, for example, how to use the AI Post-Edit feature in a project. For a complete list of XTM Agent capabilities, see XTM MCP server capabilities.
You can use XTM Agent in:
a dedicated XTM Agent channel in Microsoft Teams.
teams and channels with other Microsoft Teams users. To do so, in a message in the relevant channel, type
@XTM Agent.Note
All team members must have access to the agent. If the agent or its response does not appear immediately, refresh Microsoft Teams or sign out and sign in again.
Using XTM Agent in agent flows
Once the XTM Agent has been created (for details, see XTM Agent in Microsoft Copilot Studio and Microsoft Teams), you can use the agent in Agent flows in Microsoft Copilot Studio. For example, you can create an automation that checks every morning if there are any projects that require immediate attention and, if so, displays a list of these projects in a selected Microsoft Teams channel.