Method WithBearerToken
WithBearerToken(string)
Sets the Bearer token for authentication (HTTP transport only).
public McpClientBuilder WithBearerToken(string token)
Parameters
tokenstringThe Bearer token.
Returns
- McpClientBuilder
This builder instance for method chaining.