fix: wire token_endpoint_auth_method through load_servers_from_config for YAML support

This commit is contained in:
Ishaan Jaffer 2026-03-07 12:59:20 -08:00
parent dcd0722da9
commit ad8898b8d3

View file

@ -326,6 +326,9 @@ class MCPServerManager:
authorization_url=resolved_authorization_url,
token_url=resolved_token_url,
registration_url=resolved_registration_url,
token_endpoint_auth_method=server_config.get(
"token_endpoint_auth_method", "post"
),
# TODO: utility fn the default values
transport=server_config.get("transport", MCPTransport.http),
auth_type=auth_type,