Skip to content

Conversation

stephentoub
Copy link
Contributor

@stephentoub stephentoub commented May 1, 2025

Closes #362

@stephentoub stephentoub requested a review from halter73 May 1, 2025 22:16
Track the last several lines of stderr and include those in an exception created as part of CleanupAsync if the server process has already exited. This is based on an assumption that the server should never exit prior to CleanupAsync being called.
@stephentoub stephentoub merged commit c11c634 into modelcontextprotocol:main May 14, 2025
7 checks passed
@stephentoub stephentoub deleted the stdiodiag branch May 14, 2025 14:46
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.

Provide better diagnostics than "The server shut down unexpectedly."
2 participants