mcp-backlog
MCP 服务配置
复制以下 JSON 到 OPClaw 或其他 MCP 客户端的配置文件中即可使用
{
"mcpServers": {
"backlog": {
"args": [
"@rwese/mcp-backlog"
],
"command": "npx"
}
}
}
服务介绍
MCP Backlog Server
A Model Context Protocol (MCP) server for managing backlog items and todos. This server provides a structured way to track work items, their status, and associated tasks.
Features
- Backlog Management: Create, read, update, and archive backlog items
- Todo Tracking: Manage todos within backlog items with dependencies
- Status Workflow: Track items through states: new ready review done
- Priority Levels: Organize items by high, medium, or low priority
- Versioning: Automatic versioning when amending backlog items
- Markdown Storage: Human-readable markdown files with frontmatter
Installation
Via NPM (Recommended)
npm install -g @rwese/mcp-backlog
Or with NPX (no installation):
npx @rwese/mcp-backlog
From Source
git clone https://github.com/rwese/mcp-backlog.git
cd mcp-backlog
bun install
bun run build
Usage
In your MCP client configuration
Add to your MCP client's configuration file:
Using NPM global install:
{
"mcpServers": {
"backlog": {
"command": "mcp-backlog"
}
}
}
Using NPX:
{
"mcpServers": {
"backlog": {
"command": "npx",
"args": ["@rwese/mcp-backlog"]
}
}
}
Using local build:
{
"mcpServers": {
"backlog": {
"command": "node",
"args": ["/path/to/mcp-backlog/dist/index.js"]
}
}
}
Tools
backlog-read
List and filter backlog items.
Arguments:
status(optional): Filter by status (new, ready, review, done, reopen, wontfix)priority(optional): Filter by priority (high, medium, low)
backlog-write
Create and manage backlog items.
Arguments:
action: Operation to perform (create, list, amend, approve, submit, reopen, wontfix)topic: Topic name for the backlog itemdescription: Description of the work itempriority(optional): Priority level (default: medium)status(optional): Status for amend operation
Examples:
// Create a new backlog item
{
"action": "create",
"topic": "Add user authentication",
"description": "Implement JWT-based authentication",
"priority": "high"
}
// Amend an existing item
{
"action": "amend",
"topic": "Add user authentication",
"status": "ready"
}
backlog-done
Mark backlog items as complete.
Arguments:
action: done or listtopic: Topic name to mark as donesummary(optional): Completion summary
backlog-todo-read
List todos for a backlog item.
Arguments:
topic: Backlog item topic (required)status(optional): Filter by statusbatch(optional): Filter by batch
backlog-todo-write
Create and update todos within backlog items.
Arguments:
action: create, update, or listtopic: Backlog item topic (required)todoId: Todo ID (for update)content: Todo contentstatus: Todo status (pending, in_progress, completed, cancelled)dependencies: Array of todo IDs that must complete firstbatch: Batch identifier
backlog-todo-done
Mark todos as complete with dependency validation.
Arguments:
action: done or listtopic: Backlog item topic (required)todoId: Todo ID to mark as done
Directory Structure
The server creates and manages files in the .agent/ directory:
.agent/
Backlog/
<topic-name>/
item.md # Backlog item details
todos.json # Associated todos
COMPLETED_Backlog/
DONE_<topic>-v1.md
WONTFIX_<topic>.md
Development
Run tests
bun test
Build
bun run build
Workflow
- Create a backlog item with status "new"
- Submit to move it to "ready" (ready for work)
- Amend to update status to "review" when work is done
- Approve to move from "review" to "done"
- Done to archive the completed item
Or use reopen to send items back for more work, or wontfix to archive without completing.
License
MIT