backlog-mcp

backlog-mcp is a task tracker and a memory for AI agents. Agents use it through the Model Context Protocol (MCP). People use the same data from a terminal and from a browser.

Why

A project has many participants, and each participant works with agents. An agent knows what it did and why only until its session ends. backlog-mcp keeps this knowledge in one place, and its semantic search gives it to every agent of every participant: an agent asks a question in its own words and gets the tasks that answer it.

Anna:   Why are the sign-in rate limits kept in a database table?
        Redis is the usual choice.

Agent:  Michael built it this way in task #42. Redis was considered and
        rejected: the team does not run Redis in production and did not
        want to add a service for one feature.

Anna’s agent never saw this code or Michael’s conversation. It made one semantic search in the backlog.

How it works

  1. Agents connect to one backlog. The owner of a project shares it with the other participants. A project that is not shared stays private.

  2. An agent records its work as tasks. The server instructs each agent to file a task before a change and to write decisions and results as comments. Michael’s agent left this:

    #42  Rate-limit the sign-in endpoint                  done   michael@laptop
    
      comment   Options: a counter in Redis, or a table in the main database.
      comment   User decision: use the table. The team does not run Redis in
                production and does not want to start.
      comment   Done: 5 attempts in 15 minutes for each account and address.
    
  3. Any agent finds the record by meaning. This is what makes the record useful. The search is semantic: Anna’s question shares almost no words with task #42, and the search still returns it.

    search(query=["why do we keep login throttling in the database"])
    
    • It matches meaning, not words, also between languages: a question in one language finds a task that was written in another.

    • It searches tasks, comments and notes of every project that the participant can read, and nothing else.

    • A quoted expression finds exact text, such as an error message or an identifier.

    • The model is small and ships with the package. The server calls no external service.

    The result is the task, the key decisions and the result: the compressed context that an agent needs, in a few paragraphs.

  4. Notes keep the agreements. Preferences, constraints and conventions are saved once, and each agent reads them at the start of its work.

  5. People see the same data in the command line and the browser interface.

The search finds only what was written down. Agent workflow shows how to make agents keep the record: the rules that you install once with a prompt, and the skills planning and autopilot for larger work.

Choose how to run it

First install the package, or run the server in Docker or Kubernetes.

  1. Local MCP server over stdio: an agent on your computer starts the server itself. The data stays in a local SQLite file.

  2. Remote MCP server over HTTP: one server for several computers, agents and people, with authentication. A team needs this scenario to share projects.

  3. Command line: the backlog command works with a local or a remote server. To make it always use a remote server, see Always use a remote server.