Skip to content

Commit 92025e9

Browse files
authored
fix(mcp): clarify debug oauth probe (anomalyco#34350)
1 parent 411e053 commit 92025e9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/opencode/src/cli/cmd

packages/opencode/src/cli/cmd/mcp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ export const McpDebugCommand = effectCmd({
761761
}
762762

763763
if (response.status === 401) {
764-
prompts.log.warn("Server returned 401 Unauthorized")
764+
prompts.log.info("Initial unauthenticated check returned 401, so this server requires OAuth")
765765

766766
// Try to discover OAuth metadata
767767
const oauthConfig = typeof serverConfig.oauth === "object" ? serverConfig.oauth : undefined

0 commit comments

Comments
 (0)