This page is written for an AI agent. If you are a person, give your agent this prompt and it does the rest:
Set up Workover for me by following https://workover.io/docs/setup.md
To do it yourself instead, follow Set up your agent.
Answer this first: what kind of agent are you?
You can run commands and edit files (Claude Code, Codex, Cursor, a terminal agent): do the setup yourself. Follow every step below. You need the person once, to approve the sign-in in their browser.
You are a hosted chat assistant (you cannot run commands on the person's computer): you cannot install anything. Tell the person, in one short message, to run the commands in steps 2 to 5 in their own terminal, then stop.
Ground rules
Keep messages to the person short. Say what you are about to do, do it, and report the result.
Ask before you add any permission beyond the default (step 3). The default lets you read documents and propose edits that a person accepts or rejects. Nothing you do with it changes a document without review.
Before you edit an agent config file, read it and keep a copy, so the person can undo the change.
Never publish, delete or change billing. The CLI and the MCP server cannot do these, and you should not try another way.
Never print, copy or share the token in
~/.workover/config.json.
1. Check for an existing sign-in
Run:
workover whoami
If it prints an account and a server, the CLI is installed and signed in. Skip to step 4.
If the command is not found, go on to step 2. If it says the person is not signed in, go to step 3.
2. Install the CLI
The CLI needs Node.js 20 or later. Check with node -v, then install:
npm i -g @workover/cli
If a global install is not allowed on this machine, use npx -y @workover/cli in place of workover in every command below.
3. Sign in (the person approves once)
Run the sign-in with a name for this connection, so the person recognizes it:
workover login --client "Claude Code"
Use your own name in place of Claude Code. The command prints a code and a link, opens the person's browser, and waits for up to 10 minutes.
Send the person one message, for example:
Workover opened a page in your browser. Check that the code there matches WDJB-MJHT (the code the command printed), then click Approve. If no page opened, go to the link printed after "Approve it here:".
When they approve, the command finishes and prints that you are signed in.
Only add these flags if the person asks for what they grant:
Flag | What it adds |
|---|---|
| Edit documents directly, with no suggestion to review |
| Run Workover AI drafts and checks, which spend AI credits |
| Add rules to the workspace style guide |
4. Connect the MCP server
The MCP server uses the same sign-in as the CLI. Add it to the client you are running in.
Claude Code:
claude mcp add workover -- npx -y @workover/mcp
workover install-claude
The second command installs a skill that teaches Claude Code to open Workover document links.
Cursor: add this to ~/.cursor/mcp.json, keeping any servers already there:
{
"mcpServers": {
"workover": { "command": "npx", "args": ["-y", "@workover/mcp"] }
}
}
Codex: add this to ~/.codex/config.toml:
[mcp_servers.workover]
command = "npx"
args = ["-y", "@workover/mcp"]
VS Code: add this to .vscode/mcp.json in the workspace:
{
"servers": {
"workover": { "type": "stdio", "command": "npx", "args": ["-y", "@workover/mcp"] }
}
}
Any other MCP client: add a local (stdio) server whose command is npx with the arguments -y @workover/mcp.
5. Verify, then hand off across the restart
Check that the sign-in works:
workover whoami
workover projects
projects lists the projects the person can reach, with their ids.
A newly added MCP server is not available in the session that added it. Tell the person, in one message, that setup is done and that they need to start a new session (or reload the MCP servers) for the Workover tools to appear. Tell them how to undo it: claude mcp remove workover, or restore the config file you backed up, and revoke the device under Settings > Developer > Connected devices.
6. Offer a first task
In the new session, the Workover tools are named workover_search_docs, workover_read_doc, workover_propose_edit and so on. Call workover_style_guide before you write anything, and follow its rules.
Offer one concrete first task, for example:
"Find the document about invoices and check it against the current billing page."
"Read the Quickstart and propose a tighter introduction."
Your edits arrive as suggestions in the document. The person reviews them in Workover.
If something goes wrong
"The code expired." Codes last 10 minutes. Run
workover loginagain."Approval was denied." The person clicked Deny. Ask whether they want to try again.
A tool returns a permission error. The token lacks the scope for it. Ask the person before signing in again with the flag the CLI and MCP reference lists.
"Not signed in to Workover" from the MCP server. Run
workover login, then restart the session.The person uses a Workover server other than workover.io. Set
WORKOVER_APIto its API address beforeworkover login.
For anything else, the person can contact support: see Contacting support.