Troubleshooting
Fix MCP endpoint, schema, auth, and SDK errors.
Practical runbooks for the errors teams hit after generating a hosted MCP endpoint: 401s, empty tool lists, validation failures, CORS, rate limits, private setup, and SDK build breaks.
Guides
9
Primary path
MCP
Use before
Support
MCP endpoint returns 401 unauthorized
Fix 401 unauthorized responses from a private Astrail MCP endpoint by checking bearer tokens, server visibility, and client config.
tools/list returns an empty tool list
Diagnose an empty MCP tools/list response from generated OpenAPI, Code Mode, or private endpoint policy settings.
tools/call returns a validation error
Fix MCP tools/call validation errors by matching generated schemas, JSON-RPC params, and Code Mode execute arguments.
OpenAPI schema issues during MCP generation
Resolve OpenAPI parsing, schema validation, missing paths, circular refs, and unsupported content-type issues before generating MCP tools.
Auth header problems in MCP clients
Fix Authorization header forwarding, bearer token formatting, and client-specific MCP auth configuration problems.
CORS and origin issues with hosted MCP
Resolve browser CORS failures, blocked origins, preflight requests, and private network restrictions when calling hosted MCP endpoints.
MCP rate limit errors and 429 responses
Debug 429 rate limit responses from hosted MCP endpoints, generated tools, and edge abuse protections.
Private MCP endpoint setup checklist
Set up a private Astrail MCP endpoint with API keys, hidden metadata, allowed tools, credentials, and production verification.
Generated SDK build failures
Fix build, typecheck, package, and smoke-test failures in generated Astrail SDK bundles.