Skip to content

v0.5.2 — Fix OAuth resource URL mismatch with Google auth

Latest

Choose a tag to compare

@rdwj rdwj released this 04 Sep 18:05
· 2 commits to main since this release

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

npm

https://www.npmjs.com/package/mcp-test-mcp/v/0.5.2