Skip to main content

Get Auth Status

GET /api/auth/status
Check whether authentication is enabled for the HTTP API.
{
  "enabled": false
}

Enable Auth (Tauri IPC)

invoke('enable_auth')
Enables authentication on the MCP HTTP API. Once enabled, API requests require a valid token.
{
  "enabled": true,
  "token": "cb_xxxxxxxxxxxxxxxxxxxx"
}
Save the token immediately — it is only shown once. If lost, disable and re-enable auth to generate a new token.

Disable Auth (Tauri IPC)

invoke('disable_auth')
Disables authentication. All API requests will be accepted without a token.
{
  "enabled": false
}

Get Auth Info (Tauri IPC)

invoke('get_auth_info')
Returns authentication details including the Claude CLI login status and API key information.