Istok
Your coding agent says "done". Istok keeps the proof: the task, every attempt, and the checks behind the result, with Istok running the commands itself. It all stays with your project instead of inside one conversation, so a new session — or a different agent, or another of your machines — picks up where the last one stopped.
Why
If you work with Claude Code, Codex or Cursor, three things keep getting in the way:
Sessions end. Close the chat or hit the context limit, and the plan, the decisions and the half-finished work go with it.
Work is invisible. With several agents in several repositories, it is hard to tell who did what and what quietly stalled.
"Done" is a claim. The agent says the tests pass; nothing shows that it ran them.
Istok is a local CLI and MCP server. Your agent records its work through MCP while it goes; you keep talking to it as before. Everything stays on your machine in one SQLite file: no account, no cloud, and nothing written into your repository. To work on several machines, run your own sync hub.
Related MCP server: Lific
Quick start
With Claude Code, install the plugin. It brings the MCP server and the hooks, and downloads Istok on first use when it is not installed yet:
/plugin install istok --marketplace vtimame/istok.shThen go to step 3. To use istok in your own terminal too, install it as in step 1.
1. Install (Linux and macOS, no root needed):
curl -fsSL https://get.istok.sh | shOr with Homebrew: brew install vtimame/tap/istok.
2. Connect your agent once, for your user. For Claude Code without the plugin:
claude mcp add --transport stdio --scope user istok -- \
istok mcp --actor-id claude --actor-name "Claude Code"For Codex:
codex mcp add istok -- \
istok mcp --actor-id codex --actor-name "Codex"To keep work across restarts and compactions, add the hooks once:
istok hooks install claude # or: istok hooks install codexThe server lists the core workflow tools; start it with istok mcp --tools full for every tool.
Cursor and other MCP clients are covered in the quick start, together with a short block of instructions that tells the agent when to use Istok.
3. Ask the agent to register your project. Start it in the repository and say:
Register this project in Istok.
Then give it real work as usual. It creates a task, claims it, runs the checks through Istok and completes the task with that evidence.
4. See what happened:
istok task list
istok task show 1Each task shows its history, with every run and the linked commits.
Learn more
What is Istok — the problem and what you get.
Working with your agent — what to say to continue work, remember a rule or hand over to another agent.
Sync between devices — run a hub and continue the same project on another machine.
How Istok works — projects, tasks and runs, validation, context and knowledge.
The documentation is also available in Russian, and as llms.txt for agents.
Sync between your devices
To continue the same project on another machine, run a sync hub on any server your devices reach — a VPS or a home server, no domain or certificate needed. The hub stores only rows encrypted on your devices. With Docker, take docker/hub/compose.yml:
ISTOK_HUB_ADVERTISE=203.0.113.10:7443 docker compose up -d
docker compose exec hub istok hub device add laptop # prints a one-time invitationTo reach the hub from several networks, list its addresses separated by commas, for example a LAN and a Tailscale address; devices use whichever answers.
On the device, istok sync join CODE registers it and istok sync enable in a project folder starts syncing; the second device joins with --key from istok sync key, and istok sync enable in its clone of the repository fetches the same project. The image ghcr.io/vtimame/istok-hub is published with every release for x86-64 and ARM64.
Platforms
Releases are built for Linux (x86-64, ARM64) and macOS (Intel, Apple Silicon). Windows is not supported yet.
Releases are signed. istok update checks for a newer stable release, verifies it, backs up the database and migrates it; istok update --check only reports. A Homebrew install is updated with brew upgrade istok.
Build from source
Istok is written in Go. Building needs Go with cgo (for SQLite):
make build # writes bin/istok
make install # installs into ~/.local/bin
go test ./...A source build cannot update itself; install an official release for istok update.
License
Apache 2.0. Changes are listed in the changelog.
Available Tools
20 toolscontext_addAIdempotent
Save a rule, decision, constraint or note for the current project, so later sessions and other agents see it. Use it when the user asks you to remember something for this project. Instructions (kind=instruction) are delivered with every task_start by default; other kinds are delivered when they match the task. To change or retire an existing record, find it with context_list and use context_update instead of adding a duplicate. Longer reusable documentation belongs in knowledge: knowledge_search and knowledge_read find and read it, and knowledge_create writes it when Istok runs with --tools full; otherwise ask the user to add it with istok knowledge add.
Inputs: title (required), body, kind, tags, +9 more. Returns: error, context, schema_version
context_listARead-onlyIdempotent
List the saved context of the current project: rules, decisions, constraints and notes, with their ids and revisions. Archived records and disabled instructions are left out unless include_deleted or include_disabled is set; the filters combine with AND. Use it to check what the project already remembers before context_add, or to find the record and revision for context_update.
Inputs: kinds, limit, sources, visibilities, +3 more. Returns: error, contexts, schema_version
context_updateADestructiveIdempotent
Change a saved context record of the current project: its text, kind, tags, delivery or expiry. Only the fields you pass change; an empty string clears review_after, expires_at or superseded_by. Get context_id and the current revision from context_list; the update fails with revision_conflict if the record changed since, so read it again and retry. To retire a record in favour of a newer one, set superseded_by to the replacement's id.
Inputs: context_id (required), expected_revision (required), body, kind, +11 more. Returns: error, context, schema_version
knowledge_readBRead-onlyIdempotent
Read one complete knowledge item on demand.
Inputs: knowledge_id (required). Returns: error, knowledge, schema_version
knowledge_searchBRead-onlyIdempotent
Search project knowledge and return bounded metadata and snippets.
Inputs: query (required), limit, offset. Returns: error, items, limit, offset, +1 more
project_currentARead-onlyIdempotent
Get the project associated with the server root.
Returns: error, project, schema_version
project_initAIdempotent
Register the directory this MCP server was started in (the server root) as an Istok project, so tasks, runs and context can be recorded for it. Nothing is written into the directory itself; the project lives in Istok's local database. If the directory is already registered, the existing project is returned with created=false and nothing changes. Call project_current first and use this only when the directory is not registered and the user asked to register it.
Inputs: name. Returns: error, created, project, schema_version
run_recoverADestructive
Take back your own active run of a task after its lease expired, for example after the session was interrupted for longer than the lease. It issues a new lease to you, cancels the run's executions still marked as running, and records the reason in the task history. Only the actor who owns the lease can recover it. While the lease is still valid this fails; pass force=true only when you know the previous holder of your lease is gone. To simply continue your own run, call task_start with the task_id instead.
Inputs: reason (required), run_id (required), force. Returns: run, error, snapshot, schema_version
run_validateDestructive
Run a check (tests, a build, a linter) through Istok for your run of the task: Istok executes the command in the project and records its exit code and output as evidence, tied to the state of the code it checked, which a check run in your own shell cannot give. Run it after your last change to the code: task_done refuses a validation when the code has changed since. Prefer it to running the check yourself and reporting it with task_evidence. Pass task_id, and argv without a shell.
Inputs: argv (required), cwd, run_id, task_id, +6 more. Returns: error, artifacts, execution, validation, +1 more
searchARead-onlyIdempotent
Search the fresh index for the fixed current project.
Inputs: query (required), limit. Returns: error, status, project, results, +2 more
task_blockADestructiveIdempotent
Block a task with the reason. Omit expected_revision to block the current revision. Keeps your run lease alive.
Inputs: reason (required), task_id (required), expected_revision. Returns: task, error, schema_version
task_commitAIdempotent
Link a git commit to the task: sha, subject and time are read from the repository. Use repository for a nested repository of the project. Linking the same commit twice changes nothing. Keeps your run lease alive.
Inputs: task_id (required), commit, repository. Returns: task, error, commit, linked, +1 more
task_done
Finish your run of the task and complete the task in one call. Uses a passed validation of the run, preferably one run with run_validate, or closes it unverified with not_verified_reason. A validation from run_validate counts only while the code is as it was when the check ran: if you changed the code since, the call fails with evidence_stale and the run stays open, so run the check again first.
Inputs: summary (required), task_id (required), validation_id, not_verified_reason. Returns: run, task, error, completion, +1 more
task_evidence
Record a check Istok cannot run itself (a CI pipeline, a manual test, a command that needs your own environment) as an attested validation of your run of the task: Istok stores your word for it. For a command Istok can run, use run_validate instead.
Inputs: status (required), summary (required), task_id (required), command, +3 more. Returns: error, execution, validation, schema_version
task_handoffA
Record where the work stands for the next session: done, where it stopped, decisions, next step. The latest handoff is current; task_start returns it. Keeps your run lease alive; with release, ends your run instead and leaves the task open for another agent.
Inputs: note (required), task_id (required), release. Returns: task, error, released_run, schema_version
task_listBRead-onlyIdempotent
List tasks in the current project.
Inputs: statuses, include_deleted. Returns: error, tasks, schema_version
task_progressAIdempotent
Add a task progress update. Omit expected_revision to append without compare-and-swap. Keeps your run lease alive.
Inputs: body (required), task_id (required), expected_revision. Returns: task, error, schema_version
task_readyARead-onlyIdempotent
List ready tasks in the current project.
Returns: error, tasks, schema_version
task_showARead-onlyIdempotent
Read one task of the current project with its full history: the task fields and revision, every event (progress, comments, runs, checks, commits), its dependencies, blockers and dependents, and whether it has an active or expired run. Use it to review a task, or to read its current revision for compare-and-swap, such as task_block's optional expected_revision or task_update, which is listed when Istok runs with --tools full; to start working on the task, call task_start instead, which also returns the context and handoff you need.
Inputs: task_id (required), include_deleted. Returns: show, error, schema_version
task_startA
Start work on a task in one call: create it from title when task_id is omitted, claim it or continue your own active run of it, and return the run, its context snapshot and the handoff (latest handoff note, recent notes, earlier runs). Safe to call again after a restart or a context compaction.
Inputs: title, task_id, description, context_limit, +1 more. Returns: run, task, error, notice, +4 more
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Most tools have distinct resource-and-action roles, and descriptions explicitly separate close pairs such as run_validate vs. task_evidence and task_start vs. run_recover. Minor ambiguity remains between generic search and knowledge_search, and among several task lifecycle tools (progress, handoff, commit, done), though the descriptions usually resolve it.
All names use lower snake_case and mostly follow a predictable resource_action pattern: task_*, context_*, run_*, knowledge_*, and project_*. The bare search tool is a small outlier but does not disrupt the overall convention.
Twenty tools is on the heavy side, but the server spans task lifecycle, context, knowledge, project setup, search, and validation, and each tool maps to a distinct operation rather than filler. It is slightly above the ideal 3-15 range but still reasonable for the breadth of the domain.
The core task execution loop is well covered: start, progress, validate/evidence, handoff, block, commit, and done, plus project and context management. However, there is no task_update or dependency-management tool in this surface, and knowledge_create is unavailable here, so editing tasks or writing knowledge is not fully supported.
Maintenance
Related MCP Connectors
Minimal issue tracker: projects, objectives and trackable plans, written by agents over MCP.
Task tracking built for coding agents. Work is leased, so two agents never take the same SubTask.
A task list shared by you and your coding agents (Claude Code, Cursor, Codex and any MCP client). Agents plan each task into steps, report live progress to a board, and block on questions you answer from your phone.
Local-first task manager: create, edit, and complete tasks, projects, and checklists via MCP.
Related MCP Servers
- FlicenseNot gradedqualityAmaintenanceLocal MCP server that lets your AI coding agent query its own cross-tool project history - file/command freshness, past test failures, cost & token spend, cache status, and session handoff - over stdio, 100% local, no telemetry.62-
- AlicenseBqualityAmaintenanceSelf-hosted issue tracker built for agent-driven development. One binary, SQLite storage, MCP-native, with a web UI, REST API, and CLI for the humans.2797Apache 2.0
- FlicenseNot gradedqualityBmaintenanceA local-first MCP server and CLI that gives coding agents structured project memory, task contracts, context packs, backlog workflows, and verification evidence, storing data in reviewable Markdown/YAML with a fast SQLite index.4-
- AlicenseBqualityBmaintenanceAn MCP server backed by SQLite that gives a team of AI agents a shared system of record for their work, enabling them to create, update, list, and flag tasks with ownership, due dates, blockers, approval gates, and links, while keeping an append-only log of every status change. Agents use it to enforce a no-task-no-work rule, so each piece of research, purchase, edit, outreach, or code change is tracked from start to completion with recorded evidence.20MIT