Browse documentation
CLI

Install and sign in

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

Requirements

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

Install

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

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

Sign in

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

foxcut auth status
foxcut auth logout

The CLI opens a loopback callback against production FoxCut, 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.