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. These are almost always due to headers or credentials.
Symptoms:
Likely Causes:
  • Incorrect API key
  • Wrong base64 encoding
  • Expired or disabled API key
Solutions:
  1. Verify API key encoding:
  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.
Symptoms:
Likely Cause: the account in x-account-id has a status that blocks calls.
StackOne returns a 429 for two different reasons. Read errorCode in the body to tell them apart.Out of credits (errorCode: quota_exceeded):
Likely Cause: no credits are left for action calls. The message says which case applies: the organization has used all its credits, the caller has used the credits available to them, or the plan includes no credits for these calls. On the MCP endpoint this refuses every request, tools/list and initialize included, not only tools/call. The response has no Retry-After header, and no action runs, so nothing appears in the action logs.Solution: an Organization Admin buys more credits or changes plan at details.plansUrl. Retrying won’t succeed until then.Rate limited (no quota_exceeded, with a Retry-After header):Likely Cause: the API key sent more requests than the rate limit allows.Solution: wait the number of seconds in Retry-After, then retry with backoff.

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

Status Page

Check system status and incidents

FAQ

Find answers to common questions