Browse documentation
CLI

Install and sign in

Install the repository 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
git clone <your-truecut-repository>
cd higgs
npm install -g ./packages/truecut-cli
truecut --help

Sign in

Example
truecut auth login --server http://localhost:3000
truecut auth status
truecut auth logout

The CLI opens a loopback callback, performs dynamic client registration and PKCE, stores the resulting token file with owner-only permissions, refreshes expired access tokens, and revokes tokens on logout.