Troubleshoot MCP connections
| Symptom | Check |
|---|---|
| Cannot connect | Hosted app /mcp URL, HTTPS and HTTP/Streamable HTTP type |
| GET returns 405 | Server supports POST JSON, not a persistent GET stream |
| Unauthorized | Check header forwarding, credential expiry or revocation, and OAuth completion |
| No browser sign-in option shown | OAuth is disabled for the deployment; use the expanded API key instructions. Existing connected apps can still be disconnected |
| OAuth unavailable | Hosted OAuth availability and client browser support; use an API key (psa_) if appropriate |
| Unexpected account | Bound grant/approved account; browser account switching alone does not rebind a connection |
| Missing tools | Effective primary scopes and current role; reload discovery after changes. Pause, delete and unpublish tools appear only when their sensitive permission was ticked. A connection approved before a tool existed has to be disconnected and signed in again |
| Results rejected as not matching the output schema | The client cached strict schemas from an older server release. Disconnect and reconnect once |
| Discovered write fails forbidden | Nested assignment scopes, publishing without an Admin role, or deleting a dashboard that’s still public |
| REST rejects OAuth token | OAuth access is MCP-audience-bound; REST needs an API key (psa_) |
| Quota error | No completed write; inspect capabilities and returned billing guidance |
| Rate limited | Shared automation limits; wait for Retry-After |
| Desktop bridge fails to launch | Absolute npx path, Node PATH, private env value and correct Desktop Chat config |
A raw browser GET is not a successful MCP connection test. Use the client’s connection status/tool discovery, then perform a capabilities read.
For Copilot API key setup, if interactive testing omits the configured Authorization header, use the private user file and restart the client. For Claude, distinguish Desktop Chat, Desktop Code and CLI hosts before editing configuration.
Do not fall back to legacy SSE, disable TLS checks, make tokens non-expiring or broaden permissions just to hide an error. Preserve other client settings when merging entries.
Retain nonsensitive error code, client/version and request context for support. Redact bearer headers, heartbeat URLs, private config and customer data.