Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@augustalex/backlog) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Backlog Board with Global AI MCP Server
A minimalist backlog tracking system for developers and local AI agents. It runs as a globally installed tool, keeps a registry of projects on your machine, and gives each registered project its own SQLite backlog database.
Built with Bun + Vite + SolidJS + Tailwind CSS v4 + SQLite (bun:sqlite) + ElysiaJS.
Development
Install dependencies:
bun installRun the API and SolidJS dashboard in watch mode:
bun run devBuild the package:
bun run buildInstall on Your Machine
This tool requires Bun.
bun --versionInstall Bun if needed:
curl -fsSL https://bun.sh/install | bashInstall Backlog globally:
bun add -g @augustalex/backlogInitialize the machine-level backlog config:
backlog initinit creates the global backlog home at ~/.backlog, writes ~/.backlog/config.json, writes global AI instructions, and prints the MCP server block to add to each AI app's global MCP configuration.
Configure AI Apps Globally
Project-local MCP configs are unreliable across current AI apps. Configure one global MCP server per app instead.
Use the JSON printed by backlog init, or add an equivalent global MCP entry:
{
"mcpServers": {
"project-backlog": {
"command": "backlog",
"args": ["mcp"]
}
}
}After that, agents can use list_projects, get_current_project, and select_project before using ticket tools.
Add a Repository as a Project
From the repository root:
backlog add-projectOr name it explicitly:
backlog add-project --name "My App"This registers the repository in the global project registry, creates that project's database under ~/.backlog/projects/<project-id>/backlog.db, updates AGENTS.md with backlog instructions, and adds a .agents/skills/project-backlog/SKILL.md skill when the repository already uses .agents/skills.
Useful project commands:
backlog list-projects
backlog select-project <id|name|absolute-path>Dashboard
Start the dashboard:
backlog startThe dashboard opens at http://localhost:18284 and includes a project selector for registered projects.
MCP Tools
The global project-backlog MCP server exposes:
list_projects()- list registered projects.get_current_project()- show the active project.select_project(identifier)- select by project id, exact name, or absolute path.list_tickets(status?)- list tickets, optionally filtered by status.get_ticket(id)- get one ticket.create_ticket(title, description, status?)- create a ticket.update_ticket(id, title?, description?, status?, priority?)- update a ticket.delete_ticket(id)- delete a ticket.list_comments(ticketId)- list ticket comments.create_comment(ticketId, content)- add a ticket comment.open_dashboard()- open the web dashboard.
Agent workflow:
- Call
get_current_project. - If needed, call
select_projectwith the repository path, id, or name. - Work the highest-priority
backlogticket by setting it toin_progress. - When complete, set it to
doneand add a summary comment.
Data Location
Backlog stores global config and project databases in ~/.backlog by default.
For tests or custom setups, set:
BACKLOG_HOME=/path/to/backlog-homeBACKLOG_DB_PATH is still supported as an override for one-off database targeting.