Skip to content

Provide notification of server connection loss #438

@AArnott

Description

@AArnott

Is your feature request related to a problem? Please describe.

A client should be notified when a STDIO server unexpectedly terminates (e.g. a crash) so that tool lists can be updated and optionally restart the server.

Describe the solution you'd like

Add an Exited event to StdioClientTransport. It should provide the exit code and at least the tail of the STDERR from the process as well, similar to what you did for #362. The idea being we can include any crash data in the logs for user inspection to resolve whatever issue led to the crash.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions