Skip to content
Sign in

How-to

Use Zof from your terminal and coding tools

Updated

On this page

Run Zof code reviews from your terminal with the Zof CLI, or let a coding agent such as Claude Code read your company's Zof data over MCP. Each takes about 2 minutes. The same steps, with Copy buttons, are in Settings › Connected tools › Set up.

Zof CLI

The CLI runs code reviews, read-only Copilot questions and test runs from your terminal. It needs Node.js 22 or later.

  1. Install it: npm i -g @zof-ai/cli.
  2. Sign in: zof login. Your browser opens Zof; check the code matches the one in your terminal, then approve it.
  3. Review a pull request: zof review <pull request URL> --wait. The CLI waits for the review and prints it.

zof --help lists every command. The package is @zof-ai/cli on npm(opens in a new tab), and its README is on GitHub(opens in a new tab).

Claude Code (MCP)

  1. In a terminal, run claude mcp add --transport http zof https://mcp.zof.ai/mcp.
  2. In Claude Code, run /mcp, choose zof, then choose Authenticate.
  3. Pick your company and click Allow.

For the Zof plugin, which adds skills such as /zof:ship-check, see Connect coding agents (MCP).

Other coding tools

Add the MCP server URL https://mcp.zof.ai/mcp to your tool's MCP settings. A tool that supports MCP sign-in opens the Zof sign-in page. Settings › Connected tools has the setting for Cursor, VS Code, Codex and Windsurf; we have tested only Claude Code so far.

Check that it worked

Run zof auth whoami: the CLI shows who you're signed in as. In Claude Code, ask "what are our latest Zof test runs?"; the agent lists them, and Settings › Connected tools lists Claude Code with when it was last used.

Before you start

A coding tool can sign in only once an admin turns on Allow coding tools for this company in Settings › Connected tools. The CLI doesn't need it.

Every tool you connect is listed in Settings › Connected tools, where you can Revoke it.

Next steps