mcp-backlog-md
Version:
An MCP (Model Context Protocol) server for the backlog.md CLI tool.
31 lines (26 loc) • 1.57 kB
Markdown
id: task-8
title: 'Bug: `export_board` command fails with ''unknown command export'''
status: Done
assignee: []
created_date: '2025-08-05 11:51'
updated_date: '2025-08-05 12:02'
labels:
- bug
- tool-issue
dependencies: []
## Description
The `export_board` tool (which maps to `npx backlog board export`) consistently fails with the error `error: unknown command 'export'`. **Steps to reproduce:** 1. Run `npx backlog board --help` to confirm `export` is a subcommand of `board`. 2. Attempt to use `export_board` via the MCP tool or directly via `npx backlog board export --readme --projectPath <path>`. **Expected behavior:** The command should export the Kanban board to the `README.md` file. **Actual behavior:** The command fails with `error: unknown command 'export'`. This prevents automated embedding of the Kanban board into documentation.
## Implementation Notes
Fixed the MCP tool to correctly use Loading tasks for export...
Loading local tasks......
Found 1 local tasks...
Loading remote tasks......
Remote operations disabled - skipping remote tasks...
Merging tasks......
Checking task states across branches......
Checking 1 tasks across 5 recent branches (last 9999 days, 3 local, 2 remote)......
Found all 1 tasks in priority branches...
Total tasks: 1...
Exported board to /home/kratos/Development/Github/The-Dave-Stack/mcp-backlog-md/Backlog.md syntax, resolving the 'unknown command export' error. Updated and relevant memory bank documentation (, ). The fix was verified by successfully exporting the board to .