> ## 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.

# Register MCP OAuth client

> Dynamically register a public OAuth client for the MCP endpoint. Public clients hold no secret, so authorization is protected by PKCE and an explicit consent step.



## OpenAPI

````yaml /openapi.json post /mcp/register
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/register:
    post:
      tags:
        - MCP
      summary: Register MCP OAuth client
      description: >-
        Dynamically register a public OAuth client for the MCP endpoint. Public
        clients hold no secret, so authorization is protected by PKCE and an
        explicit consent step.
      operationId: registerMcpOAuthClient
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                redirect_uris:
                  type: array
                  items:
                    type: string
                    maxLength: 2048
                  minItems: 1
                client_name:
                  type: string
                  maxLength: 100
                token_endpoint_auth_method:
                  type: string
                  enum:
                    - none
                grant_types:
                  type: array
                  prefixItems:
                    - type: string
                      enum:
                        - authorization_code
                response_types:
                  type: array
                  prefixItems:
                    - type: string
                      enum:
                        - code
              required:
                - redirect_uris
      responses:
        '200':
          description: Registered OAuth client
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/McpClientRegistration'
        '400':
          description: Invalid client metadata
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OAuthError'
      security: []
components:
  schemas:
    McpClientRegistration:
      type: object
      properties:
        client_id:
          type: string
        client_id_issued_at:
          type: number
        redirect_uris:
          type: array
          items:
            type: string
        client_name:
          type: string
        token_endpoint_auth_method:
          type: string
          enum:
            - none
        grant_types:
          type: array
          items:
            type: string
            enum:
              - authorization_code
        response_types:
          type: array
          items:
            type: string
            enum:
              - code
      required:
        - client_id
        - client_id_issued_at
        - redirect_uris
        - token_endpoint_auth_method
        - grant_types
        - response_types
    OAuthError:
      type: object
      properties:
        error:
          type: string
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key or session token (Bearer)

````