npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@radleta/backlog-md-mcp

v0.1.10

Published

MCP (Model Context Protocol) server for Backlog.md task management - integrate Backlog.md with Claude Code

Downloads

40

Readme

Backlog.md MCP Server

An MCP (Model Context Protocol) server that wraps Backlog.md task management system, enabling AI assistants like Claude to directly manage tasks and view Kanban boards.

Table of Contents

Features

🛠️ Available Tools

  • Task Management

    • task_create - Create new tasks with full support for title, description, status, priority, labels, assignee, plan, notes, acceptance criteria, dependencies, parent tasks, and draft mode
    • task_list - List tasks with enhanced filtering by status, label, priority, assignee, parent task ID, and sorting options (priority, id)
    • task_edit - Edit existing tasks with comprehensive support for all task properties, acceptance criteria management (add/remove/check/uncheck), label management, and custom ordering
    • task_view - View detailed task information
    • task_archive - Archive tasks
    • task_demote - Demote tasks to draft status
    • task_dependencies - View dependency graph for a specific task
    • task_children - List all children of a parent task
  • Draft Management

    • draft_create - Create draft tasks with title, description, assignee, and labels
    • draft_list - List all draft tasks
    • draft_promote - Promote draft tasks to full tasks
    • draft_archive - Archive draft tasks
    • draft_view - View draft task details
  • Documentation

    • doc_create - Create documentation files with optional path and type
    • doc_list - List all documentation files
    • doc_view - View specific documentation files
  • Decision Records

    • decision_create - Create decision records with status (proposed/accepted/rejected/superseded)
    • decision_list - List all decision records with titles and status
  • Board & Project Management

    • board_show - Display the Kanban board
    • board_export - Export Kanban board to markdown with options for custom filename, force overwrite, README integration, and version tagging
    • overview - Show project statistics and overview
    • sequence_list - List execution sequences computed from task dependencies
  • Configuration

    • config_get - Get specific configuration values
    • config_set - Set configuration values
    • config_list - List all configuration values

Design Philosophy

The Backlog.md MCP Server is a reliable wrapper around the Backlog.md CLI that exposes all available commands through the MCP interface while adding useful enhancements for AI assistants.

Security

The MCP server implements comprehensive security measures including input validation, command injection prevention, and path traversal protection to keep your projects safe.

Key Features

Beyond the standard Backlog.md functionality, this MCP server adds:

  • Enhanced Filtering: Filter tasks by labels, priority, and status
  • Task Grouping: View tasks organized by priority levels
  • Rich Resources: Access tasks, boards, and statistics via backlog:// URLs
  • Decision Records: Create and list architectural decision records
  • Full CLI Access: All native Backlog.md commands available through natural language

📚 Available Resources

Access project data through backlog:// URLs:

  • backlog://tasks/all - View all tasks in markdown format
  • backlog://tasks/by-priority - Tasks grouped by priority levels
  • backlog://board - Current Kanban board view
  • backlog://drafts/all - View all draft tasks in markdown format
  • backlog://docs/all - View all documentation files
  • backlog://decisions/all - View all decision records
  • backlog://sequences - Execution sequences computed from task dependencies
  • backlog://overview - Project statistics and overview
  • backlog://statistics - Enhanced project statistics and metrics
  • backlog://config - Configuration settings

Prerequisites

Before using the MCP server, ensure:

  1. Node.js 18+: Required for running the MCP server
  2. Backlog.md is installed: The MCP server requires the Backlog.md CLI to be available
  3. Project initialization: Your project must have Backlog.md initialized (backlog init)
  4. Working directory: The MCP server runs commands in the directory where Claude is working

Important Notes

  • Status values: Must match your Backlog.md configuration exactly (check with backlog config get statuses)
  • Non-interactive mode: The MCP server automatically uses --plain flags to prevent interactive prompts
  • Labels: Use the labels parameter in MCP commands, which maps to --labels in the CLI

Limitations

  • Interactive Commands: Commands that require user interaction cannot be implemented through MCP:
    • backlog init - Requires interactive project setup prompts (initialize manually first)
    • backlog browser - Starts a long-running web server that would hang the MCP wrapper
    • backlog cleanup - Uses interactive prompts to select task age and confirm cleanup operations
    • backlog agents --update-instructions - Modifies local agent instruction files, not appropriate for MCP servers
    • Any other CLI commands that use prompts or run indefinitely

