Create a short-lived MCP token for the local CLI bridge
Create a short-lived MCP token for the local CLI bridge
POST
/api/v1/cli/mcp/tokenExchanges the caller's CLI OAuth or personal API-token authority for a non-refreshable MCP access token. The requested Workspace must match the authenticated principal, and requested scopes may only narrow the parent credential. The grant records its parent credential so parent expiry or revocation immediately invalidates the derived token.
Request Body
Responses
Retry-After
integer·min 0Delay in seconds before retrying, when an expected maintenance end is known.
Cache-Control
string·const no-storePrevents storage of error responses by clients and intermediaries.
X-Request-ID
string·min 1·max 200Correlation identifier for the request.
X-Content-Type-Options
string·const nosniffPrevents user agents from MIME-sniffing the response.