Files
coder/coderd
Steven Masley 43db8282b0 feat(chatd/mcpclient): overlay user-set custom headers at runtime
ConnectAll grows a fourth indexed input — []database.McpServerUserHeaderValue —
which buildAuthHeaders consults inside the custom_headers branch to
overlay per-user values on top of admin static headers, scoped to
cfg.CustomHeadersUserKeys.

chatd loads the user's stored header values via
GetMCPServerUserHeaderValuesByUserID alongside the existing
GetMCPServerUserTokensByUserID call and threads them into ConnectAll.

A missing row is non-fatal: admin headers still ship, user-keyed
headers are simply absent and a warning is logged.
2026-05-29 19:18:38 +00:00
..