fix(mcp): clarify debug oauth probe (#34350)

This commit is contained in:
Aiden Cline 2026-06-28 18:16:29 -05:00 committed by GitHub
commit 92025e9a47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -761,7 +761,7 @@ export const McpDebugCommand = effectCmd({
}
if (response.status === 401) {
prompts.log.warn("Server returned 401 Unauthorized")
prompts.log.info("Initial unauthenticated check returned 401, so this server requires OAuth")
// Try to discover OAuth metadata
const oauthConfig = typeof serverConfig.oauth === "object" ? serverConfig.oauth : undefined