Start OAuth
immich_start_o_authInitiate OAuth authorization for Immich by posting a redirect URI and optional state or PKCE code challenge, enabling MCP clients to start the authentication flow.
Instructions
Start OAuth
Initiate the OAuth authorization process.
Immich operation: POST /oauth/authorize · tag: Authentication
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"redirectUri": "<redirectUri>"
},
"name": "immich_start_o_auth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | state (request body) | |
| redirectUri | Yes | redirectUri (request body) | |
| codeChallenge | No | codeChallenge (request body) |