MCP

Approve or deny an MCP device authorization

Resolves one pending device request for the explicitly selected active membership. Approval reserves connection-plan capacity until the client exchanges the device code or the 15-minute request expires. A same-client retry by the same person supersedes its unfinished reservation.

post/credits/mcp/oauth/device/decision

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/mcp/oauth/device/decision
  • Auth
    HTTP bearer

Headers

X-Locus-Tenant-Idstring uuid

Explicit account selection for a signed-in identity with multiple active memberships.

Request body

userCodestring required

Case-insensitive device-code input. Locus ignores non-alphanumeric punctuation, rejects ambiguous characters, and normalizes the six significant characters to XXX-XXX.

allowboolean required

Response

Request approved or denied

successunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.