Key Tool Parameters

Common parameters across tools:

  • taskId: Task identifier format (e.g., "task-123", "task-001.01" for sub-tasks)
  • status: Must match your Backlog.md configuration exactly (check with backlog config get statuses)
  • priority: "low", "medium", or "high"
  • labels: Array of strings for task categorization
  • dependencies: Comma-separated task IDs (e.g., "task-001,task-002")
  • parent: Parent task ID for creating sub-tasks
  • ac: Acceptance criteria as array of strings

Essential Tools Reference

  • task_create: Create tasks with full support for title, description, status, priority, labels, assignee, plan, notes, acceptance criteria, dependencies, and parent tasks
  • task_list: List and filter tasks by status, label, priority, assignee, or parent task
  • task_edit: Comprehensive editing including acceptance criteria management (add/remove/check/uncheck)
  • draft_create/promote: Create and promote draft tasks to full tasks
  • board_show/export: Display and export Kanban boards
  • config_get/set: Manage configuration settings

For complete tool documentation with all parameters, see the GitHub repository.

Installation

From npm

npm install -g @radleta/backlog-md-mcp

Quick Start

Get up and running with Backlog.md MCP Server in 3 steps:

  1. Install the package:

    npm install -g @radleta/backlog-md-mcp
  2. Add to Claude Code:

    claude mcp add backlog-md -- backlog-mcp start
  3. Start using it with Claude:

    "Create a high-priority task for implementing user authentication"
    "Show me all tasks with status 'In Progress'"  
    "Display the Kanban board"

Prerequisites: Ensure you have Backlog.md CLI installed and your project initialized with backlog init.

For detailed configuration options, see the Configuration section below.

Configuration

Setup Options

# Add to Claude Code (user scope - available in all projects)
claude mcp add backlog-md --scope user -- backlog-mcp start

# Or add for current project only
claude mcp add backlog-md --scope project -- backlog-mcp start

Usage

CLI Commands

# Start the MCP server
backlog-mcp start

# Interactive setup
backlog-mcp setup

# Show server information
backlog-mcp info

# Manage configuration
backlog-mcp config get <key>
backlog-mcp config set <key> <value>

# Validate setup
backlog-mcp validate

Using with Claude

Once configured, you can use natural language in Claude:

  • "Create a high-priority task for implementing user authentication"
  • "Show me all tasks with status 'In Progress'"
  • "Edit task-123 to change its status to 'Done'"
  • "View the details of task-456"
  • "Display the Kanban board"
  • "Archive task-789"
  • "Get the current project configuration"

Troubleshooting

Windows PowerShell Issues

MCP Server Fails with ENOENT Error

Problem: MCP functions fail with spawn ... ENOENT error when Claude Code is launched from PowerShell.

Solution:

  1. Automatic Detection (v0.1.5+): The MCP server now automatically detects the backlog CLI path across different environments.

  2. Manual Configuration (if auto-detection fails):

    # Find your backlog installation
    where backlog
    
    # Configure the path (use the .cmd version on Windows)  
    backlog-mcp config set backlogCliPath "C:\Program Files\nodejs\backlog.cmd"
       
    # Verify the configuration
    backlog-mcp validate
  3. Path Detection Diagnosis:

    # See what paths are being detected
    backlog-mcp detect

Server Not Connecting

  • Ensure backlog-mcp is in your PATH
  • Run backlog-mcp validate to check setup

Commands Failing

  • Ensure you have a valid Backlog.md repository initialized (backlog init)
  • Check that you're in the correct project directory
  • Verify the Backlog.md CLI works: backlog --help
  • Ensure status values match your Backlog.md configuration exactly (check with backlog config get statuses)

Commands Hanging or No Response

  • This typically means the CLI is waiting for interactive input
  • The MCP server should automatically use --plain flags to prevent this
  • Check that you're using the latest version of the MCP server

Debugging

  • Use verbose mode: backlog-mcp start --verbose
  • Run backlog-mcp info to see server capabilities
  • Use backlog-mcp detect to diagnose path resolution issues

Contributing

To contribute to this project, see the GitHub repository for development setup, testing procedures, and contribution guidelines.

License

MIT License - See LICENSE file for details

Related Projects

Support