Skip to main content

Overview

Microsoft Copilot Studio lets you build custom AI agents for your organization. By adding the Sensolus MCP (Model Context Protocol) connector as a tool, an agent can answer live questions about your organizations and devices, such as “How many devices are online in org X?”. The connector uses OAuth 2.0 with your own Sensolus account, so the agent only sees the data that account is allowed to access. The Sensolus MCP server endpoint is https://mcp.agents.sensolus.com/mcp. Setting this up involves three phases: creating the MCP tool, attaching it to an agent, and completing the OAuth connection so the agent can call the tool.

Prerequisites

Before you start, make sure you have:
  • Access to Microsoft Copilot Studio in the correct environment.
  • An existing agent, or permission to create one.
  • A Sensolus account, used to sign in during the OAuth step.
  • Browser pop-ups allowed for copilotstudio.microsoft.com, which are needed for the sign-in window.

Step 1 — Create the MCP tool

1

Start a new Model Context Protocol tool

In Copilot Studio, go to Tools in the left navigation, click + New tool, and choose Model Context Protocol.
New tool dialog with Model Context Protocol selected
2

Fill in the connection details

Complete the dialog with the following values:
Model Context Protocol configuration form filled with Sensolus connector details
3

Create the tool and wait until it is ready

Click Create. The tool appears in the Tools list. Wait until its status shows Ready, which usually takes a minute or two.
Sensolus connector listed as Ready in the Tools overview

Step 2 — Attach the tool to your agent

1

Open the agent's Tools tab

Open your agent and go to the Tools tab, then click Add a tool.
Agent Tools tab with the option to add a tool
2

Search for the Sensolus connector

In the Add tool search box, type Sensolus connector and select it from the results.
Search results showing the Sensolus connector
3

Review the tool details

The Add tool screen shows the Sensolus connector. The Connection field reads Not connected, which is expected at this stage.
Add tool screen showing the connection as not connected
4

Create a new connection

Open the Connection dropdown and click Create new connection.
Connection dropdown with Create new connection option
5

Confirm the connection

Optionally enter a display name for the connection, then click Create.
Connect to Sensolus connector dialog with optional display name
6

Sign in and approve

A pop-up opens the Sensolus authorization page. Sign in with your Sensolus account and click Approve to grant the agent access on your behalf.
Sensolus application authorization pop-up with Approve button
7

Add the connected tool

Once authorized, the Connection field turns Connected with a green check. Click Add.
Add tool screen showing the connection as connected
8

Verify the tool is attached

The tool is now attached to the agent, with Enabled set to On and Trigger set to By agent.
Tool list confirming the Sensolus connector is added and enabled

Step 3 — Connect and test

The tool is attached, but the agent still needs an active connection at runtime. The quickest way to complete this is from the agent’s test pane.
1

Ask a data question

Open the agent’s Test pane and ask a question that requires live data, for example “How many devices are online in org Vietnam BLE demo?”. The agent responds that it needs a connection first and shows an Open connection manager link.
Test pane prompting to open the connection manager
2

Open the connection manager

Click Open connection manager. On the Manage your connections page, find the Sensolus connector with status Not Connected and click Connect.
Manage your connections page with the Sensolus connector not connected
3

Submit the connection

In the Create or pick a connection dialog, confirm the Sensolus connector and click Submit.
Create or pick a connection dialog with Submit button
4

Confirm the connection is active

The connection status now shows Connected.
Manage your connections page showing the connector connected
5

Retry your question

Return to the Test pane and click Retry. The agent re-runs your question, calls the Sensolus tool, and returns a live answer.
Test pane showing the agent calling the Sensolus tool and returning a result

Troubleshooting

Authorization does not complete

If the OAuth sign-in does not finish, make sure pop-ups are allowed for copilotstudio.microsoft.com, verify your Sensolus account has the appropriate permissions, and try the connection again.

Tool never reaches “Ready”

If the tool stays in a pending state, confirm the server URL is exactly https://mcp.agents.sensolus.com/mcp and that Dynamic discovery is selected. The MCP server must support OAuth 2.0 Dynamic Client Registration for dynamic discovery to work.

SSO authentication

If your organization uses Single Sign-On (SSO), sign in to the Sensolus platform in your browser before starting the OAuth flow.

Next steps