Browse documentation
CLI

Install and sign in

Install the TrueCut CLI and authorize it through the same OAuth server used by MCP clients.

Requirements

  • Node.js 20 or newer
  • A running or deployed TrueCut server
  • A browser for the first sign-in

Install

Example
npm install -g @truecut/cli
truecut --help

The published package is @truecut/cli on npm. Node.js 20 or newer is required.

Sign in

Example
truecut auth login
# Browser and CLI on different machines:
truecut auth login --manual

truecut auth status
truecut auth logout

The CLI opens a loopback callback against production TrueCut, performs dynamic client registration and PKCE, stores the resulting token file with owner-only permissions, refreshes expired access tokens, and revokes tokens on logout. Manual mode keeps the production completion page open so you can paste its one-time callback URL into a remote terminal.