Every command in the Workover CLI (@workover/cli 0.23.0), every tool in the Workover MCP server (@workover/mcp 0.17.0), and the permission, or scope, each one needs. To install both and sign in, see Set up your agent.
The CLI and the MCP server share one sign-in. workover login stores a token in ~/.workover/config.json, and the MCP server reads the same file, so both have exactly the scopes you approved when you signed in.
Scopes
A token always holds read and propose. You add the others by passing a flag to workover login, and the browser lists every scope before you approve.
Scope | Login flag | What the approval screen says | What it unlocks |
|---|---|---|---|
| Always granted | Read your documents | Every command and tool marked Default below: listing, searching and reading documents, tabs, comments, activity and the style guide |
| Always granted | Suggest changes for you to review and accept | Also Default: proposing edits as suggestions, creating documents, uploading images, and adding or resolving comments |
|
| Publish to your connected WordPress sites, without asking again | The WordPress and Mintlify publishing routes of the HTTP API. No CLI command or MCP tool publishes. |
|
| Write drafts with AI. This spends AI credits, and signs in to the app you connected in Settings to capture screenshots |
|
|
| Edit your documents directly, with no suggestions for you to review |
|
|
| Add and change your style guide rules, which steer all future AI writing for everyone in the workspace |
|
|
| Set up and publish your Workover Help Center | Every |
draft spends AI credits and lets Workover sign in to your connected app with the credential stored in Workover. write replaces document text with no review step, so anything left out of the new text is deleted. rules changes the style guide for everyone in the workspace. Grant these only on a machine and agent you trust.
No scope reaches your account security, billing or token management. A token with publish still cannot push past a “WordPress is newer” conflict: a person has to resolve it in the browser.
CLI commands
In the tables below, Default means the command works with the read and propose scopes every token holds.
Every document command takes the numeric document id that workover doc list and workover doc search print as #123. Commands that take a body read it from --file <path>, or from standard input when you pipe text in. Add --json to most commands for machine-readable output.
Account
Command | What it does | Scope |
|---|---|---|
| Signs in through your browser. | None |
| Revokes this machine’s token and deletes the local file | None |
| Shows the server you are signed in to and the start of your token | None |
| Lists the projects you can reach, with their ids | Default |
Documents: workover doc
Command | What it does | Scope |
|---|---|---|
| Lists the documents in a project | Default |
| Finds documents by title and content. Default limit 10. | Default |
| Prints the document’s current text as Markdown, or HTML with | Default |
| Lists the document’s tabs | Default |
| Shows who changed the document and how, newest first. Default limit 20. | Default |
| Creates a document with the body written straight in. There is nothing to accept. | Default |
| Suggests a complete revised version. The changes appear as tracked-change suggestions for a person to accept or reject. | Default |
| Replaces the body with no review step |
|
| Changes the document’s title and leaves the body as it is |
|
| Adds an empty tab |
|
| Workover AI retakes the document’s screenshots from its text. |
|
| Workover AI checks the text against the project’s linked repository and corrects what it finds wrong. The result arrives as suggestions, or is written directly with |
|
doc write replaces the whole body of the document, or of one tab. Anything you leave out is deleted. Run doc read first and pass the complete document.
A document with tabs holds several separate bodies. read, propose and write act on one tab: without --tab they act on the main body only. Run doc tabs first.
Comments: workover comments
Command | What it does | Scope |
|---|---|---|
| Lists open comment threads. | Default |
| Adds a comment, a reply in a thread with | Default |
| Marks a thread resolved | Default |
| Reopens a resolved thread | Default |
Style guide: workover rules
Each command takes --project <id> or --org <id>. With a project id, you get the project’s rules and the workspace’s rules together.
Command | What it does | Scope |
|---|---|---|
| Lists the rules in force | Default |
| Prints the rules as a block to paste into | Default |
| Adds a rule for the project or the whole workspace |
|
AI drafting and scoring
Command | What it does | Scope |
|---|---|---|
`draft --org --project "" [--ground yes | no | auto] [--type tutorial |
`draft-set --org --project --feature "" [--kind documentation | content] [--dry-run] [--yes]` | Plans a set of articles for a feature, prints the plan, then asks once before drafting. You can answer with the numbers of articles to skip. |
| Scores the project’s documents against an editorial rubric, one AI call per document, and prints the weakest criteria and the top fix for each |
|
Help Center: workover site
Every Help Center command takes --project <id> and --json, and needs a sign-in from workover login --site. Adding DNS records and paying for a plan stay with the person.
Command | What it does | Scope |
|---|---|---|
`project create --name "" [--start blank | starter | empty]` |
| Gives an existing project a Help Center |
|
| Brings in a public docs site, or a docs folder ( |
|
| sync | list |
| Connects |
|
| For a site under a path: the setup the website needs, for Cloudflare, Vercel, Next.js, AWS CloudFront, AWS Amplify, Netlify, nginx, Caddy or Apache, detected from the website's headers unless |
|
| Asks now: records found, domain verified, certificate issued, and for a path, whether the live address serves the site and may be indexed, with what to change on the website's platform |
|
| Puts the site live |
|
| Takes the site offline. Its pages, settings and domain are kept, and |
|
`site index on | off` | Lets search engines index the site, or asks them not to |
| The site, its domain, and the latest import and publish. Without |
|
MCP tools
Tool | What it does | Scope |
|---|---|---|
| Finds documents by title and content | Default |
| Reads a document, or one tab, with the style guide attached | Default |
| Lists your projects | Default |
| Lists a document’s tabs | Default |
| Reads a project’s style guide, including workspace-wide rules | Default |
| Creates a document with its body written straight in, optionally filed under the category names you give it | Default |
| Proposes a complete revised document as suggestions | Default |
| Uploads a local image into a document’s media and returns its URL | Default |
| Replaces a document’s body, or one tab, with no review step. With |
|
| Adds an empty tab |
|
| Adds a style guide rule for a project or the whole workspace |
|
| Set up a Help Center, as the |
|
| Connects a domain or a path, and returns every DNS record and, for a path, the proxy setup |
|
| The proxy setup for a site under a path, for the platform the website runs on, or the one named |
|
| Where the domain has got to, and for a path, whether the live address works |
|
| Put the site live, or take it offline |
|
| Search engine indexing, and where the site stands |
|
Without the scope a tool needs, it returns a permission error. Neither the MCP server nor the CLI publishes to WordPress.
MCP usage data
The MCP server sends Workover one event per tool call: the tool name, how long it took, whether it succeeded or what kind of failure it was, which MCP client called it, and the MCP server’s version. It never sends your documents, the arguments you pass or the results. To turn it off, set either environment variable:
export DO_NOT_TRACK=1
export WORKOVER_TELEMETRY=0
Tokens
Fact | Detail |
|---|---|
Where you see them | Account settings → Developer → Connected devices. Each row shows the token’s name, when it was added, and when it was last used or “not used yet”. |
How you get one | Only by signing in with |
Where it is stored | On your machine in |
Format | Starts with |
Expiry | Tokens do not expire. Revoke them when you no longer need them. |
Changing scopes | Scopes are fixed when the token is created. Sign in again with different flags to get a new token. |
Revoking | Click Revoke on the token’s row, or run |
You can also call the HTTP API directly with a token in an Authorization: Bearer wk_… header. The API reference lists each endpoint and the scope it needs.