Connecting testRigor’s MCP Server to Microsoft 365 Copilot
|
|
This guide walks you through setting up testRigor as a custom federated connector in Microsoft 365 Copilot, enabling you to interact with your test suites, run tests, and review results using natural language directly inside Copilot.
Overview
testRigor’s MCP server exposes your test data as a set of read-only tools. By registering it as a custom federated connector in Microsoft 365 Copilot, you can ask Copilot questions like:
- “List all my test suites in testRigor”
- “What failed in the last regression run?”
- “Show me the execution details for the most recent test case”
Prerequisites
- A testRigor account with access to the API Tokens page
- Global Administrator or AI Administrator role in the Microsoft 365 admin center
- An appropriate Microsoft Entra admin role for SSO authentication
- Access to the Teams Developer Portal: https://dev.teams.microsoft.com
Step 1: Generate a testRigor Personal Access Token
- Log in to the testRigor app.
- Click your username in the top-right corner.
- Select API Tokens.
- Click Generate a new token.
- Copy and save the token. You will need it in Step 4.
Step 2: Set Up Authentication in the Teams Developer Portal
Microsoft 365 Copilot requires authentication to be registered before you create the connector. testRigor uses a custom header token, so you will set up an OAuth 2.0 registration and pass the PAT as a bearer-style credential.
Note: If your Microsoft 365 admin has already configured a suitable OAuth registration for testRigor, you can skip to Step 3 and use that registration ID.
- Go to the Teams Developer Portal: https://dev.teams.microsoft.com
- Select Tools > OAuth Client Registration.
- Click + New OAuth connection.
-
Fill in the connection details:
Field Value Name testRigor MCP Client ID Use a placeholder or your organization’s client ID Client secret Your testRigor PAT from Step 1 Authorization endpoint https://api2.testrigor.com/api/v1/mcp
Token endpoint https://api2.testrigor.com/api/v1/mcp
- Save the registration and copy the Registration ID.
Step 3: Create the Custom Federated Connector in Microsoft 365 Admin Center
- Sign in to the Microsoft 365 admin center: https://admin.microsoft.com
- In the left pane, go to Copilot > Connectors.
- Select the Gallery tab.
- Under Created by your org, find the Create a new connector tile and click Add.
- On the Custom connector page, under Connect to MCP server, click Add.
-
Enter the following details:
Field Value Display name testRigor Base URL https://api2.testrigor.com/api/v1/mcp
- Enter the Registration ID from your Teams Developer Portal OAuth setup.
- Click Save.
Step 4: Roll Out the Connector to Users
- From the Your Connections list, find the testRigor connector.
- To deploy to a specific group first, select Stage rollout and choose your target audience.
- When ready to release broadly, select Deploy to all users.
Note: Changes to a connector can take up to 15 minutes to take effect.
Step 5: Use testRigor in Microsoft 365 Copilot
Viewing test suites and cases
- “List all my test suites in testRigor”
- “Show me the test cases in the [Suite Name] suite”
Running tests
- “Run the regression tests in [Suite Name]”
- “Run only the previously passing tests in [Suite Name]”
Checking results
- “What is the execution status for the last run in [Suite Name]?”
- “Show me all failures from the last test suite run”
- “Get the execution details for [test case name]”
Managing tasks
- “Cancel the task currently running in [Suite Name]”
Available testRigor MCP Tools
| Tool | Description |
|---|---|
| List test suites | Returns all test suites in your testRigor account |
| List test cases | Lists test cases and their steps within a suite |
| List test case runs | Lists all runs performed on a particular test suite |
| Run test cases | Triggers test case execution in a specified suite |
| Get run | Returns details of a specific test suite run |
| List runs | Lists all test suite runs for a suite |
| Run green regressions | Runs only test cases previously marked as passed |
| Execute supplied test steps | Executes specific test steps on a given suite |
| List run test cases | Lists all test cases that ran in a particular suite run |
| List run failures | Returns only the failures from a given suite run |
| Get execution details | Shows step-by-step execution details for a specific test case |
| Cancel task | Aborts any in-progress tasks |
Managing the Connector
| Action | Result |
|---|---|
| Enable | Makes the connector available to its assigned audience |
| Disable | Pauses the connector without removing its configuration |
| Delete | Permanently removes the connector and its configuration |
Need Help?
- testRigor MCP documentation
- Microsoft federated connectors documentation
- For testRigor support, contact your Customer Success Manager.
| Achieve More Than 90% Test Automation | |
| Step by Step Walkthroughs and Help | |
| 14 Day Free Trial, Cancel Anytime |




