Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TOOLSNoUse --tools full to start the server with every tool; by default it lists only the core workflow tools.
ACTOR_IDYesIdentifier for the agent, passed to the MCP server as --actor-id (for example "claude" or "codex").
ACTOR_NAMEYesHuman-readable name for the agent, passed to the MCP server as --actor-name (for example "Claude Code" or "Codex").

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Istok keeps this project's tasks, runs, checks and knowledge outside the chat, so work survives the session and another agent can continue it.

Use it for substantial work: features, fixes, refactoring, migrations and investigations. An investigation counts even when the user wants no code changes: debugging a report, explaining production data, tracing a bug. Start a task as soon as the work takes several steps or turns, and record hypotheses, what was ruled out and the conclusion with task_progress. Skip Istok only for one-off questions, quick reading and tiny edits.

  1. Call project_current. If the directory is not registered, tell the user and continue without Istok; call project_init only when the user asks.

  2. Find an existing task with task_ready or task_list, then call task_start with its task_id, or with a title to create one. It claims the task or continues your own run, and returns project rules, task context, code hits and the latest handoff. Follow the rules; do not bulk-load other context.

  3. Record meaningful steps with task_progress, blockers with task_block and commits with task_commit. Your calls keep the run lease alive.

  4. Before you stop or the context is compacted, write task_handoff: what is done, where you stopped, decisions, the next step. Afterwards call task_start again with the same task_id. When the user hands the task to another agent ("stop, someone else will continue"), call task_handoff with release: true; it ends your run and leaves the task open for them.

  5. Run each check (tests, build, lint) with run_validate and the task_id instead of your own shell: Istok executes it and keeps the exit code and output as evidence. Use task_evidence only for checks Istok cannot run, such as CI or a manual test.

  6. Close with task_done and a summary; pass not_verified_reason if the result cannot be verified. Implementation alone is not completion.

If a lease cannot be resumed, call run_recover with a reason. On revision_conflict, read the task with task_show and retry.

When the user asks to remember a rule for the project, save it with context_add; find and change saved rules with context_list and context_update. Find knowledge with knowledge_search and read only relevant items with knowledge_read. Locate code with search, then verify it in the source.

This server lists the core tools. Knowledge writing, the code graph, dependencies and run internals need Istok started with --tools full.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
context_addA

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.

context_listA

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.

context_updateA

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.

knowledge_readB

Read one complete knowledge item on demand.

knowledge_searchB

Search project knowledge and return bounded metadata and snippets.

project_currentA

Get the project associated with the server root.

project_initA

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.

run_recoverA

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.

run_validateA

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.

searchA

Search the fresh index for the fixed current project.

task_blockA

Block a task with the reason. Omit expected_revision to block the current revision. Keeps your run lease alive.

task_commitA

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.

task_doneA

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.

task_evidenceA

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.

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.

task_listB

List tasks in the current project.

task_progressA

Add a task progress update. Omit expected_revision to append without compare-and-swap. Keeps your run lease alive.

task_readyA

List ready tasks in the current project.

task_showA

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.

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 20 tools

Disambiguation4/5

Most tools target a distinct resource+action (task_start vs task_show vs task_done vs task_block are clearly delineated, and run_validate vs task_evidence is explicitly disambiguated in the descriptions). However `search` ("search the fresh index") and `knowledge_search` ("search project knowledge") are easy to confuse, and `task_list` vs `task_ready` overlap since the latter is essentially a filtered list.

Naming Consistency4/5

The dominant pattern is entity_action (task_start, task_block, context_update, knowledge_read, project_init, run_recover), applied consistently across all domains. The lone deviation is the bare verb `search`, which breaks the pattern and noticeably worsens its confusability with knowledge_search.

Tool Count4/5

Twenty tools is on the heavy side, but the domain genuinely spans tasks, runs, context, knowledge, projects and search, and nearly every tool maps to a distinct operation with no filler. A couple could reasonably be folded together (task_ready into task_list, search into knowledge_search) but nothing is gratuitous.

Completeness3/5

Core lifecycle (start, progress, block, handoff, commit, done) is covered, but the surface has real dead ends: task_update and knowledge_create are referenced in descriptions yet absent, so tasks cannot be edited and knowledge cannot be written from this configuration. There is also no tool to create dependencies between tasks even though task_show reports them.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues