python-sdk icon indicating copy to clipboard operation
python-sdk copied to clipboard

Need to add verify=False to steamablehttp_client

Open lairdresearch opened this issue 8 months ago • 0 comments

Is your feature request related to a problem? Please describe. To run testing on local servers, I would like the option to not verify certificates.

Describe the solution you'd like the streamablehttp_client needs a verify=False option. httpx clients allow this option, but the client factories with MCP do not have that option available.

Describe alternatives you've considered I can see that a custom create_mcp_http_client factory can be created, but it simply results in recoding the existing 20+ line function with one extra call.

Additional context it might be better to pass any **kwargs directly to HTTPSteamable client from the factory function -- this would include the option for a verify arguement.

lairdresearch avatar May 28 '25 08:05 lairdresearch