Skip to content

McpHeaders ​

ts
type McpHeaders = 
  | Record<string, string>
  | (() => 
  | Record<string, string>
  | Promise<Record<string, string>>);

Static headers, or a function resolved once per investigation (short-lived tokens, secret managers, ...).