TheGuidingPrincipels/Task-Tracking-MCP
If you are the rightful owner of Task-Tracking-MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
Task Tracking MCP is a modern server designed for strategic task planning and goal tracking, utilizing SQLite for consistent environment management.
Task Tracking MCP
Modern MCP server for strategic task planning and goal tracking. The project uses SQLite (via better-sqlite3) and a unified baseline migration to keep development, CI, and production environments consistent.
Prerequisites
- Node.js 20+
- npm 10+
- SQLite CLI (
sqlite3) available on your PATH
Installation & Local Setup
npm ci
npm run build
npm run db:migrate # applies migrations/1000_baseline_schema.sql to data/tasks.db
Common database workflows:
npm run db:fresh– rebuildsdata/tasks.dbfrom the baseline.npm run db:stamp– records the baseline as applied (useful when the file already matchesmigrations/1000_baseline_schema.sql).npm run db:status– shows applied/pending migrations.
Maintenance & Seed Utilities
scripts/maintenance/dedup-monthly-goals.ts— deduplicate(month, title)combinations while preserving references.scripts/seeds/seed-pattern-defaults.ts— backfill enhanced pattern columns with sane defaults.scripts/seed-today-demo.mjs— populate demo data for local exploration.
Run any of the scripts with npx tsx <script> (or DATABASE_PATH=... npx tsx ... against a custom database file).
Testing
npm test
The suite exercises the entire goal lifecycle, baseline migrations, and regression scenarios.
Benchmark Research Workflow
Server-side web research is disabled by default (TASK_PLANNER_ENABLE_SERVER_RESEARCH=false). When get_task_forecast returns web_research_desired: true, orchestrate research client-side:
- Call
get_task_forecastand inspectworkflow_status.needs_researchmeans the forecast is incomplete; follow the entry inrequired_actions[0](typicallyexa:web_search_exa).low_confidencemeans the forecast is usable only after collecting more historical data (no research required yet).
- Use your preferred web-search MCP/server to gather durations and citations when research is required.
- Call
ingest_benchmark_evidencewith the extracted observations; it returns the DBcache_keyand next steps for verification. - Run
get_task_forecastagain to confirmworkflow_statuschanges tocompleteandbenchmark_availablebecomestrue(cache TTL defaults to 30 days, configurable viaTASK_PLANNER_BENCHMARK_TTL_DAYS).- Transparency fields help you audit adjustments:
benchmark_rawshows unadjusted P50/P80/P90 from cacheadjustment_factorsshows multipliers (velocity, complexity, time-of-day) andnet_multiplierbenchmark_sourcereveals provider of the cached row
- Transparency fields help you audit adjustments:
Set TASK_PLANNER_ENABLE_SERVER_RESEARCH=true only if you intentionally want the MCP server to perform web requests itself.
Test Isolation & Cache Management
- Use
purge_benchmark_cacheto delete a cached benchmark before a test run:- Args:
{ "archetype": "Implement OAuth2 authentication", "source_provider": "web_research_exa" }(optional source filter) - Deletes both the aggregate and evidence rows for the matching key(s).
- Args:
Logging in MCP (Important)
- By default, runtime logs are silenced in MCP mode to avoid contaminating stdout/stderr with non‑JSON text that some clients try to parse as NDJSON.
- To enable logs in development, set
TASK_PLANNER_LOG_LEVEL=debug(or any non‑silentvalue) and run vianpm run dev. Avoid enabling logs when connected to an MCP client unless the client safely ignores non‑JSON lines.
Continuous Integration
GitHub Actions (.github/workflows/ci.yml) checks every push and pull request:
- Installs dependencies and builds the TypeScript sources.
- Applies the baseline migration.
- Compares the schema produced by
DatabaseManageragainstmigrations/1000_baseline_schema.sqlto guard against drift. - Runs
npm test.
Any schema change must update both src/database.ts and regenerate migrations/1000_baseline_schema.sql.
Further References
- – original consolidation proposal.
- – phased execution log, including verification results.
- – SMART/WOOP data model, new tables/fields, and UI integration tips.
TASK_PLANNER_BENCHMARK_TTL_DAYS— how long (in days) automatic web benchmarks stay in the cache. Default30keeps behaviour balanced; drop to14for fast-changing topics, or bump to60–90for very stable work.