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 🙏

© 2025 – Pkg Stats / Ryan Hefner

scud-mcp

v1.7.0

Published

Model Context Protocol server for SCUD task management

Downloads

88

Readme

SCUD MCP Server

Model Context Protocol (MCP) server for SCUD task management. Enables AI assistants like Claude Desktop to interact with SCUD's task management and AI-powered workflow features.

Overview

SCUD MCP wraps the SCUD CLI and exposes it through the Model Context Protocol, allowing any MCP-compatible client to:

  • Parse PRDs into tasks using AI
  • Manage epics and task lifecycles
  • Track workflow state and progress
  • Coordinate parallel development across teams
  • Analyze complexity and expand tasks automatically

Perfect for teams using Claude Desktop, Cline, or other MCP clients who want AI-powered task management integrated into their development workflow.

Features

🛠️ 20 MCP Tools (Actions)

Core Commands

  • scud_init - Initialize SCUD in current directory
  • scud_list - List tasks (optionally filter by status)
  • scud_next - Find next available task
  • scud_stats - Show epic statistics
  • scud_show - Show task details
  • scud_set_status - Update task status

Epic Management

  • scud_tags - List all epic tags
  • scud_use_tag - Set active epic

AI-Powered (Requires ANTHROPIC_API_KEY)

  • scud_parse_prd - Parse PRD markdown into tasks
  • scud_analyze_complexity - Analyze task complexity (Fibonacci scale)
  • scud_expand - Break down complex tasks into subtasks
  • scud_research - AI-powered research

Parallel Development

  • scud_create_group - Create epic group for parallel work
  • scud_list_groups - List all epic groups
  • scud_group_status - Show group progress
  • scud_assign - Assign task to developer
  • scud_claim - Claim task for yourself
  • scud_release - Release claimed task
  • scud_whois - Show task assignments

📊 3 MCP Resources (Read-only Data)

  • scud://workflow/state - Current workflow state (JSON)
  • scud://tasks/list - All tasks in active epic (JSON)
  • scud://stats/epic - Epic statistics (text)

Installation

Prerequisites

  1. Node.js 18+ - Required for MCP server
  2. SCUD CLI - The Rust CLI must be installed and in PATH
# Install SCUD CLI (if not already installed)
npm install -g scud

# Verify installation
scud --version

Install SCUD MCP Server

npm install -g scud-mcp

Configure in Claude Desktop

Edit your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json Linux: ~/.config/Claude/claude_desktop_config.json

Add the SCUD MCP server:

{
  "mcpServers": {
    "scud": {
      "command": "scud-mcp",
      "env": {
        "ANTHROPIC_API_KEY": "sk-ant-your-api-key-here"
      }
    }
  }
}

Note: The ANTHROPIC_API_KEY is only required for AI-powered tools (scud_parse_prd, scud_analyze_complexity, scud_expand, scud_research). Core task management works without it.

Restart Claude Desktop

Restart Claude Desktop to load the MCP server. You should see the SCUD tools available in your conversations.

Usage

Example 1: Initialize Project and Parse PRD

You (in Claude Desktop):

Initialize SCUD and parse my PRD file at docs/epics/epic-1-auth.md with tag epic-1-auth

Claude:

[calls scud_init]
✓ Initialized SCUD successfully

[calls scud_parse_prd with file="docs/epics/epic-1-auth.md", tag="epic-1-auth"]
✓ Parsed PRD into 12 tasks
✓ Active epic set to: epic-1-auth

Example 2: Development Workflow

You:

What's my next task?

Claude:

[calls scud_next]
Next available task:

TASK-1: Set up authentication database schema
Complexity: 5
Priority: high
Status: pending

You:

Mark TASK-1 as in-progress and show me the details

Claude:

[calls scud_set_status with task_id="TASK-1", status="in-progress"]
✓ Task TASK-1 updated to in-progress

[calls scud_show with task_id="TASK-1"]

TASK-1: Set up authentication database schema
Description: Create User and Session tables with proper indexes...
Complexity: 5 (Medium)
Priority: high
Status: in-progress
Dependencies: None

Example 3: AI-Powered Complexity Analysis

You:

Analyze the complexity of all tasks

Claude:

[calls scud_analyze_complexity]

Analyzing 12 tasks...

TASK-3: Implement OAuth2 flow
  Complexity: 21 → Recommended: EXPAND
  Reasoning: Involves multiple components (auth provider integration, token management,
  refresh logic, error handling). Should be broken down.

TASK-7: Add login form UI
  Complexity: 3
  Reasoning: Simple form with email/password fields. Well-defined scope.

[... more analysis ...]

You:

Expand TASK-3

Claude:

[calls scud_expand with task_id="TASK-3"]

Expanded TASK-3 into 5 subtasks:

TASK-3-1: Research OAuth2 providers (complexity: 2)
TASK-3-2: Implement authorization endpoint (complexity: 5)
TASK-3-3: Implement token endpoint (complexity: 5)
TASK-3-4: Add token refresh logic (complexity: 3)
TASK-3-5: Add OAuth2 error handling (complexity: 3)

Example 4: Parallel Development

You:

Create a sprint group with epic-1-auth, epic-2-api, and epic-3-frontend

Claude:

[calls scud_create_group with name="sprint-1", epics="epic-1-auth,epic-2-api,epic-3-frontend"]
✓ Created group: sprint-1

[calls scud_group_status with group_id="sprint-1"]

