Labsco
GabiUp2 logo

TaskChampion MCP

โ˜… 2

from GabiUp2

MCP server for Taskwarrior 3.x, TaskChampion, and Timewarrior task management with 35 tools for full task lifecycle, schema validation, role-based permissions, and time tracking.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

TaskChampion MCP

A Model Context Protocol server for Taskwarrior 3.x, TaskChampion, and Timewarrior.

For the bearded Unix jockeys and keyboard cowboys who manage their life from the terminal โ€” and now want their LLM to lend a hand. ๐Ÿง”โŒจ๏ธ

Glama

Latest release: v1.0.4 โ€” pip install taskchampion-mcp / uvx taskchampion-mcp


What Is This?

TaskChampion MCP is a Model Context Protocol server that lets LLMs read, create, modify, and manage your Taskwarrior tasks and Timewarrior time entries. It wraps the task and timew CLI tools and exposes them as structured MCP tools that any compatible AI assistant can call.

Why? The author self-hosts TaskChampion on a home server and wanted a clean way for LLMs to cooperate on project planning, task decomposition, and time tracking โ€” without giving up control of the task database.


Supported Platforms

PlatformTransportStatus
Neovim (via Claude Code CLI)stdiov1.0.4
Cursorstdiov1.0.4
Windsurfstdiov1.0.4
VS Code (Copilot MCP)stdiov1.0.4
Claude Desktopstdiov1.0.4
HTTP/SSE transportsHTTP/SSEDeferred to v1.x

Requirements:

  • Python 3.10+
  • Taskwarrior 3.x (TaskChampion sync)
  • Timewarrior (optional, for time tracking features)

First Run

On a fresh install with no config.toml, the server boots in onboarding mode. All tools are visible in tools/list, but operational tools return structured schema_unset errors until onboarding completes (ADR 19). You finish onboarding by persisting two keys in ~/.config/taskchampion-mcp/config.toml:

  • role โ€” what the LLM can do (CONTRIBUTOR / GENERATOR / MANAGER)
  • schema or schema_path โ€” which task schema the server validates against

Three ways to get there:

  1. Let the LLM walk you through it. Connect your IDE to the MCP server with no config and ask: "Help me set up TaskChampion MCP." The LLM calls get_runtime_capabilities first, sees mode: "onboarding", then uses get_initialization_status -> propose_initialization_options -> use_preset_schema (or save_initial_schema). The server auto-reloads on success -- no restart needed.
  2. Run the CLI wizard: ./dev.sh init (interactive) or ./dev.sh init --preset gtd --role CONTRIBUTOR --non-interactive (scripted).
  3. Edit config.toml by hand -- see quick_start.md. Two keys, then call reload_configuration from the LLM (or restart the IDE).

The three paths are interchangeable and produce identical state. Pick by who should be doing the typing -- see initialization_flows.md for the decision guide.


Permission Levels

Control what the LLM can do with your tasks via three cumulative roles:

RoleCan ReadCan Annotate/ModifyCan CreateCan Complete/Delete
CONTRIBUTORโœ…โœ…โŒโŒ
GENERATORโœ…โœ…โœ…โŒ
MANAGERโœ…โœ…โœ…โœ…

Set the role in ~/.config/taskchampion-mcp/config.toml:

[server]
role = "GENERATOR"  # CONTRIBUTOR | GENERATOR | MANAGER

Task Schemas

Taskwarrior supports custom workflows via UDAs (User Defined Attributes). TaskChampion MCP ships with schema presets that teach the LLM your task structure:

SchemaDescription
minimalBuilt-in fields only (priority, project, tags)
gtdGetting Things Done (contexts, energy, next-actions)
scrumSprint-based (story points, sprint IDs, acceptance criteria)
kanbanBoard columns, WIP limits, classes of service
authors_custom_exampleAdvanced real-world example with lifecycle phases, hypothesis-driven research, and LLM provenance tracking

On first run, the MCP will prompt you to select a schema or auto-generate one from your existing tasks.


Security

This tool gives an LLM indirect access to your task management CLI. Security is not optional:

  • No shell execution โ€” all CLI calls use subprocess argument lists, never shell=True
  • Input sanitization โ€” all LLM inputs validated against allowlists before passing to CLI
  • Rate limiting โ€” configurable per-minute/per-hour caps prevent runaway loops
  • Audit logging โ€” every operation logged with timestamp, tool, parameters, result, and result_code
  • Code-tagged envelopes โ€” every tool response includes a stable code field for machine-safe branching
  • Dry-run mode โ€” every destructive operation supports dry_run preview without mutation
  • Confirmation mode โ€” lifecycle operations use explicit confirmation tokens when confirmation is enabled
  • Sensitive field redaction โ€” configurable fields hidden from LLM responses

See ADR 9, ADR 13, and ADR 14 for the full security and observability design.


Taskwarrior Compatibility

VersionStatus
Taskwarrior 3.x (TaskChampion)โœ… Fully supported
Taskwarrior 2.x (Taskserver/taskd)โณ Planned for future release

We focus on the modern Taskwarrior 3.x + TaskChampion stack. Taskserver (taskd) is deprecated and will receive limited support in a future version. See ADR 8.


Documentation

Folder / fileContents
docs/adrs/Architecture Decision Records
docs/references/Upstream tool reference (Taskd, TaskChampion, Timewarrior)
docs/manuals/quick_start.mdManual config.toml setup
docs/manuals/configuration_reference.mdFull config key reference with precedence rules
docs/manuals/schema_authoring.mdWriting custom task schemas
docs/manuals/security_model.mdSecurity controls for end-users
docs/manuals/initialization_flows.mdWhich init path to use (LLM-driven vs CLI vs hand-edit)
docs/manuals/targets/Per-IDE install guides (Claude Desktop, Windsurf, Cursor, Neovim)
docs/manuals/logrotate.mdAudit log rotation
docs/llm_context/LLM agent guidelines and tracked assumptions
docs/CONTRIBUTING.mdHow to contribute (branching, PRs, versioning)
docs/ROADMAP.mdFeature roadmap (v0.1.0 โ†’ v1.0.0)
docs/releases/v1.0.4.mdv1.0.2 release notes and install links
docs/manuals/release_checklist.mdPre-tag publish checklist
src/taskchampion_mcp/schemas/Bundled task schema presets (TOML)
scripts/setup_remote.shOne-shot remote-host bootstrap