> ## Documentation Index
> Fetch the complete documentation index at: https://kaneo.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Get consent request

> Get the client name and redirect URI for a pending consent request, so the consent page can show who is asking.



## OpenAPI

````yaml /openapi.json get /mcp/authorize/request/{requestId}
openapi: 3.1.0
info:
  title: Kaneo API
  version: 1.0.0
  description: Kaneo Project Management API - Manage projects, tasks, labels, and more
servers:
  - url: https://cloud.kaneo.app/api
    description: Kaneo API Server
security:
  - bearerAuth: []
paths:
  /mcp/authorize/request/{requestId}:
    get:
      tags:
        - MCP
      summary: Get consent request
      description: >-
        Get the client name and redirect URI for a pending consent request, so
        the consent page can show who is asking.
      operationId: getMcpAuthorizationRequest
      parameters:
        - schema:
            type: string
          required: true
          name: requestId
          in: path
      responses:
        '200':
          description: Authorization request details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpAuthorizationRequest'
        '400':
          description: Invalid OAuth client
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuthError'
        '404':
          description: Unknown or expired authorization request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuthError'
      security: []
components:
  schemas:
    McpAuthorizationRequest:
      type: object
      properties:
        client_name:
          type: string
        redirect_uri:
          type: string
      required:
        - client_name
        - redirect_uri
    OAuthError:
      type: object
      properties:
        error:
          type: string
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````