Skip to main content

Getting Started: Spotto MCP Setup and API Key

Overview​

This guide walks you through connecting the Spotto MCP server to your AI client.

Prerequisites​

Before you begin, ensure you have:

  • A Spotto account with at least one connected cloud account
  • Access to the Spotto Portal
  • The API & MCP Access feature set for your company, plus a key with access to the data you want to query
  • An MCP-compatible AI client, such as Claude, Claude Code, Cursor or Windsurf

Step 1: Get Your API Key​

You'll need a Spotto API key to authenticate MCP requests. If you don't have one yet, follow the API Authentication guide to generate a key.

When creating your key, consider naming it something descriptive like "Claude" or "Cursor Integration" so you can identify it later.

Step 2: Choose Your Region and Endpoint Profile​

Pick the region your Spotto account is in, then the profile: full for read and write tools, read for read tools only, or write for write tools only. Copy the URL from Regional Endpoints. The default full endpoint for Australia is https://mcp-au.spotto.ai/mcp.

Not sure which region you're in? Check the URL when you log into the Spotto Portal—it includes your region code (e.g., portal-au.spotto.ai).

Copilot-compatible fallback

If you're setting up GitHub Copilot, Copilot Studio, or Microsoft 365 Copilot and the client cannot retrieve the full Spotto tool list, use the matching regional read endpoint first.

Step 3: Test Connectivity​

Before configuring your AI client, you can verify the MCP server is reachable using curl:

curl -X POST https://mcp-au.spotto.ai/mcp \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc": "2.0", "method": "tools/list", "id": 1}'

Replace YOUR_API_KEY with your actual API key and adjust the endpoint for your region and profile. For example, switch to https://mcp-au-read.spotto.ai/mcp if you are testing the Australian read profile.

A successful response returns a JSON object listing the tools advertised by the selected profile. Discovery checks the key's format; it does not prove that the API accepts the key or authorizes its calls. This abbreviated response shows two tool names:

{
"jsonrpc": "2.0",
"id": 1,
"result": {
"tools": [
{"name": "get-api-status", "description": "Check API health and connectivity"},
{"name": "list-companies", "description": "List accessible companies"}
]
}
}

Then call list-companies to verify authenticated access to company data:

curl -X POST https://mcp-au.spotto.ai/mcp \
-H "Content-Type: application/json" \
-H "X-API-Key: YOUR_API_KEY" \
-d '{"jsonrpc":"2.0","method":"tools/call","params":{"name":"list-companies","arguments":{}},"id":2}'

Use the same region as your discovery test. list-companies is available on full and read; for a write configuration, test company access with the matching read endpoint first. Check the tool result for isError, since an HTTP 200 can contain a failed tool call. If you receive an authentication error, double-check your key and ensure it hasn't been revoked.

Step 4: Configure Your Client​

Now you're ready to set up your AI client. Head to the Client Setup guide for specific instructions for:

  • Claude (web, desktop and mobile)
  • Claude Code
  • Cursor
  • Microsoft Copilot Studio and Microsoft 365 Copilot
  • GitHub Copilot (VS Code)
  • Windsurf
  • OpenAI Codex CLI
  • Generic HTTP clients

Troubleshooting​

"Authentication failed" or 401 errors​

  • Verify your API key is correct and hasn't been revoked
  • Check that you're using the correct regional endpoint
  • If IP allowlisting is enabled, ensure your current IP is in the allowlist

See the API Authentication troubleshooting section for more details.

"Connection refused" or timeout errors​

  • Confirm you have internet connectivity
  • Check if your network blocks outbound HTTPS traffic
  • Try the curl test above to isolate whether it's a client or server issue

"No tools available" in your AI client​

  • Some clients cache the tool list—try restarting the client
  • Verify the MCP server configuration is correct in your client settings
  • If the client still cannot load the Spotto tool list, switch to the regional read endpoint
  • Run the curl test to confirm the server returns tools

"Limiting number of tool calls to 70" or "couldn't retrieve the requested items"​

  • This usually means the client cannot consume the full Spotto catalog from the default endpoint
  • Change the MCP URL to the matching regional read endpoint
  • Restart the client and test again with a simple read prompt
  • If you later need action tools, switch that workflow to the matching write endpoint

Next Steps​