Patch release fixing OAuth connections to MCP servers using Google OAuth (e.g., retrieval-hub).
Fix
Passing a manually constructed OAuth object to the FastMCP Client caused a resource URL mismatch — the server rejected the token request with invalid_target. The fix passes 'oauth' as a string to Client(), letting it manage the full OAuth lifecycle internally so endpoint discovery, dynamic client registration, and token exchange all use consistent URLs.
Install
npx -y mcp-test-mcp@0.5.2