About Apo
Apo is an MCP server published by jenorris in the Blockchain category: local vault data for AI agents — typed schemas on disk, contract-governed, searchable. Files are the source of truth; the index is rebuildable. Conduid read 12 tools from its source: apo_admin, append_note, backlinks, filter_notes, graph_neighbors, history and 6 more. No package is published for it, so it installs from a source checkout.
The repository has 5 stars and 0 forks, and its last commit was on 23 Nov 2026. Conduid has no tagged release on record for it. Its topics include local-first, markdown, obsidian, ollama and sqlite-vec.
Install
git clone https://github.com/jenorris/apoTools (12)
apo_adminEngine admin ops: list/describe capabilities; invoke with confirm=true when destructive.| Parameter | Type | Description |
|---|---|---|
| action | string | list | describe | invoke |
| confirm | boolean | invoke only: required true for delete_note, reindex(force=true), and git_sync(action=run|pull|rebase). |
| name | string | Admin capability id (required for describe / invoke). |
| parameters | object | invoke only: nested args for the target capability (not alongside top-level invoke fields except vault). |
| vault | string | Optional vault name for invoke (overrides parameters.vault). |
append_notePreferred add for session log / History / post-search text. Use text=. Anchor: chunk_hash → heading → EOF.| Parameter | Type | Description |
|---|---|---|
| chunk_hash | string | |
| create | boolean | |
| expected_body_hash | string | |
| expected_content_hash | string | |
| expected_frontmatter_hash | string | |
| expected_mtime | number | |
| heading | string | |
| path | string | |
| position | string | |
| text | string | Body to append (required). Do not repeat the heading. |
| vault | string |
backlinksIndex-backed inbound [[wiki-links]] to this path/stem/title (target need not exist on disk).| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| offset | integer | |
| path * | string | |
| vault | string |
filter_notes| Parameter | Type | Description |
|---|---|---|
| fields | array | Optional frontmatter key projection. Default=full. Status sweeps: ["status","okf_type","last_checked","title"]. |
| folder | string | |
| limit | integer | |
| offset | integer | |
| order | string | Sort direction (default desc — newest/largest first). |
| ref | string | Optional git ref (branch/bookmark/OID) at the vault root. Projects a frontmatter-only catalog from that tree (no embeddings). For jj feature WIP, pass the exported bookmark; omit to query the indexed working tree. |
| sort | string | Catalog sort key. Default mtime. Pass a safe frontmatter key (e.g. last_activity) for oldest/newest-by-field sweeps. Missing values sort last. Response includes has_more. |
| vault | string | |
| where | object | Frontmatter predicate (canonical). Omit or {} = all in folder; else field→scalar or {$eq,$ne,$lt,$lte,$gt,$gte,$contains,$exists,$in,$elemMatch}. Nested keys: todos.status (any list element). List-of-dicts: {"todos": {"$elemMatch": {"status": "pending"}}} (AND on one element). Example: {"status": {"$in": ["active", "waiting"]}}. |
graph_neighborsTyped link graph from a note (wiki, markdown, frontmatter links) — index-backed.| Parameter | Type | Description |
|---|---|---|
| depth | integer | Traversal hops (1–3). |
| direction | string | Link direction: in (backlinks), out (outlinks), or both. |
| kinds | array | Edge kinds: wikilink, md_link, related, supersedes, source, resource. |
| limit | integer | |
| offset | integer | |
| path * | string | |
| vault | string |
history| Parameter | Type | Description |
|---|---|---|
| exclude | array | Browse only: path globs to drop (same rules as search_notes exclude). |
| fields | array | Browse only: optional frontmatter key projection on each note (omit to skip frontmatter; [] = empty object). |
| folder | string | |
| heading | string | Browse only: scope chunk pick to this governing heading (e.g. Session log) before applying preview=first|last. |
| limit | integer | |
| offset | integer | Browse only: skip this many newest notes for pagination (has_more in response). |
| path | string | |
| preview | string | Browse only: which chunk feeds first_line/chunk_hash — first (default, ord 0) or last (tail; use for session logs). |
| since | string | Browse only: mtime lower bound (YYYY-MM-DD or ISO datetime, local time for date-only). |
| until | string | Browse only: mtime upper bound (YYYY-MM-DD = end of that local day, or ISO datetime). |
| vault | string |
patch_noteMutate frontmatter/sections or place (ops place). path+ops or place-only ops.| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| expected_body_hash | string | |
| expected_content_hash | string | |
| expected_frontmatter_hash | string | |
| expected_mtime | number | |
| ops | array | |
| path | string | |
| strict | boolean | |
| vault | string | |
| verbose | boolean |
patch_tableGFM table row/cell mutators. Anchor from search table_row hits or read_note(format=row).| Parameter | Type | Description |
|---|---|---|
| dry_run | boolean | |
| expected_content_hash | string | |
| expected_mtime | number | |
| ops * | array | |
| path * | string | |
| strict | boolean | |
| vault | string | |
| verbose | boolean |
read_note| Parameter | Type | Description |
|---|---|---|
| chunk_hash | string | |
| end_line | integer | |
| fields | array | |
| force | boolean | |
| format | string | chunk_hash mode: markdown (default) | json (whole table as {headers, rows}) | row (table_row as {columns, row_key}) | node (mermaid_node as {id, label, subgraph, diagram_id}). Structured payloads are opt-in to avoid token bloat. |
| heading | string | |
| lint | boolean | Path mode: when true, attach corpus flaws[] for this note (links/usage/format). Default off. |
| max_chars | integer | |
| mode | string | Path mode: auto (default; body + size tip) | toc (lean outline from index: level/title/chunk_hash per section, no body) | section. |
| path | string | |
| raw | boolean | Path mode: byte-exact file text (or line slice). Default returns body only with frontmatter sidecar. |
| ref | string | |
| sibling | string | chunk_hash mode: hop to same-depth 'prev' or 'next' section/row. |
| siblings | boolean | chunk_hash mode: include full same-depth siblings[] list (default off). |
| start_line | integer | |
| vault | string |
search_notes| Parameter | Type | Description |
|---|---|---|
| exclude | array | Optional path globs to drop. When omitted and folder= is empty, vault search-contract defaults apply (response carries default_exclude). |
| expand | boolean | RRF-fuse lex+vec sub-queries (+ LLM hyde if APO_QUERY_EXPAND=1). No ref= |
| explain | boolean | Include per-hit fusion breakdown (fts/vec ranks, boosts) and path_context tree on every result. |
| folder | string | |
| folders | array | Multi-folder scope (XOR with folder=). Merge by score. Each entry may be vault_id:rel (same gate as folder=). |
| intent | string | Disambiguation context for expand= |
| limit | integer | Max hits (default 5). |
| offset | integer | Skip this many top hits for pagination; response carries has_more. |
| query * | string | |
| ref | string | Read-only git tip at the vault registry root. FTS-only over note bodies (no embeddings / chunk_hash). Follow up with read_note(path, ref=). |
| snippet_chars | integer | Hit preview length (default 240). 0 = full chunk text. |
| vault | string | |
| vaults | array | Fan-out across named vaults (separate indexes); merge by score. Do not combine with vault=. |
vaultVault registry, contracts, desk projection, KPIs, corpus lint, system/ clone, link-graph export.| Parameter | Type | Description |
|---|---|---|
| request * | any |
write_noteCreate or overwrite a note. Use content= (or sections[]/frontmatter). Prefer append_note / patch_note for edits.| Parameter | Type | Description |
|---|---|---|
| content | string | Note body (required for create/overwrite). XOR with sections[]/frontmatter. |
| expected_body_hash | string | |
| expected_content_hash | string | |
| expected_frontmatter_hash | string | |
| expected_mtime | number | |
| frontmatter | object | Frontmatter object (XOR content=); serialized to a YAML fence, then OKF-validated. |
| path * | string | |
| sections | array | Structured body (XOR content=): [{heading, content, content_type}]. content_type is markdown (default), csv, or json/table_json — CSV/JSON serialize to a GFM table indexed as table rows. |
| vault | string |
Security checks
6 checks have not been run yet.