Skip to main content

MCP Inspector

To watch the raw protocol exchange while debugging, run the MCP Inspector:
Add your Authorization and x-account-id headers in the Inspector UI to authenticate, then inspect the tools and calls for that account.

HTTP errors

Returned as HTTP status codes before a JSON-RPC exchange happens — almost always headers or credentials.
Symptoms:
Likely Causes:
  • Incorrect API key
  • Wrong base64 encoding
  • Expired or disabled API key
Solutions:
  1. Verify API key encoding (include colon!):
  2. Test with cURL:
  3. Check account ID format:
    • Numeric string (e.g., 47187425466113776871)
    • Or short alphanumeric ID (nano ID)
    • Must have been initially created in the StackOne Dashboard
  4. Verify API key permissions:
    • Ensure key has access to required scopes
Symptoms:
Likely Causes:
  • Client doesn’t support custom headers
  • Header not configured correctly
  • MCP client limitations
Solution: pass the account ID as a query parameter instead — https://api.stackone.com/mcp?x-account-id=<ACCOUNT_ID> (the header takes precedence if both are set).
Likely Cause: the mandatory Accept header is missing or incomplete.Solution: send Accept: application/json,text/event-stream on every request — both formats listed, no wildcards. This is required by the MCP specification, not just StackOne.

MCP protocol errors

Returned as JSON-RPC error objects with a -32xxx code.
Symptoms:
Likely Causes:
  • Using GET instead of POST
  • Incorrect HTTP method
Solutions:
  1. Always use POST method:
  2. Check endpoint URL:
    • Must be exactly https://api.stackone.com/mcp
    • No trailing slashes or additional paths
  3. Include required headers:
Symptoms:
Likely Causes:
  • Invalid tool parameters
  • Provider connection issues
  • Rate limiting
  • Provider-specific errors
Solutions:
  1. Validate parameters against the tool’s input schema
  2. Check rate limits:
    • Monitor X-RateLimit headers in responses
    • Implement exponential backoff
    • Reduce request frequency
  3. Test provider connection:
Likely Cause: the request body is not valid JSON.Solution: check the JSON syntax — a trailing comma, unescaped quote, or truncated body are the usual culprits.
Likely Cause: the JSON is valid but not a well-formed JSON-RPC 2.0 request.Solution: verify the request structure — it needs jsonrpc: "2.0", an id, and a method.
Likely Cause: unknown JSON-RPC method.Solution: check the method name spelling — supported methods include initialize, tools/list, and tools/call.
Likely Cause: the method exists but the parameters don’t match its schema.Solution: validate the params against the tool’s input schema from tools/list.

No error, unexpected result

Symptoms:
  • tools/list returns empty array
  • MCP server connects but no tools available
  • Client shows “No tools found”
Likely Causes:
  • Account’s connector profile is incorrect or does not have any actions enabled
  • Account configuration issues
Solutions:
  1. Check the connector profile in the StackOne dashboard:
    • Verify the account ID is correct and the account is active
    • Ensure the associated connector profile has at least 1 action enabled
  2. Verify list of accounts:

Diagnostics

For StackOne API error codes beyond MCP, see Error Codes and Troubleshooting.

Status Page

Check system status and incidents

FAQ

Find answers to common questions