GitHub Copilot (VS Code)
GitHub Copilot in VS Code reads MCP servers from VS Code's MCP settings. Make sure the GitHub Copilot extension is installed and enabled, then configure Spotto at the workspace level or in your user settings.
GitHub Copilot can be sensitive to large MCP tool catalogs. For Spotto, the regional read endpoint is usually the best starting point. If you later need action tools, switch that configuration to the matching write endpoint or use the default full endpoint if Copilot can load it.
Workspace Configuration (Recommended)
Create a .vscode/mcp.json file in your project root:
{
"servers": {
"spotto": {
"type": "http",
"url": "https://mcp-au-read.spotto.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
User Settings Configuration
Alternatively, configure MCP at the user level so it's available across all projects:
- Press
Cmd+Shift+P(macOS) orCtrl+Shift+P(Windows/Linux) - Type "MCP: Open User Configuration"
- Add the following to the
mcp.jsonfile that opens:
{
"servers": {
"spotto": {
"type": "http",
"url": "https://mcp-au-read.spotto.ai/mcp",
"headers": {
"X-API-Key": "YOUR_API_KEY"
}
}
}
}
Using Environment Variables
For better security, you can reference environment variables using the inputs feature:
{
"inputs": [
{
"type": "promptString",
"id": "spotto-api-key",
"description": "Spotto API Key",
"password": true
}
],
"servers": {
"spotto": {
"type": "http",
"url": "https://mcp-au-read.spotto.ai/mcp",
"headers": {
"X-API-Key": "${input:spotto-api-key}"
}
}
}
}
VS Code will prompt you for the API key when the server is first accessed.
If You Need Write Tools
The read endpoint keeps the catalog smaller and is usually more reliable in Copilot. If you need tools that dismiss, prioritize, share, or update data, replace the URL with the matching regional write endpoint or the default full endpoint.
For the full regional mapping, see MCP Endpoint Profiles.
Verifying the Connection
- Open the Command Palette (
Cmd+Shift+PorCtrl+Shift+P) - Run "MCP: List Servers"
- Select "spotto" from the list
- If the status shows "stopped", select "Start Server" to connect
- Verify that the status changes to "running" or "connected"
You can also check the MCP output panel for connection logs:
- Open the Output panel (
Cmd+Shift+UorCtrl+Shift+U) - Select "MCP" from the dropdown
Once the server is running, open Copilot Chat and ask a Spotto question (for example, "Check the Spotto API status") to confirm the tools are available.
Troubleshooting
Copilot cannot load all Spotto tools
What you're seeing: Copilot connects to the MCP server but does not show the Spotto tools, or only some of them appear.
Likely causes:
- Copilot is struggling with the full Spotto tool catalog.
- The MCP server URL is pointing at the wrong profile for this client.
How to fix:
- Use the regional
readendpoint, such ashttps://mcp-au-read.spotto.ai/mcp. - Restart VS Code or reconnect the MCP server.
- Re-run "MCP: List Servers" and verify the server shows as connected.
Copilot shows "limiting number of tool calls to 70" or "couldn't retrieve the requested items"
What you're seeing: Tool discovery fails with a limit or retrieval error.
Likely causes:
- Copilot cannot consume the full Spotto catalog from one MCP server.
How to fix:
- Change the server URL to the matching regional
readendpoint. - Restart the MCP server from VS Code.
- Test again with a simple read prompt such as "What companies do I have access to in Spotto?"