livewiki
v0.3.4A repository wiki of Markdown pages anchored to real code: read, search, and verified writes.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
livewiki_quickstart
Returns livewiki/quickstart.md (the low-token entry point for navigating the wiki). Errors if the wiki isn't initialized yet — run `livewiki init` first.
livewiki_read
Reads a wiki page by its relative path inside the repo (e.g. 'livewiki/auth.md'). Path must be inside the livewiki/ allowlist.
| Parameter | Type | Description |
|---|---|---|
path * | string | Relative path to the wiki page, e.g. 'livewiki/auth.md' |
livewiki_search
Full-text search over all wiki pages using SQLite FTS5. Returns up to N hits (default 20) with wiki path and a snippet around the match.
| Parameter | Type | Description |
|---|---|---|
query * | string | FTS5 query (supports AND/OR, prefix 'term*', exact 'phrase') |
limit | integer | Max results (default 20, max 100) |
livewiki_debt
Lists open documentation debt (changed/moved/deleted anchors), undocumented symbols, and overall wiki status. Equivalent to `livewiki status --json`.
livewiki_impact
Blast radius for a symbol key (e.g. 'src/auth.ts#login'): direct and transitive callers found in the indexed call graph, plus which wiki pages document any of them. Only RESOLVED call edges are walked (an edge the indexer couldn't confidently attribute to one symbol is skipped, never guessed) — treat this as a best-effort signal, not exhaustive static analysis. Bounded by maxDepth/maxNodes; `truncated: true` means the walk stopped at a bound, not that it found no more callers. Pass an EMPTY symbolKey ("") for the repo-wide change-impact package instead: working-tree changed symbols, affected…
| Parameter | Type | Description |
|---|---|---|
symbolKey * | string | Symbol key, e.g. 'src/auth.ts#login' or 'src/auth.ts#Session.refresh'. Pass an empty string ("") for the repo-wide change-impact package. |
maxDepth | integer | Max caller-of-caller hops to follow (default 5) |
maxNodes | integer | Max distinct caller symbols to collect (default 200) |
livewiki_next_task
Starts or resumes a full wiki bootstrap written by this MCP client. Returns the next prioritized Markdown task with its target path, complete closed symbol-key list, source file paths, and canonical format contract. No provider, model, or API credential is required.
livewiki_renew_task_claim
Extends the lease on a task claimed through livewiki_next_task. Pass the taskId and the claimId you were given. Returns the new leaseExpiresAt, or a stale_claim error when the lease already expired or another execution re-claimed the task.
| Parameter | Type | Description |
|---|---|---|
claimId * | string | The claimId returned with that task |
taskId * | integer | Task ID returned by livewiki_next_task |
livewiki_write_doc
Writes or updates a wiki page. Path MUST be inside livewiki/ (allowlist). Content is validated via `verify` before being accepted — pages with broken anchors are rejected. Never include reasoning or <think> blocks in the content; verify rejects them. Pass the taskId returned by livewiki_next_task to validate against that task's full page contract and complete it atomically.
| Parameter | Type | Description |
|---|---|---|
content * | string | Full markdown content (with frontmatter) |
path * | string | Relative path inside livewiki/, e.g. 'livewiki/auth.md' |
claimId | string | The claimId returned with the task by livewiki_next_task. Required whenever taskId is set. |
skipVerify | boolean | Skip verify step (default false). Only use for non-anchor pages. |
taskId | integer | Optional task ID returned by livewiki_next_task |
livewiki_resolve_debt
Explicitly accepts the current code/document alignment into the versioned baseline. Choose one wiki page and either specific anchored symbol keys or every anchor on that page. Local SQLite debt IDs are not accepted because they are disposable projections.
| Parameter | Type | Description |
|---|---|---|
page * | string | Wiki page whose current anchored symbols are being accepted |
all | boolean | Accept every current anchor on the page; mutually exclusive with symbols |
symbols | array | Exact anchored symbol keys to accept; mutually exclusive with all=true |