Skip to main content
POST
Preview and normalize an MCP authorization request
Examples are synthetic; the documentation cannot submit requests.

Authorization

Authenticated Liftx Settings session. API keys, TradingView capabilities and MCP access tokens cannot authenticate this application route. Use Settings → Integrations; the public API hostname does not provide session access.

Behavior

The response contains client_name, normalized authorization, all five supported allowed_scopes and the exact resource. Preview validates the callback/client pairing, resource, state and PKCE challenge. It does not create a credential, issue a code or consume fresh approval. Client labels come from callback policy; a local callback does not attest a provider identity.

JSON body example

This is a synthetic local-client shape. The actual client owns registration, callback, state and PKCE challenge. Do not manually construct consent from a chat or substitute a different client request. Fixed timestamps are illustrative.

Response and errors

Success is 200 with normalized metadata. An omitted/empty authorization scope defaults to read; duplicate or unknown scope names are rejected. The original client request is preserved. All five permission choices remain available independently of that request; only read starts enabled in Settings. The account owner selects the grant’s permissions and authorizes them through Continue and fresh identity verification. Preview is outside the issuance limiter and retains bounded request/concurrency admission. An MCP service refusal uses 503 with {error:"temporarily_unavailable",error_description,iss}; other validation/admission failures retain the documented integration error envelope. Check status and content type. Unknown/duplicate JSON fields and compressed bodies are rejected; request size is limited to 256 KiB. See Settings contract and MCP authorization.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
authorization
object
required

Response

Normalized metadata; no authorization grant is created

client_name
enum<string>
required
Available options:
Claude,
ChatGPT,
Local MCP client
authorization
object
required
allowed_scopes
enum<string>[]
required

All five supported permission choices, independently of authorization.scope. Availability grants no access; Settings enables only read by default. Continue submits the selected permissions for fresh identity verification and request-bound approval.

Required array length: 1 - 5 elements
Available options:
read,
positions:open,
positions:modify,
positions:terminate,
templates:write
resource
string
required
Allowed value: "https://mcp.liftx.io/mcp"