Skip to content

fix: redirect stderr before MCP loading#1215

Open
mingdaoai wants to merge 2 commits intoMoonshotAI:mainfrom
mingdaoai:fix/mcp-debug-messages
Open

fix: redirect stderr before MCP loading#1215
mingdaoai wants to merge 2 commits intoMoonshotAI:mainfrom
mingdaoai:fix/mcp-debug-messages

Conversation

@mingdaoai
Copy link

@mingdaoai mingdaoai commented Feb 23, 2026

Summary

Move call to before so verbose MCP debug messages from the mcp-remote library are captured to the log file instead of printed to console.

Changes

  • In : move to before
  • This captures MCP OAuth connection debug messages (like ) to the log file instead of printing them to the console

Testing

  • All 343 unit tests pass
  • All 41 e2e tests pass

Fixes #1214


Open with Devin

ken added 2 commits February 19, 2026 00:57
Directory: /Users/haha/github/kimi-cli

Added detailed instructions for running tests, replaced references to Kosong and PyKAOS, and made necessary updates to enhance overall code maintainability and reduce dependencies. These changes improve documentation and code quality, leading to a more maintainable and efficient project.
Copy link
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 3 additional findings.

Open in Devin Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Verbose MCP debug messages printed to console when starting with -C flag and OAuth MCP servers

1 participant