tools

Mcp Oauth Callback

Handle OAuth callback for MCP server authentication.

get/v1/tools/mcp/oauth/callback/{session_id}

Request

  • Base URL
    https://app.letta.com
  • URL
    https://app.letta.com/v1/tools/mcp/oauth/callback/{session_id}
  • Auth
    HTTP bearer

Path parameters

session_idstring required

Query parameters

codestring nullable

OAuth authorization code

statestring nullable

OAuth state parameter

errorstring nullable

OAuth error

error_descriptionstring nullable

OAuth error description

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 36 revisions of this API.