The specify CLI

Sign a computer in to Specify Work, sync your skills and connect your agents from the terminal.

Install

Install the specify command from npm. Connector 0.6.0 is published and includes OAuth sign-in and setup-token for unattended jobs.

It needs Node 20.16 or later. OAuth keeps only a refresh token in this computer's credential store, or in ~/.specify/oauth.json, readable only by you, when that store does not answer. Windows sign-in is built but has not been verified on a real Windows machine.

Command · Terminal
npm install --global @specify-work/connector@0.6.0

Sign this computer in

Run specify login. It opens your browser to sign in with OAuth and approve this computer's access. On SSH or a computer without a browser, specify login --device gives a code to enter on another device. Signing out forgets this computer's sign-in; revoke the agent in Settings, Connected agents to end its access.

Command · Terminal
npx -y @specify-work/connector@0.6.0 login

Connect an unattended job

Run the published connector's setup-token command and approve the job's access in your browser. The token appears only in your terminal. Save it in your job's secret store as SPECIFY_OAUTH_TOKEN; do not put it in source control. Settings, Connected agents lists its access and end date and lets you revoke it.

Installing 0.6.0 does not add permissions. Hosted tools are discovered under the access you allowed. Podcast script tools are not available to OAuth agents in this release because their permissions are not offered in OAuth consent.

Command · Terminal
npx @specify-work/connector@0.6.0 setup-token

Sync skills and connect agents

specify skills sync installs your approved skills in Claude Code, Codex and Cursor. specify skills setup shows how to connect another agent. The mcp install command below adds connector 0.6.0 as the local Specify MCP server to Claude Code, Codex and Cursor; it asks before changing configuration. This uses the computer’s Specify CLI sign-in, not a separate sign-in for each app. Run specify --help for every command.

Agents can also reach the hosted Specify MCP server by adding https://mcp.specifywork.com/api/mcp and signing in with OAuth. No key is needed in the client configuration.

Connection guide

Command · Terminal
npx -y @specify-work/connector@0.6.0 mcp install