Tasklog MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Tasklog MCP what was I working on last session, and what's still open?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Tasklog MCP
Small stdio MCP server for work-first continuity across coding sessions.
Without a continuity layer, session recovery usually turns into ad hoc recap work: tell the agent to write a summary, remember which .md file it went into, find that file again next session, ask the agent to reread it, then hope it reconstructs the right scope from a mix of stale notes and raw logs.
Tasklog turns that into a repeatable workflow. It gives one coding workspace a lightweight local system for tracking current work, session handoffs, next steps, and the small set of artifacts that matter when you need to resume quickly.
It answers a narrow set of questions quickly:
What am I working on right now?
What work is still open?
What changed in the last session?
Where should plans, specs, and reminders live?
If a work is already closed, what is the right re-entry brief?
Tasklog is intentionally work-first, not log-first and not a general memory layer.
Why It Exists
Most AI-assisted workflows still handle continuity manually.
In practice that usually means some mix of:
asking the agent to dump a one-off summary into a markdown file
remembering where that file was written
rereading long logs because no work boundary was captured cleanly
reconstructing next steps from scratch after an interruption
Most session logging tools then drift toward one of two extremes:
a raw chronological notebook that gets expensive to reread
a broad memory system that tries to remember everything
Tasklog stays narrower than both and tries to make continuity part of the normal work loop instead of an extra recap chore.
workis the main unit of continuitylogis for session handoff onlyworkdocs/hold the durable human-facing artifactsclosed-work
summary.mdexists only to accelerate re-entry into that work
The goal is to make session recovery cheap without turning Tasklog into a general memory layer.
Related MCP server: AgentBridge MCP
Quick Start
Run with npx:
npx -y tasklog-mcp@0.3.0Or install globally:
npm install -g tasklog-mcp
tasklog-mcpAdd it to Codex:
codex mcp add tasklog -- npx -y tasklog-mcp@0.3.0By default, Tasklog uses the current working directory as project_root. To point it elsewhere:
npx -y tasklog-mcp@0.3.0 --project-root /path/to/workspaceReal Workflow Use Cases
Tasklog is most useful when sessions move fast and continuity breaks often.
Common cases:
you come back to a workspace and want the agent to list what is still open before choosing the next task
you want to triage unfinished work by
impactortag, such as finding the opencriticalitems firstyou exited a session abruptly and need to clean up stale
activework items before resumingyou know roughly what you were working on, but want the agent to recover scope, next steps, and artifacts without rereading long logs
you finished a risky or expensive change and want a narrow re-entry brief for that one work later
This makes Tasklog a better fit for fast-moving solo work, agent-assisted iteration, and "vibe coding" style workflows than for broad knowledge management.
Resume Workflow
flowchart LR
A[Start a new session] --> B[See what is still open]
B --> C[Choose the right work]
C --> D[Load scope, notes, and next steps]
D --> E[Do the work]
E --> F[Leave a clean handoff]This is the typical resume flow Tasklog is trying to make cheap: recover the right work, re-enter it with minimal context, then leave behind a clean handoff for the next session.
Typical tools behind this flow:
get_active_contextlist_worksorresume_workread_work_contextappend_work_note,append_session_log,set_work_status
Mental Model
Tasklog separates continuity into two layers:
machine-facing state under
.tasklog/human-facing work artifacts under
workdocs/
The main objects are:
work: one coherent effortlog: one session handoff entrydesign.md: goals, constraints, tradeoffsplan.md: execution sequence and target pathsspec.md: exact behavior or contract detailsnotes.md: lightweight reminderssummary.md: optional re-entry brief for selected closed work
In practice:
active work is driven by recent logs plus current workdocs
small closed work can stay raw
selected closed work can become summary-first
Typical Flow
Start with
get_active_contextIf needed, use
list_works(status="open")andresume_workCall
read_work_contextUse workdocs and logs according to intent
Recommended tool choices:
start a new effort:
start_workcontinue an existing effort:
resume_workcapture approach:
create_design_doccapture implementation steps:
create_plan_doccapture exact rules:
create_spec_docnote something down:
append_work_noterecord a session handoff:
append_session_log
Benchmark
Tasklog's workflow claim is supported by a scenario-driven re-entry benchmark in scripts/benchmark-reentry.ts.
Measured on one real multi-repo workspace, the current sample covers 15 workflow scenarios across active work discovery plus active and done work re-entry.
The benchmark compares four resume paths:
no continuity: inspect only workspace/codebase context and git state, with no.tasklogorworkdocs/markdown notebook scan: reread the session notebook/log markdown directlyraw JSON state scan: read.tasklog/active-context.json,.tasklog/works.json, and.tasklog/session-log.jsondirectly and reconstruct the answer without the higher-level MCP flowTasklog path: use the work-first MCP tools such asget_active_context,list_works,resume_work, andread_work_context
The benchmark grades two things:
coverage: whether the payload contains the evidence needed to answer a real resume questionstructured-answer accuracy: whether a reconstructed answer matches ground truth field-by-field
Full-sample summary:
Resume Path | What It Simulates | Coverage | Structured-Answer Accuracy | Re-entry Context Surface |
No continuity | Codebase/workspace scan only |
|
|
|
Markdown notes | Freeform note reread |
|
|
|
Raw JSON state | Direct state-file reconstruction |
|
|
|
Tasklog | Work-first MCP re-entry flow |
|
|
|
Across the full sample, Tasklog matched the raw JSON path on coverage and structured-answer accuracy while using about 91.54% less context than markdown notes and 93.93% less context than direct raw-state reconstruction.
For practical re-entry, Tasklog is the lowest-context path that still stayed fully answerable across the full sample.
This benchmark measures the payload exposed for re-entry, not total end-to-end model token usage. It uses a real workspace and real work items, but it is still not a blind human study.
To rerun:
npm run bench:reentry -- --project-root /path/to/workspace --manifest docs/benchmark-candidates.jsonYou can still use one or more --work-id <work_id> flags when you want a narrower check.
Closed-Work Summaries
Tasklog can attach summary.md to selected closed work items.
This summary is intentionally narrow:
it is the canonical re-entry brief for that work
it is not a generic retrieval layer for arbitrary project facts
it does not replace project docs, code search, or architecture tools
it does not create free-floating memory objects outside a work item
For closed/consolidated work:
read_work_contextis summary-first and path-firstsummary.mdis the default entrypointinclude_summary=trueinlines the summary body only when neededinclude_recent_logs=trueloads raw log evidence only when needed
By default, consolidated work does not inline the summary body or recent logs.
Work Records
Each work has:
work_id: 6-character base62 idtitleslugstatus:active,blocked, ordoneoptional
impact:low,medium,high, orcriticalstart_dirscope_pathsoptional
summaryoptional
tagscreated_atupdated_at
impact is work metadata. It helps decide whether a closed work deserves a canonical re-entry brief. It is not a separate memory object.
Scope Model
Tasklog separates overall work scope from the narrower scope of one implementation pass:
work scope lives in
start_dirandscope_pathsplan scope lives in
target_pathsinsideplan.md
One project_root can be:
a single repo
or a parent workspace containing multiple repos
Tasklog tracks one workspace root at a time, not one git repo at a time.
Storage Layout
<project_root>/
.tasklog/
works.json
active-context.json
session-log.json
session-log.md
workdocs/
<work_id>-<slug>/
design.md
plan.md
spec.md
summary.md
notes.mdAuthoritative sources:
.tasklog/works.json: machine-facing work state.tasklog/session-log.json: machine-facing session logsworkdocs/: human-facing work artifactsactive_work: session hint only, not the source of truth
Compatibility notes:
canonical log writes are mirrored to legacy
.ai-history.jsoncanonical markdown log writes are mirrored to legacy
.ai-session-log.mdif canonical JSON does not exist yet, Tasklog can still read legacy
.ai-history.json
Tool Surface
Work discovery:
get_active_contextlist_worksstart_workresume_workset_work_impactset_work_statusread_work_context
Artifact creation:
create_design_doccreate_plan_doccreate_spec_doccreate_summary_docappend_work_note
Logs:
get_recent_logsappend_session_logupdate_log_statusamend_log_metadata
Deprecated compatibility:
get_open_threads
Prefer list_works(status="open") for new flows.
Boundaries
Tasklog is not:
a full journal
a generic memory MCP
a note vault for arbitrary facts
a replacement for project docs, code search, or architecture tools
a guarantee that every interrupted session leaves perfect active-work state behind
Design goals:
keep it small
keep it explicit
keep it low-drag
keep it handoff-friendly
keep it lean
Current Friction
Tasklog is intentionally small, so some cleanup still stays explicit.
if a session ends abruptly, a work item may still be marked
activeuntil the next session closes or updates itthat is usually cheap to fix with
list_worksplusset_work_status, but it is still manual state cleanup todayif your workflow needs automatic long-term memory, semantic retrieval, or project-wide reasoning, pair Tasklog with docs, code search, and architecture tools instead of stretching Tasklog beyond its scope
Reliability Notes
writes are serialized within one server process
writes are atomic per file using temp-file replacement
multi-file operations are not transactionally atomic
all machine and document paths stay inside the selected
project_rootmultiple server processes pointing at the same root are not a supported coordination mode
Resources
The MCP server exposes:
tasklog://usagetasklog://schematasklog://examples
These are the detailed references for workflow rules, schemas, and examples.
Local Development
cd tasklog-mcp
npm install
npm test
npm run buildRun against a specific project root:
node dist/index.js --project-root /Users/Lab/Desktop/WebWay/CodeWebwayOr during development:
npm run dev -- --project-root /Users/Lab/Desktop/WebWay/CodeWebwayIf --project-root is omitted, the server uses the current working directory.
MCP Config
Generic stdio config:
{
"mcpServers": {
"tasklog": {
"type": "stdio",
"command": "npx",
"args": ["-y", "tasklog-mcp@0.3.0"],
"env": {}
}
}
}If you want to point somewhere else explicitly, add --project-root <path> to args.
Legacy compatibility environment variables are still supported:
LOGBOOK_PROJECT_ROOTLOGBOOK_JSON_FILELOGBOOK_MARKDOWN_FILE
Claude Desktop and Cursor can use the same stdio command pattern. If you keep separate config files per client, pin the same tasklog-mcp@0.3.0 package version there too so Codex and Claude resolve the same release.
Available Tools
17 toolsamend_log_metadataAmend log metadataA
Amend limited metadata on an existing entry. Use this for affected_files, tags, next_steps, or blockers only.
Inputs: log_id (required), tags, blockers, next_steps, +1 more. Returns: entry
append_session_logAppend a project session logB
Append a new session activity log. The tool will attach a work id automatically when the active work is fresh, or accept an explicit work id.
Inputs: status (required), summary (required), change_type (required), tags, +6 more. Returns: entry, json_path, project_root, markdown_path
append_work_noteAppend work noteA
Append a lightweight note to notes.md for the active work. Use this when the user says to note something down.
Inputs: note (required), work_id. Returns: path, work, created
create_design_docCreate design docB
Create or reopen design.md for the active work using the standard workdoc template.
Inputs: work_id. Returns: path, work, created, target_paths
create_plan_docCreate plan docB
Create or reopen plan.md for the active work. target_paths may narrow the implementation pass to a subset of the work scope.
Inputs: work_id, target_paths. Returns: path, work, created, target_paths
create_spec_docCreate spec docA
Create or reopen spec.md for the active work using the standard workdoc template.
Inputs: work_id. Returns: path, work, created, target_paths
create_summary_docCreate summary docA
Create or reopen summary.md for a done work item so the closed work has a canonical re-entry brief.
Inputs: work_id. Returns: path, work, created, target_paths
get_active_contextGet active contextA
Return the inferred project roots, canonical log paths, workdocs root, and current active work state for this session.
Inputs: no named parameters. Returns: freshness, json_path, state_root, updated_at, +5 more
get_open_threadsGet open threadsA
Deprecated compatibility surface. Returns unresolved or follow-up-worthy log entries, but prefer list_works(status="open") for work-first discovery.
Inputs: limit. Returns: count, entries, json_path, project_root, +1 more
get_recent_logsGet recent session logsA
Read recent session summaries. Defaults to the active work when one is fresh; otherwise falls back to project-wide history.
Inputs: limit, work_id, project_wide. Returns: count, entries, json_path, project_root, +1 more
list_worksList worksA
List work items for the current project. Prefer this over open-thread log discovery when the user asks what is still open.
Inputs: tag, limit, query, impact, +3 more. Returns: count, works, project_root, workdocs_root
read_work_contextRead work contextB
Return a concise overview of one work including artifact paths, context mode, recent logs, and optional summary loading for consolidated closed work.
Inputs: work_id, include_summary, include_recent_logs. Returns: context
resume_workResume workA
Set the active work for this session by work id or query. Use this before reading work context or writing work-scoped logs.
Inputs: query, work_id. Returns: freshness, json_path, state_root, updated_at, +5 more
set_work_impactSet work impactB
Set or clear the work-level impact metadata used to judge how important this work is to remember during re-entry.
Inputs: work_id (required), impact. Returns: work
set_work_statusSet work statusC
Update the lifecycle status of a work item.
Inputs: status (required), work_id (required). Returns: work
start_workStart workA
Create a new work, generate a short work id, persist work metadata, and mark it as the active work for this session.
Inputs: title (required), tags, impact, summary, +2 more. Returns: work, project_root, artifact_paths
update_log_statusUpdate log statusA
Change only the lifecycle status of an existing log entry without rewriting its summary.
Inputs: log_id (required), status (required). Returns: entry
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Most tools target a distinct resource+action, but several clusters overlap: create_design_doc/create_plan_doc/create_spec_doc/create_summary_doc are the same operation differing only by filename/template, and get_open_threads explicitly duplicates list_works(status="open"). set_work_status vs update_log_status (work vs log entity) also requires careful reading of descriptions to disambiguate.
Every tool follows a consistent snake_case verb_noun pattern (get_active_context, list_works, start_work, append_session_log, amend_log_metadata), with the resource always named after the verb. Verb choices (get/read, start/resume/create) vary but map to genuinely different operations rather than stylistic drift.
17 tools is on the heavy side for a work-logging server, and the surface is inflated by four near-duplicate doc-creation tools plus one deprecated compatibility tool. The core work/log/doc areas each justify their tools, but a doc_type parameter and removing the deprecated entry would bring this to a tight ~11-tool set.
Core lifecycle is covered (start, resume, list, status/impact updates, context read, log append/amend/status, workdoc creation) with no dead-end for the happy path. However there is no delete/archive of work items, no way to update a work's title/scope after creation, no log search, and the workdoc tools are create-only with no read or edit-content counterpart.
Maintenance
Related MCP Connectors
Work journal for coding agents: worklogs, tasks, project state and costs across projects.
Persistent work tracking for AI agents: tasks, status and history that follow you across machines
Shared task layer for AI agents: tasks, handoffs and decisions that persist across tools.
Agent-native notes, tasks, dev-docs, vaults, sync & handoffs. MCP + OpenAPI dual surface.
Related MCP Servers
- FlicenseNot gradedqualityBmaintenancePersistent memory and task coordination for AI coding agents. Tracks sprint items, logs tasks, manages session handoffs, and surfaces HITL requests so you stay in control across single or parallel Claude Code, Codex, Cursor, and Windsurf sessions.-
- AlicenseNot gradedqualityCmaintenanceEnables coding agents to persist and resume shared working state—tasks, progress, decisions, commands, tests, checkpoints, and handoffs—backed by SQLite while keeping Git authoritative for files and repository state.MIT
- AlicenseAqualityBmaintenanceEnables AI coding agents to record and resume engineering work as durable, byte-exact threads of focus, decisions, evidence, and next steps.4304Functional Source , Version 1.1, ALv2 Future
- AlicenseNot gradedqualityBmaintenanceEnables agents to open and update session work, report goals, tasks, blockers, outcomes, and subagent contributions, and resume compact context after interruptions. A local dashboard then visualizes multiple sessions and live updates without requiring additional model calls.MIT