CLI

Seiton CLI

Query analytics and manage websites, tokens, and expenses from the terminal. The CLI is a wrapper around the Seiton API — useful for AI agents and LLMs.

AI agent or LLM? Read this page as markdown

Install

npx @seiton/cli login
# or
npm install -g @seiton/cli

That installs a binary named seiton.

Authenticate

seiton login

Opens Settings → API / MCP. Paste the sei_ token. Saved at ~/.config/seiton/config.json.

echo $SEITON_TOKEN | seiton login
seiton login --token sei_xxx

Commands

Omit --project and the CLI asks, or uses the only website in scope.

  • seiton projects list
  • seiton health
  • seiton briefing
  • seiton analytics [--period 7d]
  • seiton revenue
  • seiton churn
  • seiton seo
  • seiton integrations list
  • seiton integrations sync --provider stripe
  • seiton tokens list

Global flags and environment

  • --json — compact JSON for agents
  • --verbose — request URL and status on stderr
  • SEITON_TOKEN — override the saved token
  • SEITON_API_BASE — default https://www.seiton.online/api/v1
seiton logout

Docs · API · MCP · CLI · Create a token · hello@seiton.online