---
title: Connect Microsoft Copilot Studio to the OpenLM MCP Connector
description: Add the OpenLM MCP Connector as a Model Context Protocol tool of a Microsoft Copilot Studio agent, sign in with OAuth 2.0, and test the agent before you publish it to your team.
product: OpenLM Platform
---

To give a Microsoft Copilot agent access to your OpenLM Platform license data, add the OpenLM MCP Connector as a tool of a Copilot Studio agent, sign in with your OpenLM Platform account, and test the agent.

This page applies to the Microsoft Copilot Studio web app. Microsoft Copilot connects through Copilot Studio, where you add the OpenLM MCP Connector as a tool of a custom agent.

## Before you begin

To connect Copilot Studio, you need the following:

- An active OpenLM Platform account with access to a cloud-hosted tenant (US or EU).
- A Microsoft work account that can create or edit agents in Copilot Studio.
- The OpenLM MCP Connector URL for your region. Copilot Studio connects to MCP servers over the Streamable HTTP transport, which is the transport that the OpenLM MCP Connector uses.

The following table lists the OpenLM MCP Connector URL for each environment:

| Environment | OpenLM MCP Connector URL |
|---|---|
| Prod US | `https://cloud-us.openlm.com/mcp` |
| Prod EU | `https://cloud-eu.openlm.com/mcp` |

## Access Copilot Studio and create an agent

To create an agent for the OpenLM MCP Connector:

1. Open [copilotstudio.microsoft.com](https://copilotstudio.microsoft.com) and sign in with your Microsoft work account.
1. Check that the correct **Environment** for your organization is selected in the **Environment** selector.
1. Create a new agent, or open an existing one.
1. Enter a name for the agent, for example `openlm-mcp`.

## Add the OpenLM MCP Connector as a tool

To add the OpenLM MCP Connector as a tool:

1. Open your agent and select the **Tools** tab in the top navigation.
1. Select **+ Add a tool**, then select **+ New tool**.

   This registers a new MCP server rather than picking a pre-built one.
1. Select **Model Context Protocol** as the tool type.
1. Enter the MCP server details:
   - **Server name**: a name for the connector, for example `openlm-mcp`.
   - **Server description**: a short description of what the server does. The agent reads this description to decide when to call the OpenLM tools, so name the data, for example `OpenLM license usage, denials, unused licenses, and renewals`.
   - **Server URL**: the OpenLM MCP Connector URL for your environment. The connector uses the Streamable HTTP transport.
   - **Authentication**: select **OAuth 2.0**, with the type **Dynamic discovery**.
1. Select **Create**.

   This registers the OpenLM MCP Connector and creates a connection.
1. In the **Add tool** dialog, select **Create a new connection**.
1. On the OpenLM sign-in page, sign in with your OpenLM Platform credentials and authorize the connection.
1. Select **Add to agent**.

## Turn on and verify the tool

To turn on the tool and add it to your agent:

1. In the **Tools** list under Model Context Protocol, find the new tool.
1. Check that its **Enabled** toggle is set to **On**.
1. If you created the tool outside your agent, open the agent, select its **Tools** tab, and add the new tool to the agent.

## Test the agent

To test the agent:

1. Select **Test** to open the **Test your agent** panel.
1. In the chat box, enter a prompt that uses the OpenLM tools, for example `Show me license usage for the last month` or `List available OpenLM tools`.
1. Confirm that the agent calls the OpenLM MCP Connector and returns the results in the chat.

:::note
The MCP tool must be **Enabled** and the connection authenticated. Otherwise, the agent can't call the OpenLM tools.
:::

For prompts to test the agent with, see [License FinOps prompt library](https://www.openlm.com/documentation/cloud/mcp-reporting-server/prompt-library).

## What else you can do in Copilot Studio

After you connect the OpenLM MCP Connector, you can use the following Copilot Studio features:

| Feature | What you can do |
|---|---|
| Test | Live-test the agent's real responses against the OpenLM tools in the built-in chat panel before publishing. |
| Evaluation | Evaluate the agent's answer quality and accuracy across multiple test cases. |
| Agents | Build multiple specialized agents, each with its own instructions and tools. |
| Topics | Define conversational flows and triggers that guide the agent's behavior for specific user intents. |
| Flows (Power Automate) | Build workflows that combine the OpenLM tools with other actions, such as sending email or triggering automations. |
| Knowledge | Add knowledge sources, such as documents or websites, so the agent can answer beyond the OpenLM tool data. |
| Channels | Publish the agent to Microsoft Teams, a website, Copilot chat, or other channels. |
| Monitor | Track usage, conversations, and performance analytics of the agent. |
| Publish | Push the agent live so your team or organization can use it. |

## Troubleshoot the Copilot Studio connection

The following problems are specific to Copilot Studio:

- **The agent doesn't call the OpenLM tools**: Check that the **Enabled** toggle of the MCP tool is set to **On** and that you added the tool to your agent.
- **The tool is blocked in your environment**: Copilot Studio reaches MCP servers through Power Platform connectors, so a Power Platform data policy that regulates connectors also regulates the OpenLM MCP Connector. Ask your Power Platform administrator to allow it in the environment.

For problems that affect every AI client, see [OpenLM MCP Connector FAQ and troubleshooting](https://www.openlm.com/documentation/cloud/mcp-reporting-server/faq-and-troubleshooting).

## Next steps

To continue, use the following pages:

- [License FinOps prompt library](https://www.openlm.com/documentation/cloud/mcp-reporting-server/prompt-library): Copy prompts that find unused licenses, size renewals, and track denials.
- [Tools and capabilities reference](https://www.openlm.com/documentation/cloud/mcp-reporting-server/tools-reference): See the data that each OpenLM tool returns.
- [Connect GitHub Copilot in VS Code to the OpenLM MCP Connector](https://www.openlm.com/documentation/cloud/mcp-reporting-server/client-setup-guide/github-copilot): Use the OpenLM tools from VS Code instead.
