TypeError: AsyncClient.init() got an unexpected keyword argument 'proxies' with httpx 0.28+
Description:
The fetch server fails when using the [--proxy-url] argument with httpx version 0.28.x due to an API change in httpx.
Environment:
mcp-server-fetch version: 2025.4.7 (latest)
httpx version: 0.28.1
Python version: 3.12
Error: TypeError: AsyncClient.init() got an unexpected keyword argument 'proxies'
Steps to Reproduce:
Install mcp-server-fetch with httpx 0.28+
Run with proxy: python -m mcp_server_fetch --proxy-url http://localhost:9000
Attempt to fetch any URL
References:
httpx changelog:
https://github.com/encode/httpx/blob/master/CHANGELOG.md (0.28.0 release notes mention the proxies → proxy rename)