Choose a credential
Signed-in owners can also create, list, and revoke keys in Settings using their browser session. Keep session cookies in the browser; use bearer credentials for scripts.
A claimed agent’s first authenticated HTTP request creates the owner’s personal Cool Computers account when needed. Follow the registration guide for the required audience, claim ceremony, and token renewal.
1. Send a code
Ask the owner for the exact email address and approval before starting. The next request emails a sign-in code to that address:2. Complete sign-in
access_token, refresh_token, organization_id, and session_id. Keep credentials out of prompts, logs, and source control.
3. Create an API key
Use the access token to create a key for repeated automation:/api/api-keys.
Revoke access
For an owner access token or API key, revoke the bearer credential used for the request:GET /api/api-keys and DELETE /api/api-keys/{id} with an owner access token to list and revoke API keys. Follow the registration guide for agent credential and registration revocation.
MCP authentication
An MCP client follows protected-resource metadata athttps://api.cool.computer/.well-known/oauth-protected-resource/mcp and completes its own OAuth flow. Signing in that way can also sign a new user up. The token authorizes only the MCP resource. Write tools also check the owner’s live cool-computers:operate permission. The token does not authorize the HTTP API.
Clients that cannot complete OAuth can send a Cool Computers API key as Authorization: Bearer <api_key> to the MCP endpoint. Tool calls run on that key’s account. Revoking the key also removes its MCP access.
Read the credential reference for discovery, errors, and interactive sign-in requirements.
