-
Notifications
You must be signed in to change notification settings - Fork 4.2k
fix(code): capture stdio MCP server stderr into the logger #5610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Mason Daugherty (mdrxy)
merged 21 commits into
main
from
mdrxy/code/mcp-stdio-stderr-logging
Aug 19, 2026
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f92666c
fix(code): capture stdio MCP server stderr into the logger
mdrxy 345fdb5
Merge branch 'main' into mdrxy/code/mcp-stdio-stderr-logging
mdrxy 181b5d0
fix(code): bound MCP stderr drain join and force-close leaked pipe
mdrxy be30003
fix(code): restrict debug log to the current user on Windows
mdrxy cb883ac
fix(code): bound forced MCP stderr drain teardown
mdrxy 5b315b3
fix(code): grant the debug log DACL to the correct trustee
mdrxy 555f587
test(code): run deepagents-code tests on Windows
mdrxy 0c5893b
fix(code): disable file logging when the debug log cannot be secured
mdrxy c82a667
perf(code): import ctypes only on Windows
mdrxy 373a435
fix(code): serialize the MCP stderr pipe close across threads
mdrxy 919158f
fix(code): report MCP stderr drain failures when capture is off
mdrxy 8a5bbd8
fix(code): decode captured MCP stderr with the replace handler
mdrxy a047d9f
refactor(code): drop the unreachable MCP stderr write path
mdrxy a2d93e5
refactor(code): drop the redundant stdio env resolution
mdrxy df09825
docs(code): correct the DACL, teardown and sanitization claims
mdrxy bf74f90
fix(code): close both pipe ends when the stderr sink fails to start
mdrxy 80319e6
Merge branch 'main' into mdrxy/code/mcp-stdio-stderr-logging
mdrxy 7ab3b7c
test(code): make timestamp footer hydration test deterministic
mdrxy 85078a5
test(code): drop thread-death assertion from leaked-pipe stderr test
mdrxy f0edf4f
Merge branch 'main' into mdrxy/code/mcp-stdio-stderr-logging
mdrxy c63d535
ci(infra): drop windows-latest from deepagents-code test matrix
mdrxy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.