# `GET /mcp/authorize` Protected. Requires a valid session cookie (`credentials: 'include'`). Get MCP authorization prompt details Fetches client information and current user context for the frontend MCP authorization consent screen. ## Query parameters | Param | Required | Type | Description | |-------|----------|------|-------------| | `client_id` | yes | string | | | `redirect_uri` | yes | string | | | `response_type` | no | string | | | `code_challenge` | no | string | | | `code_challenge_method` | no | string | | | `state` | no | string | | | `scope` | no | string | | ## Response `200` Client and user consent metadata ## Errors | Status | Description | |--------|-------------| | 400 | Invalid request or unregistered redirect_uri | | 401 | User not authenticated | | 404 | Client not found | --- _Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._