Skip to main content
There is one credential. The CLI holds it, and everything reads it: the REST API, the CDK, the skills, and the MCP bridge. Sign in once and nothing else needs configuring.
A new account starts with 100 free credits and needs no card. --email mails a one-time code and creates the account and a workspace on first use.

Methods

In an agent or sandbox shell with no terminal to prompt at, the first --email call sends the code and exits. Re-run it with --code.

Calling the API

See API Reference for the rest of the surface.

OAuth

Authorization-server metadata (RFC 8414): https://auth.getcargo.io/.well-known/oauth-authorization-server. Device code, authorization code with PKCE (S256), registration, and revocation. The product MCP server at https://mcp.getcargo.io challenges with OAuth. See MCP servers.

Machine-readable walkthrough

The WorkOS auth.md walkthrough — Discover, Pick a method, Register, Claim, Use, Revocation — is https://www.getcargo.ai/auth.md.