@onrelay/cli
v0.1.5
Published
CLI installer and auth flow for Relay MCP and project memory
Downloads
590
Readme
Relay CLI
Relay CLI installs and authenticates Relay MCP for local coding tools.
Install
npm install -g @onrelay/cli
relay installCommands
relay install [--api-base URL] [--no-browser]
relay auth login [--api-base URL] [--no-browser]
relay auth logout
relay auth status
relay brief [projectId] [--profile KEY] [--kind fresh_chat_bootstrap|quick_continuity]
relay status [projectId]
relay projects list
relay projects switch <project-id-or-slug>
relay uninstallBrowserless auth
If you are on SSH, inside a remote dev box, or on a machine without a GUI, use:
relay auth login --no-browserRelay prints the approval URL and session code so you can open it manually on another device.
Supported setup flow
- Detects supported MCP client config locations
- Writes Relay MCP config into local tooling config files
- Installs the Relay skill file for supported agents
- Saves Relay auth in
~/.relay/mcp.json
Uninstall
relay uninstallThis removes the relay MCP entry from detected tool config files, removes Relay skill files where installed, and clears local CLI credentials.
Troubleshooting
- macOS/Linux: make sure your global npm bin path is on
PATH - Windows: restart the shell after global install if
relayis not found - Remote shells / CI: use
--no-browser - Custom Relay host: use
--api-base https://your-relay-host
Release
Local dry run:
pnpm release:cli:dry-runPublish:
pnpm release:cliIf you publish manually, run the release commands locally after bumping the package version.
