Sort CLI
sortdo is Sort’s command line. It works in your workspace as you, with your permissions, the same way Sort AI and AI apps do. It is made for two kinds of users:
- People in a terminal. Find a page, read it as Markdown, publish release notes from a file.
- Coding agents such as Claude Code, Codex and Cursor. One command per call, plain text back, so an agent uses fewer tokens than with an MCP server.
curl -fsSL https://sort.do/install | bashsortdo loginsortdo search onboarding guideWindows: irm https://sort.do/install.ps1 | iex. Other ways to install: Install and update.
What it can do
Section titled “What it can do”Every tool on the Sort server is a command. The server sends the list, so new tools appear without a new sortdo release.
sortdo search release notes # titles and URLssortdo read <page id or URL> # a page as Markdown, lines numberedsortdo pages create --title "Release notes 1.4" --file notes.md --team <team id> --publishsortdo pages edit <page> --replace "old text" --with "new text"sortdo teams listsortdo comments add --page-id <id> --text "Looks good"sortdo notifications list --jsonsortdo --help lists the commands, and sortdo <command> --help shows the actions and options. The full list is in the command reference.
Safe by default
Section titled “Safe by default”sortdosigns in through your browser. You allow it on a Sort page that shows the same code as your terminal. See Sign in.- Your sign-in is in your computer’s keychain.
- Actions that cannot be undone, reach other people or give access wait for your approval in Sort, the same as for AI apps. See Permissions and approvals.
- The source and every release are public at github.com/sortdo/cli.
CLI or MCP?
Section titled “CLI or MCP?”Both give the same tools and permissions. Use the CLI when you or your agent can run shell commands: Claude Code, Codex, Cursor’s agent, CI jobs and scripts. Use the MCP server for chat apps without a shell, such as Claude and ChatGPT.