Sprint 1 Status:
  epic-1-auth: 5/12 tasks done (42%)
  epic-2-api: 2/8 tasks done (25%)
  epic-3-frontend: 0/15 tasks done (0%)

Overall: 7/35 tasks completed (20%)

Example 5: Using Resources

You:

Read the current workflow state

Claude:

[reads scud://workflow/state resource]

{
  "active_epic": "epic-1-auth",
  "current_phase": "development",
  "phases": {
    "planning": { "status": "completed", "completed_at": "2025-11-15T10:00:00Z" },
    "development": { "status": "in-progress", "started_at": "2025-11-15T14:00:00Z" }
  },
  "completed_epics": []
}

Tool Reference

Core Tools

| Tool | Parameters | Description | |------|-----------|-------------| | scud_init | - | Initialize SCUD in current directory | | scud_list | status? | List tasks (filter by status) | | scud_next | - | Find next available task | | scud_stats | - | Show epic statistics | | scud_show | task_id | Show task details | | scud_set_status | task_id, status | Update task status |

Epic Management

| Tool | Parameters | Description | |------|-----------|-------------| | scud_tags | - | List all epic tags | | scud_use_tag | tag | Set active epic tag |

AI Tools (Require ANTHROPIC_API_KEY)

| Tool | Parameters | Description | |------|-----------|-------------| | scud_parse_prd | file, tag | Parse PRD into tasks | | scud_analyze_complexity | task? | Analyze task complexity | | scud_expand | task_id?, all? | Expand complex tasks | | scud_research | query | AI-powered research |

Parallel Development

| Tool | Parameters | Description | |------|-----------|-------------| | scud_create_group | name, epics, description? | Create epic group | | scud_list_groups | - | List all epic groups | | scud_group_status | group_id | Show group status | | scud_assign | task_id, assignee | Assign task to developer | | scud_claim | task_id, name | Claim task for yourself | | scud_release | task_id, force? | Release claimed task | | scud_whois | - | Show task assignments |

Resource URIs

| Resource | Description | Format | |----------|-------------|--------| | scud://workflow/state | Current workflow state | JSON | | scud://tasks/list | All tasks in active epic | JSON | | scud://stats/epic | Epic statistics | Text |

Task Status Values

When using scud_set_status, valid status values are:

  • pending - Not started
  • in-progress - Currently being worked on
  • done - Completed
  • review - Ready for review
  • blocked - Blocked by dependencies or issues
  • deferred - Postponed to later
  • cancelled - No longer needed

Complexity Scale

SCUD uses Fibonacci complexity scores:

  • 1 - Trivial (5-15 minutes)
  • 2 - Simple (15-30 minutes)
  • 3 - Moderate (30-60 minutes)
  • 5 - Medium (1-3 hours)
  • 8 - Complex (3-8 hours)
  • 13 - Large (8+ hours, recommend expanding)
  • 21 - Too large (must expand into subtasks)

Troubleshooting

"SCUD CLI not found in PATH"

The MCP server couldn't find the scud command. Install it:

npm install -g scud

Verify:

which scud  # macOS/Linux
where scud  # Windows

"ANTHROPIC_API_KEY environment variable not set"

AI tools require an API key. Add it to your Claude Desktop config:

{
  "mcpServers": {
    "scud": {
      "command": "scud-mcp",
      "env": {
        "ANTHROPIC_API_KEY": "sk-ant-your-key"
      }
    }
  }
}

"No active epic set"

Initialize a project and set an active epic:

1. Run scud_init
2. Run scud_parse_prd or manually create an epic
3. Run scud_use_tag to set the active epic

Tools not showing in Claude Desktop

  1. Check that claude_desktop_config.json is valid JSON
  2. Restart Claude Desktop completely
  3. Check logs: Help → View Logs in Claude Desktop
  4. Verify scud-mcp is installed: which scud-mcp

Development

Build from Source

git clone https://github.com/yourusername/bmad-tm
cd bmad-tm/scud-mcp
npm install
npm run build
npm link  # Test locally

Project Structure

scud-mcp/
├── src/
│   ├── index.ts           # MCP server entry point
│   ├── types.ts           # TypeScript types
│   ├── tools/             # Tool implementations
│   │   ├── core.ts        # Core commands
│   │   ├── epic.ts        # Epic management
│   │   ├── task.ts        # Task operations
│   │   ├── ai.ts          # AI-powered tools
│   │   └── parallel.ts    # Parallel development
│   ├── resources/         # Resource implementations
│   │   ├── workflow.ts    # Workflow state
│   │   ├── tasks.ts       # Task lists
│   │   └── stats.ts       # Statistics
│   └── utils/
│       └── exec.ts        # CLI execution wrapper
├── package.json
├── tsconfig.json
└── README.md (this file)

Performance

The SCUD MCP server is a lightweight wrapper around the fast Rust CLI:

  • Startup: <100ms
  • Tool execution: Inherits SCUD CLI performance (42ms average)
  • Memory: <10MB for server process
  • Concurrent requests: Supported (file locking in CLI prevents corruption)

Contributing

Contributions welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

MIT License - see LICENSE file for details

Related Projects

Support

  • Issues: https://github.com/yourusername/bmad-tm/issues
  • Documentation: https://github.com/yourusername/bmad-tm/tree/master/docs
  • SCUD Guide: https://github.com/yourusername/bmad-tm/blob/master/docs/guides/COMPLETE_GUIDE.md

Built with ❤️ for AI-powered development workflows