MCPServerConfig.Headers Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets per-server HTTP headers, including the Authorization header populated
by AttachPerAudienceTokensAsync before tool connections are established.
Null until token attachment has run; callers should treat a missing Authorization
header as a signal to fall back to the shared ATG token.
public System.Collections.Generic.Dictionary<string,string>? Headers { get; set; }
member this.Headers : System.Collections.Generic.Dictionary<string, string> with get, set
Public Property Headers As Dictionary(Of String, String)