mirror of
https://github.com/software-mansion/argent.git
synced 2026-09-14 19:27:14 +08:00
03ed5511c7
The MCP server is the primary client of a linked tool-server and had no assertion on any request header, so neutering its flagHeaders() left the whole suite green. Drives startMcpServer over a linked in-memory transport with only stdio and the local spawn faked, so the routing gate and the header merge both run for real: a merge that adds flags while dropping Authorization, Content-Type or X-Argent-AI-Client now fails, as does one that forwards on the local auto-spawn path.