Skip to main content

ConsentResponse

The URL the consent page must navigate the browser to.

redirectTostring

On approval, the redirect_uri with code (and state) appended. On refusal, the same URI with error=access_denied.

Example: https://claude.ai/api/mcp/auth_callback?code=uysot_code_9f86d081884c7d659a2feaa0c55ad015&state=xyz
ConsentResponse
{
"redirectTo": "https://claude.ai/api/mcp/auth_callback?code=uysot_code_9f86d081884c7d659a2feaa0c55ad015&state=xyz"
}