Honor required MCP servers from selected executors (#39952)

## What changed

- Preserve the `required` setting on HTTP MCP servers discovered from a selected executor.
- Cover delayed startup for a required executor MCP server and verify its tool is available on the first turn.

GitOrigin-RevId: df66e12233b8e1aaa7744e29c154157af8dc4776
This commit is contained in:
jif authored and copyberry committed 2026-08-21 15:15:05 +00:00
1 parent 00a7b888b2
commit 054588acfe
2 files changed
+33 -25

No files matched your search

-2
View File
@@ -191,8 +191,6 @@ impl Session {
{
continue;
}
// Selected executors can attach after startup, so their MCPs are best effort.
server.required = false;
let McpServerTransportConfig::StreamableHttp {
env_http_headers,
http_headers_helper,