Skip to content

CLI Overview

ctk provides a traditional command-line interface alongside its MCP server mode. All CLI commands support a --json flag for raw JSON output.

FlagDescription
--jsonOutput raw JSON instead of formatted tables
--versionPrint the ctk version
--helpShow help for any command

By default, ctk outputs human-readable formatted tables. Use --json for raw JSON:

Terminal window
# Formatted table output
ctk spaces list
# Raw JSON output
ctk spaces list --json