Microsoft Copilot
Overview
Microsoft offers several Copilot products with different MCP connection and authentication requirements:
- Microsoft Copilot Studio - Low-code platform for building custom AI agents
- Microsoft 365 Copilot - Use a published Copilot Studio agent; direct MCP plugins have different authentication requirements
- GitHub Copilot - Code completion in VS Code (covered in the GitHub Copilot (VS Code) guide)
For most Copilot scenarios, start with the regional read endpoint. It keeps the Spotto tool catalog smaller, which is useful when Copilot struggles to retrieve all advertised tools. If your Copilot workflow needs action tools, switch to the matching write endpoint or use the default full endpoint after confirming your client can load it.
Microsoft Copilot Studio
Microsoft Copilot Studio is a low-code platform for creating custom AI agents. It supports MCP through either a direct onboarding wizard or custom connectors.
Prerequisites
- Access to Microsoft Copilot Studio
- Generative Orchestration enabled on your agent
- Spotto API key from the Getting Started guide
- Your regional endpoint profile (for example, Australia
read:https://mcp-au-read.spotto.ai/mcp)
Method 1: MCP Onboarding Wizard (Recommended)
The simplest way to connect Spotto to Copilot Studio is through the built-in MCP wizard:
- Open your agent in Microsoft Copilot Studio
- Navigate to the Tools page
- Select Add a tool
- Select New tool
- Select Model Context Protocol
Configure the MCP Server:
| Field | Value |
|---|---|
| Name | Spotto |
| Description | Cloud costs, resources, recommendations and security posture |
| URL | https://mcp-au-read.spotto.ai/mcp (adjust for your region) |
| Transport Type | Streamable |
| Authentication | API key |
API Key Authentication:
- Select API key as the authentication type
- Choose Header as the API key type
- Set the header name to:
X-API-Key - Click Create
Create Connection:
- In the "Add tool" dialog, select Create new connection
- Enter your Spotto API key when prompted
- Click Add to agent
Your agent can now discover the tools in the selected Spotto endpoint profile. Each call remains subject to the API key's access.
Method 2: Custom Connector via Power Apps
For advanced scenarios or custom authentication, you can create a custom connector:
- On your agent's Tools page, select Add a tool -> New tool -> Custom connector.
- In Power Apps, select New custom connector -> Import OpenAPI file.
- Import the definition below and complete setup with API-key authentication in the
X-API-Keyheader. - Return to Copilot Studio and add the connector to your agent.
See Microsoft's existing MCP server setup guide for the current wizard and custom-connector steps.
The sample below uses the Australian read endpoint. Swap the host for your region if needed.
Sample OpenAPI Definition (YAML):
swagger: '2.0'
info:
title: Spotto MCP Server
description: Spotto cloud management data via MCP
version: 1.0.0
host: mcp-au-read.spotto.ai
basePath: /
schemes:
- https
paths:
/mcp:
post:
summary: Spotto MCP Endpoint
x-ms-agentic-protocol: mcp-streamable-1.0
operationId: InvokeMCP
responses:
'200':
description: Success
securityDefinitions:
api_key:
type: apiKey
name: X-API-Key
in: header
security:
- api_key: []
Managing MCP Tools in Copilot Studio
Once your MCP server is connected, you can manage which tools your agent uses:
- Go to the Tools tab for your agent
- Select the Spotto MCP server
- View available tools and resources
- Use the Allow all toggle to enable or disable all tools
- Or toggle individual tools on or off as needed
If you connected the read endpoint, only read-oriented Spotto tools will appear. That is expected.
Verifying the Connection
Test your setup by asking the agent:
"What companies do I have access to in Spotto?"
or
"Check the Spotto API status"
The agent should use the Spotto MCP tools to retrieve information from your account.
Making Your Agent Available in Microsoft 365 Copilot
This section applies if you built your agent in Copilot Studio and want to make it available in the Microsoft 365 Copilot experience. Follow your organization's publishing, access, and licensing requirements.
For Copilot Studio agents:
- In Copilot Studio, go to Channels
- Select Teams and Microsoft 365 Copilot
- Check Make agent available in Microsoft 365 Copilot
- Click Add channel
- After the channel is enabled, select See agent in Microsoft 365
- Click Add and Open to use the agent
Microsoft 365 Copilot
For direct declarative-agent MCP plugins, Microsoft currently supports OAuth and Entra SSO, but does not support API-key authentication. The regional Spotto MCP server accepts Spotto API keys; it does not provide an OAuth login or accept an arbitrary Entra access token. Adding an identity-provider app or a key to a local .env file does not bridge that gap. See Microsoft's MCP plugin authentication matrix.
Use the Copilot Studio API-key connection described above, then make that agent available through its Teams and Microsoft 365 Copilot channel, subject to your organization's publishing and licensing requirements. Follow Microsoft's current channel publishing guide for that deployment.
A direct declarative-agent integration would require a separately implemented and secured OAuth-to-Spotto gateway. This guide does not provide that gateway. Microsoft 365 agent connectors are a different integration surface with their own authentication rules; do not apply API-plugin API-key instructions to an MCP plugin.
Troubleshooting
Copilot Studio Issues
"MCP server not found"
- Ensure Generative Orchestration is enabled on your agent
- Verify the MCP server URL is correct
- Check your API key is valid in the Spotto Portal
"Authentication failed"
- Confirm you are using the correct header name:
X-API-Key - Verify your API key starts with
apik_ - Check the API key has not been revoked
"Tools not appearing"
- Restart Copilot Studio after adding the MCP server
- Verify the MCP server connection status shows "Connected"
- Check the Tools tab to see if tools are listed but disabled
- If you're using the default
fullendpoint, switch to the matchingreadendpoint
Microsoft 365 Copilot Issues
"Agent not available"
- Ensure you have a Microsoft 365 Copilot license
- Verify Custom App Upload and Copilot Access are enabled
- Check that the agent is published to the Teams or Microsoft 365 Copilot channel
"Connection timeout"
- Verify your network allows HTTPS connections to Spotto endpoints
- Check if a corporate firewall is blocking the connection
- Try the curl test from the Getting Started guide
"Limiting number of tool calls to 70" or "couldn't retrieve the requested items"
- The Copilot client is likely struggling with the full Spotto tool catalog
- Change the MCP URL to the matching regional
readendpoint - Reconnect the MCP server and test again
General MCP Issues
Invalid API key errors:
- Verify you are using the full API key (starts with
apik_) - Check the key has not been revoked in the Spotto Portal
- Ensure you are using the correct regional endpoint
Connection timeouts:
- Verify outbound HTTPS connections are allowed
- Check if a firewall or proxy is blocking the connection
- Try the curl test from the Getting Started guide
Regional Endpoints
Use the read URL for your region from MCP Endpoint Profiles, for example https://mcp-us-read.spotto.ai/mcp in the United States.
Next Steps
- Available Tools - See what queries you can make
- MCP Endpoint Profiles - Compare
full,read, andwrite - Example Queries - Learn effective prompting patterns
- Microsoft Learn: Copilot Studio MCP - Official documentation