Skip to main content
POST
Start MCP device authorization

Body

application/x-www-form-urlencoded
client_id
string
required
Required string length: 1 - 2048
resource
string<uri>
required

Exact Locus Pro MCP resource URL.

scope
string
Maximum string length: 512
Example:

"mcp:read mcp:execute offline_access"

Response

Pending device authorization

device_code
string
required

Secret device grant credential. Keep it only in the client that initiated the device flow and do not log it.

Pattern: ^lmo_dc_[A-Za-z0-9_-]{43}$
user_code
string
required

Human-readable code that omits ambiguous characters. Display it exactly as returned.

Pattern: ^[A-HJ-NP-Z2-9]{4}-[A-HJ-NP-Z2-9]{4}$
verification_uri
string<uri>
required
verification_uri_complete
string<uri>
required
expires_in
integer
required
interval
integer
required

Initial minimum token-poll interval in seconds. A slow_down response increases it by five seconds, up to 60 seconds.