Command reference¶
This page lists the commands of backlog. Command line explains how to connect the
command to a server and how to register a project. backlog --help and backlog GROUP COMMAND --help print the same options with their environment variables.
Command structure¶
backlog [GLOBAL OPTIONS] GROUP [COMMAND] [OPTIONS] [ARGUMENTS]
Global options go before the group. Command options go after the command. Every group and
every command has a short alias, shown in parentheses in --help. For example,
backlog ta sh 1 is backlog task show 1.
Group or command |
Alias |
Purpose |
|---|---|---|
|
|
Manage tasks, links, assignments and comments |
|
|
Manage notes |
|
|
List, update and delete projects |
|
|
Search projects, tasks, comments and notes |
|
|
Show a project board with ready and claimed tasks |
|
|
Count open tasks, closed tasks and notes |
|
|
Register this directory |
|
|
Show the current principal and computer |
|
|
Show the skills the server offers to MCP clients |
|
|
Print the changes of a server as they happen |
|
|
Register the server with Claude Code and Codex |
|
|
Run the MCP server |
|
|
Print a bcrypt account entry |
Local MCP server over stdio describes install and mcp.
Remote MCP server over HTTP describes hash-password and mcp --protocol http.
Global options¶
Option |
Environment variable |
Meaning |
|---|---|---|
|
Read default values from this TOML file |
|
|
|
|
|
|
MCP HTTP endpoint; empty selects local mode |
|
|
HTTP Basic user |
|
|
HTTP Basic password |
|
|
JWT bearer token; excludes Basic authentication |
|
|
User name in local mode (default: |
|
|
Request timeout (default: 120) |
|
|
SQLite file in local mode |
|
|
Directory that selects the project (default: the working directory) |
|
|
Project name, slug or path inside it |
|
|
Name of this computer (default: the short host name) |
|
Write a TOML configuration file and exit; |
The same keys without the dashes, such as url, timeout or computer, set the defaults in
the global section of a TOML configuration file. Where the data lives lists the
configuration files and their order.
Wider listings¶
task list, memory list, search, stats and projects take the same scope options.
Without them, a listing covers the selected project, or the projects of this computer for
projects.
-a,--all-projectsEvery project on this computer.
projectshas no such option.--computer NAMEEvery project on the named computer. This option comes after the command. It is not the global
--computer, which names this computer.--all-computersEvery project on every computer.
Tasks¶
Command |
Alias |
Arguments and options |
|---|---|---|
|
|
|
|
|
Write the task in |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Statuses are todo, doing, blocked, done, cancelled and deleted. The open statuses
are todo, doing and blocked. Priorities are urgent, high, normal and low.
task list shows the open tasks, the most important first. --status selects statuses,
--every adds the closed tasks.
task edit changes the agreed description. Write progress reports with task comment
instead. task show prints the description and every comment as separate blocks.
task comments prints the history without the description.
task cancel keeps the task and its history. task delete removes the task for good. It asks
for confirmation only when the task belongs to another project, unless --yes is given.
backlog task add Write the release notes -t docs
backlog task start 1
backlog task comment 1 "Drafted the HTTP section."
backlog task close 1
backlog task list --every
Links¶
A link connects two tasks. The command stores the relation and its inverse together.
Relation |
Inverse |
Meaning |
|---|---|---|
|
|
The source task is part of the target task |
|
|
The source task needs the result of the target task |
|
|
The source task arose from the target task |
|
|
The tasks are related without a dependency |
--reason sets the explanation. Omit it to keep the current one; pass an empty string to
clear it. task show prints the links of a task.
backlog task link 2 depends_on 1 --reason "Needs the new schema"
backlog task unlink 1 blocks 2
Assignments¶
task claim changes the assignment of a task only when its current value equals
--expected. An assignment has the form username@computer:marker. Take the principal from
backlog whoami and add a marker of your choice. The value null means no assignment.
backlog task claim 42 --expected null --assigned 'alice@laptop:agent-k7Q2m'
backlog task claim 42 --expected 'alice@laptop:agent-k7Q2m' --assigned null
backlog task assigned
task assigned lists your assignments in every project that you can read, closed tasks
included. --prefix selects another principal or a marker prefix.
Search¶
backlog search finds projects, tasks, comments and notes. It sends one query to the MCP
search tool.
Option |
Meaning |
|---|---|
|
The words of the query; the command joins them with spaces |
|
|
|
Only records with this tag; comments use the tags of their task |
|
Most matches of each kind (default: 20) |
|
Lowest vector similarity, from -1 to 1 (default: 0.15); text matches are not filtered |
scope options |
See wider listings |
Quote the query for your shell when it contains double quotes:
backlog search release notes # vector search
backlog search '"release"' --kind tasks # text search
backlog search parser --kind tasks --kind comments
backlog search orchestration --kind projects --all-computers
The query syntax below is the guide that the server also offers to agents as the MCP resource
backlog://guide/search. It names the MCP arguments: kinds is --kind, tag is --tag,
and min_score is --min-score. The command sends one formulation.
Without double quotes, search uses vectors to find related meanings only. Quoted expressions alone search text only. Add unquoted words to search both: text search receives only the quoted expressions; vector search receives the whole query with double quotes removed. Mixed results show text matches first, then vector matches, without duplicates. Quoted expressions in a mixed query are combined with AND.
Multiple formulations¶
query requires a list of 1–5 strings, even for one formulation. Use 2–5 short rephrasings of the
same intent, for example in both languages, to improve recall:
{"query": ["recover account access", "восстановить доступ к аккаунту"], "kinds": ["tasks", "memory"]}
One formulation uses cosine ranking. Multiple semantic formulations
use equal-weight reciprocal rank fusion (RRF, k=60). Each record appears once;
limit applies after fusion. The response echoes the formulations in queries.
Semantic score is cosine similarity for one formulation and an RRF sum for a
multi-formulation request. min_score filters cosine matches before fusion.
Quote rules apply separately to each formulation. Text matches remain first with
match: "fts" and no score; they do not enter semantic RRF. Semantic results use
match: "semantic". Exact matches are deduplicated across formulations in input order.
Vector search represents each record by its full text, heading, and body paragraphs. Short paragraphs remain separate. The record’s cosine score is its best passage score. Results remain records, not separate passages.
Query syntax¶
Query |
Finds |
|---|---|
|
Related meanings, using vector similarity. |
|
Text: token AND production; vector: token reset production |
|
Only the word token, without prefixes or related meanings. |
|
Only the word token. A star inside quotes does not enable prefixes. |
|
Words starting with token, including tokens and tokenizer. |
|
The adjacent words refresh token, in this order. |
|
The word refresh followed by a word starting with token. |
|
Both words, anywhere in the same field set. |
|
Both words, like the previous example. |
|
Either word, or both. |
|
The word token, excluding records with legacy. |
|
Either token or password, and also reset. |
|
The phrase refresh token, like quoted adjacent words. |
|
Both words, either order; at most five words between them. |
|
The same proximity search with a default distance of ten words. |
|
A field starting with the word token. |
|
The word token in the title field. |
|
Either word in the title field. |
|
The word token in title or body. |
|
The word token in fields other than tags. |
|
The adjacent words web ui in tags; punctuation is a separator. |
|
The phrase say hello now. Double an inner quote to escape it. |
Fields: Tasks and Memory support title, body, tags; Comments support body;
Projects support slug, name, description. Select compatible content types before
using a field filter. An unknown field or incomplete expression produces an error.
Words are case-insensitive; punctuation separates words. Quotes match words, not an entire
field or punctuation. Use uppercase AND, OR, NOT, and NEAR.
Use parentheses to make grouping explicit.
A trailing star outside quotes is a word-prefix operator; leading and middle wildcards
are not supported. To match punctuation-containing text, put it in double quotes.
Filters: Use the Tag filter (tag in MCP) for an exact tag, such as web-ui.
Choose content types with kinds, task statuses with status, and scope with project,
all_projects, computer, or all_computers. limit is 1–200 results per content type.
min_score is -1–1 and filters semantic matches only; it never filters text matches.
Projects¶
Command |
Alias |
Arguments and options |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Scope options |
|
|
|
projects lists the projects of this computer with their directories and task counts.
Archived projects appear only with --archived.
projects update sets the language for project work and task text, such as en or ru.
It does not translate existing tasks. Give exactly one of the two options.
projects delete removes a project with every task and note on its board, and frees its
directories for a new registration. It asks for confirmation unless --yes is given.
board shows the project description, its directories, task counts, and the ready and
claimed tasks. It also prints the global notes in full.
stats counts open tasks (todo, doing, blocked), closed tasks (done, cancelled) and
notes, then breaks the tasks down by status, priority and tag.
backlog board
backlog projects --all-computers
backlog projects update alice/my-project --preferred-language en
backlog projects delete alice/old-project
backlog task move 3 alice/other-project
Computers¶
One project can bind directories on several computers, and one database can hold the projects
of every computer. The global --computer option, the computer configuration key and
BACKLOG_MCP_COMPUTER name this computer. Without them, the name is the short host name. Set
the name in the configuration file to keep it stable when the host is renamed.
Listings cover this computer. The scope options widen them:
backlog projects --all-computers
backlog task list --computer desktop
backlog search deploy --all-computers
A task moves to a project on another computer with task move, like to any other project.
Notes¶
The memory group keeps notes: lasting context from the user, such as preferences,
agreements and constraints. A note has a title, a Markdown body of at most 1,024 characters,
tags and a permanent id. Never write a secret into a note; write where the secret lives.
Command |
Alias |
Arguments and options |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A note is personal by default. --shared makes it visible to the members of the project.
A title is unique among your personal notes and among the shared notes of a project:
memory add with a known title replaces the body and the tags of that note.
memory append adds a paragraph after a blank line.
backlog memory add Release coordination -b "Ask Anna before a customer rollout." -t people
backlog memory append 1 "Anna prefers one day of advance notice."
backlog memory list
backlog memory show 1
backlog search '"rollout"' --kind memory