Repro Steps
Start the service but with invalid arguments. In this case, "--transport sse" is not supported.
dotnet .\azmcp.dll server start --transport sse --mode all --read-only
Expected
It exits with some error.
Actual
Hangs. Looks like an exception is also being thrown:
Exception thrown: 'System.IO.IOException' in System.Net.Sockets.dll
Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..
Repro Steps
Start the service but with invalid arguments. In this case, "--transport sse" is not supported.
dotnet .\azmcp.dll server start --transport sse --mode all --read-onlyExpected
It exits with some error.
Actual
Hangs. Looks like an exception is also being thrown: