Skip to main content

Your AI coding assistant's quest companion - campaign and task management via MCP

Project description

Task Crusader MCP

Your AI coding assistant's quest companion - campaign and task management via MCP.

Overview

Task Crusader is a campaign and task management system designed for AI coding assistants. It provides a Model Context Protocol (MCP) server that enables AI agents like Claude, Cursor, and others to organize work into campaigns (projects) and tasks with:

  • Dependency tracking: Tasks can depend on other tasks
  • Acceptance criteria: Define completion requirements for each task
  • Testing strategy: Document verification approaches for tasks
  • Research & notes: Capture findings and implementation details
  • Progress monitoring: Track campaign progress and find actionable tasks
  • Quality hints: Context-aware guidance for campaign setup and execution
  • Sequential & parallel execution: Support for both single-agent and multi-agent workflows

Installation

pip install task-crusader-mcp

Task Crusader installs with all features by default:

  • MCP Server: Core campaign/task management for AI assistants (63 tools)
  • CLI: Command-line interface (crusader command)
  • TUI: Terminal user interface (crusader-tui command)

Advanced users needing minimal installs can use pip install --no-deps task-crusader-mcp and manually specify dependencies.

Quick Start

1. Configure Your AI Assistant

Add to your MCP client configuration (e.g., Claude Desktop claude_desktop_config.json):

{
  "mcpServers": {
    "task-crusade": {
      "command": "crusader-mcp"
    }
  }
}

Or for Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "task-crusade": {
      "command": "crusader-mcp"
    }
  }
}

2. Basic Workflow

  1. Create a campaign:

    campaign_create(name="My Project")
    
  2. Add tasks:

    task_create(title="Implement feature", campaign_id="...")
    
  3. Add acceptance criteria:

    task_acceptance_criteria_add(task_id="...", content="Unit tests pass")
    
  4. Add testing strategy:

    task_testing_strategy_add(task_id="...", content="Run pytest with coverage")
    
  5. Execute the task loop:

    while campaign not complete:
        1. campaign_get_next_actionable_task(campaign_id) -> get next task
        2. task_update(task_id, status="in-progress") -> claim task
        3. [Implement the task]
        4. task_acceptance_criteria_mark_met(criteria_id) -> mark criteria met
        5. task_complete(task_id) -> complete task
    

3. Bulk Campaign Creation (Recommended)

For new projects, use campaign_create_with_tasks to create everything atomically:

campaign_create_with_tasks(campaign_json='{
  "campaign": {"name": "Auth System", "priority": "high"},
  "tasks": [
    {"temp_id": "setup", "title": "Setup environment", "acceptance_criteria": ["Dev server runs"]},
    {"temp_id": "impl", "title": "Implement login", "dependencies": ["setup"]},
    {"temp_id": "test", "title": "Integration tests", "dependencies": ["impl"]}
  ]
}')

Available Tools (63 total)

Campaign Management (21 tools)

Category Tools
Core CRUD campaign_create, campaign_list, campaign_show, campaign_update, campaign_delete
Progress & Actions campaign_get_progress_summary, campaign_get_next_actionable_task, campaign_get_all_actionable_tasks, campaign_overview, campaign_details
Bulk & Workflow campaign_create_with_tasks, campaign_validate_readiness, campaign_workflow_guide, campaign_get_state_snapshot, campaign_renumber_tasks
Research campaign_research_add, campaign_research_list, campaign_research_show, campaign_research_update, campaign_research_delete, campaign_research_reorder

Task Management (42 tools)

Category Tools
Core CRUD task_create, task_list, task_show, task_update, task_delete, task_complete
Acceptance Criteria task_acceptance_criteria_add, task_acceptance_criteria_mark_met, task_acceptance_criteria_mark_unmet, task_acceptance_criteria_list, task_acceptance_criteria_show, task_acceptance_criteria_update, task_acceptance_criteria_delete, task_acceptance_criteria_reorder
Testing Strategy task_testing_strategy_add, task_testing_strategy_list, task_testing_strategy_show, task_testing_strategy_update, task_testing_strategy_delete, task_testing_strategy_mark_passed, task_testing_strategy_mark_failed, task_testing_strategy_mark_skipped, task_testing_strategy_reorder, task_testing_step_add
Research task_research_add, task_research_list, task_research_show, task_research_update, task_research_delete, task_research_reorder
Implementation Notes task_implementation_notes_add, task_implementation_notes_list, task_implementation_notes_show, task_implementation_notes_update, task_implementation_notes_delete, task_implementation_notes_reorder
Search & Analytics task_search, task_stats, task_get_dependency_info
Bulk & Workflow task_bulk_update, task_create_from_template, task_complete_with_workflow

CLI Usage

# Create a campaign
crusader campaign create "My Project" --description "My awesome project"

# List campaigns
crusader campaign list

# Show campaign details
crusader campaign show <campaign-id>

# Create a task
crusader task create "Implement feature" --campaign <campaign-id>

# Show task details
crusader task show <task-id>

# Update task status
crusader task update <task-id> --status in-progress

TUI Usage

crusader-tui

This opens an interactive terminal interface for browsing campaigns and tasks with keyboard navigation, filtering, and bulk operations.

Database

By default, Task Crusader stores data in ~/.crusader/database.db. You can configure a custom path by setting the CRUSADER_DB_PATH environment variable.

Architecture

Task Crusader follows a clean hexagonal architecture:

MCP Server → Service Layer → Repository Layer → SQLite Database
                  ↓
            Domain Layer (DTOs, Result Types, Hints)

Key design decisions:

  • Direct service calls: MCP tools call services directly (no CLI subprocess overhead)
  • Result pattern: All operations return DomainResult for explicit error handling
  • Context-aware hints: Operations return guidance hints for next actions
  • Memory system internal: Acceptance criteria, research, notes, and testing steps use an internal memory system

Contributing

Contributions are welcome! Before pushing, run the CI checks locally:

./scripts/check_ci.sh

This runs:

  1. Linting with ruff check src/ tests/
  2. Tests with coverage: pytest --cov --cov-fail-under=65
  3. Optional type checking: mypy src/

See CONTRIBUTING.md for detailed guidelines.

License

MIT License - see LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

task_crusader_mcp-0.1.3.dev2.tar.gz (157.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

task_crusader_mcp-0.1.3.dev2-py3-none-any.whl (145.8 kB view details)

Uploaded Python 3

File details

Details for the file task_crusader_mcp-0.1.3.dev2.tar.gz.

File metadata

  • Download URL: task_crusader_mcp-0.1.3.dev2.tar.gz
  • Upload date:
  • Size: 157.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for task_crusader_mcp-0.1.3.dev2.tar.gz
Algorithm Hash digest
SHA256 d2c41e36484769b5130b0d4e23795217f6f7985fb0be47284993fb77fa38febf
MD5 69cdbab65729468d41ff311571f065ac
BLAKE2b-256 fc3e3d4945b7c76add1e4781dd8ca72c726688e0d4643e4fcdc643d64a5942e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for task_crusader_mcp-0.1.3.dev2.tar.gz:

Publisher: publish.yml on mcrescenzo/task-crusader-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file task_crusader_mcp-0.1.3.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for task_crusader_mcp-0.1.3.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 933e8c5e1cf61fcfe279d43fbcfefa13429efe74884dbe2cbaba34ac854d22f9
MD5 76e4995bc772197caa47838c4956a0d2
BLAKE2b-256 3b7cc85a3b5f80fb6a8c0dd161d347dbf40a2495ddcb4de7c2beb9e996f1cdfc

See more details on using hashes here.

Provenance

The following attestation bundles were made for task_crusader_mcp-0.1.3.dev2-py3-none-any.whl:

Publisher: publish.yml on mcrescenzo/task-crusader-mcp

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page