MCP

Start MCP authorization

Changed on

Begin an MCP OAuth authorization. Redirects the browser to the Kaneo consent page, which then approves or denies the request.

get/mcp/authorize

Request

  • Base URL
    https://cloud.kaneo.app/api
  • URL
    https://cloud.kaneo.app/api/mcp/authorize
  • Auth
    none required

Query parameters

response_type'code' required
client_idstring required
redirect_uristring required
code_challengestring required

PKCE challenge; only S256 is accepted.

code_challenge_method'S256' required
statestring

Opaque client state, returned unchanged. The complete authorization URL is limited to 8 KiB.

Changes

    • breaking

      for the query request parameter client_id, the minLength was increased from 0 to 1

    • breaking

      added the pattern ^[A-Za-z0-9_-]{43}$ to the query request parameter code_challenge

    • warning

      for the query request parameter client_id, the maxLength was set to 128

    • warning

      for the query request parameter state, the maxLength was set to 1024

    • info

      for the query request parameter code_challenge, the minLength was decreased from 1 to 0

    • info

      added the optional property to the response with the status