Eric Traut
343074d420
Report runtime MCP connection status ( #40068 )
...
## Why
MCP inventory can be cached or collected separately from a thread's live
connections, so tool availability alone does not describe the current runtime
state.
## What changed
- Add a nullable `runtimeStatus` to `mcpServerStatus/list` for thread-scoped
requests, covering not-started, starting, connected, authentication-required,
failed, cancelled, and disabled connections.
- Observe published connection state without starting or reconnecting servers,
and return an unknown status when no thread is supplied or the active
configuration no longer matches the published registration.
- Show connection state and tool counts in the compact `/mcp` view while
retaining the detailed inventory in `/mcp verbose` and compatibility with
servers that omit `runtimeStatus`.
## Testing
- Cover runtime status transitions, deferred and disabled servers, closed
transports, configuration changes, protocol compatibility, and TUI rendering.
GitOrigin-RevId: e3bb6efe652f0fa8b3c97d5c53e4729b3a87cd91
2026-08-22 05:54:43 +00:00
..
2026-08-22 05:54:43 +00:00
2026-08-17 22:31:13 +00:00
2026-08-21 19:23:26 +00:00
2026-08-21 19:47:49 +00:00
2026-08-17 00:32:09 +00:00
2026-08-14 20:23:49 +00:00
2026-08-22 05:54:43 +00:00
2026-08-17 16:34:21 +00:00
2026-08-13 04:08:23 +00:00
2026-08-21 06:19:23 +00:00
2026-08-21 06:19:23 +00:00
2026-07-29 14:01:31 +00:00
2026-08-17 21:06:34 +00:00
2026-08-17 19:59:22 +00:00
2026-08-17 16:58:24 +00:00
2026-08-20 05:49:49 +00:00
2026-08-17 19:59:22 +00:00
2026-08-14 16:33:28 +00:00
2026-08-21 18:47:03 +00:00
2026-08-19 04:46:58 +00:00
2026-08-17 19:49:47 +00:00
2026-08-14 20:23:49 +00:00
2026-08-20 06:39:20 +00:00
2026-08-17 21:49:30 +00:00
2026-08-13 00:30:08 +00:00
2026-07-21 14:25:18 +00:00
2026-08-21 19:23:26 +00:00
2026-07-22 23:45:45 +00:00
2026-08-21 06:08:26 +00:00
2026-08-21 06:19:23 +00:00
2026-07-23 23:13:59 +00:00
2026-08-04 16:53:33 +00:00
2026-08-21 19:23:26 +00:00
2026-08-18 00:31:51 +00:00
2026-08-20 06:57:00 +00:00
2026-08-17 21:06:34 +00:00
2026-08-17 22:58:25 +00:00
2026-08-14 20:23:49 +00:00
2026-08-21 19:20:09 +00:00
2026-08-17 16:50:47 +00:00
2026-08-16 03:14:17 +00:00
2026-08-16 03:14:17 +00:00
2026-08-04 16:53:33 +00:00
2026-08-21 19:23:26 +00:00
2026-07-29 03:50:00 +00:00
2026-08-13 04:08:23 +00:00
2026-08-13 04:08:23 +00:00
2026-08-20 06:39:20 +00:00
2026-08-01 17:43:03 +00:00
2026-08-21 18:47:03 +00:00
2026-08-21 06:19:23 +00:00
2026-08-20 07:25:40 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-08-11 19:16:15 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00
2026-07-19 16:50:54 +00:00
2026-08-21 19:23:26 +00:00
2026-08-14 20:23:49 +00:00
2026-08-17 17:10:16 +00:00
2026-08-17 22:31:13 +00:00
2026-08-05 20:44:03 +00:00
2026-08-17 22:44:37 +00:00
2026-08-14 20:30:30 +00:00
2026-08-17 19:59:22 +00:00
2026-08-18 23:05:52 +00:00
2026-08-17 17:14:46 +00:00
2026-08-18 23:05:52 +00:00
2026-07-29 13:53:15 +00:00
2026-08-19 02:45:45 +00:00
2026-08-19 02:45:45 +00:00
2026-08-21 19:23:26 +00:00
2026-08-21 19:23:26 +00:00
2026-08-17 22:44:37 +00:00
2026-08-19 02:45:45 +00:00
2026-08-14 20:59:34 +00:00
2026-08-20 07:25:40 +00:00
2026-08-20 07:25:40 +00:00
2026-08-17 17:10:16 +00:00
2026-07-20 15:44:37 +00:00
2026-08-21 19:23:26 +00:00
2026-08-16 05:59:34 +00:00
2026-08-18 00:31:51 +00:00
2026-08-15 05:53:54 +00:00
2026-08-21 06:08:26 +00:00
2026-08-14 20:38:52 +00:00
2026-08-14 20:38:52 +00:00
2026-08-01 17:43:03 +00:00
2026-08-22 05:54:43 +00:00
2026-08-17 20:06:41 +00:00
2026-07-27 17:59:06 +00:00
2026-08-14 20:23:49 +00:00
2026-08-13 00:30:08 +00:00
2026-07-29 14:01:31 +00:00
2026-08-13 04:08:23 +00:00
2026-08-20 07:58:28 +00:00
2026-08-04 19:05:45 +00:00
2026-08-15 17:30:13 +00:00
2026-08-20 06:39:20 +00:00
2026-08-20 07:25:40 +00:00
2026-08-20 07:25:40 +00:00
2026-08-14 20:23:49 +00:00
2026-07-28 19:58:25 +00:00
2026-07-29 14:01:31 +00:00
2026-07-29 14:01:31 +00:00