This commit is contained in:
ReallyLiri 2025-05-12 11:09:44 +03:00
parent b75795cac2
commit 833faa7440

View file

@ -131,6 +131,14 @@ npx mcp-remote https://example.remote/server --transport sse-only
- `http-only`: Only uses HTTP transport, fails if the server doesn't support it
- `sse-only`: Only uses SSE transport, fails if the server doesn't support it
### Post-Auth Redirect URI
To customize the redirect behavior after an OAuth flow, include a `postAuthRedirectUri` query parameter in the request to the OAuth callback endpoint. This parameter specifies where users should be redirected after successful authentication.
Ensure that your server appends `postAuthRedirectUri` as a query parameter when invoking the `redirectUri`.
Once authentication is complete, users will be redirected to the specified URI instead of seeing the default "Authorization successful" message. This allows you to deliver a smoother user experience by guiding users to a custom post-authentication page.
### Claude Desktop
[Official Docs](https://modelcontextprotocol.io/quickstart/user)