Repository navigation
Commit 5c8a76a
Hernán Arce
fix(mcp): detect transport close and update status to failed
Detect when MCP client transport closes unexpectedly (server crash,
network drop, process exit) and immediately mark the connection status
as 'failed' instead of leaving it as 'connected'.
This fixes the issue where the TUI/API would continue to show MCP
servers as online (green) even though they had stopped responding.
Fixes anomalyco#239971 parent f033d2d commit 5c8a76a
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
472 | 472 | | |
473 | 473 | | |
474 | 474 | | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
475 | 484 | | |
476 | 485 | | |
477 | 486 | | |
| |||
484 | 493 | | |
485 | 494 | | |
486 | 495 | | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
487 | 500 | | |
488 | 501 | | |
489 | 502 | | |
| |||
0 commit comments