tacitus-mcp-server
v0.2.0Long-term memory for AI agents: local-first PKM with provenance and hybrid search.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
remember
Store a typed memory (user|feedback|project|reference) with mandatory provenance. Idempotent for identical content+source.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
type * | string | |
key | string | |
source | object | |
tags | array | |
ttl | number |
recall
Recall memories relevant to a query, ranked, within an optional token_budget. Surfaces conflicting memories instead of silently choosing.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
token_budget | integer | |
type | string |
forget
Delete a memory by id. Returns whether a memory was removed.
| Parameter | Type | Description |
|---|---|---|
memory_id * | string |
search
Search vault notes by relevance; ranked snippets within an optional token_budget (never whole notes). mode: hybrid (default) | lexical | semantic. Expand with get_note.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
mode | string | |
token_budget | integer | |
top_k | integer |
get_note
Fetch a note progressively: outline | frontmatter_only | full, with an optional max_tokens ceiling.
| Parameter | Type | Description |
|---|---|---|
note_id * | string | |
format | string | |
max_tokens | integer |
graph_query
Traverse the wikilink graph: links (outgoing) | backlinks | neighbors (both directions, to depth).
| Parameter | Type | Description |
|---|---|---|
from * | string | |
relation * | string | |
depth | integer |
list_notes
List all note ids with their titles and paths.
propose_changes
Dry-run a changeset (create/update/delete notes). Returns a change_id and a before/after diff. Nothing is written until commit_changes.
| Parameter | Type | Description |
|---|---|---|
ops * | array |
commit_changes
Atomically apply a previously proposed change_id (all-or-nothing). Returns a version_id usable with revert.
| Parameter | Type | Description |
|---|---|---|
change_id * | string |
revert
Undo a committed change by version_id, restoring the prior note state.
| Parameter | Type | Description |
|---|---|---|
version_id * | string |
create_note
Create a note (auto-committed). Fails if it already exists. Returns a version_id.
| Parameter | Type | Description |
|---|---|---|
content * | string | |
note_id * | string | |
frontmatter | object |
update_note
Update a note body and/or frontmatter (auto-committed). Returns a version_id.
| Parameter | Type | Description |
|---|---|---|
note_id * | string | |
content | string | |
frontmatter | object |
link
Append a [[to]] wikilink to the `from` note (idempotent). Returns a version_id.
| Parameter | Type | Description |
|---|---|---|
from * | string | |
to * | string |
tag
Add a tag to a note (deduplicated). Returns a version_id.
| Parameter | Type | Description |
|---|---|---|
note_id * | string | |
tag * | string |
audit_log
Read recent agent actions (commits/reverts), most recent first.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
suggest_links
Suggest [[wikilinks]] a note is missing: ranked candidates it doesn't link to yet, scored by title mentions in the note, semantic similarity, shared tags, and existing backlinks — each with machine-readable reasons. Bounded by top_k/min_score/token_budget.
| Parameter | Type | Description |
|---|---|---|
note_id * | string | |
min_score | number | |
token_budget | ||
top_k | integer |
properties_query
Query notes by typed frontmatter properties (Bases-like). filters are AND-ed {key, op: eq|ne|contains|exists|not_exists|gt|lt|gte|lte, value}; contains = array membership or substring; gt/lt work on numbers and ISO dates. Optional select (project keys), sort_by/descending, limit (default 50), token_budget.
| Parameter | Type | Description |
|---|---|---|
descending | boolean | |
filters | array | |
limit | integer | |
select | array | |
sort_by | string | |
token_budget |
list_templates
List note templates (.tacitus/templates/*.md) with the vars each requires. Builtins {{date}}/{{time}}/{{datetime}} auto-fill.
list_tasks
List tasks (checklist lines) across the vault as typed entities: text, done, due (from due:YYYY-MM-DD or 📅 YYYY-MM-DD), #tags. Filter by done/due_before/due_after/tag/note_id; sorted by due date; bounded by limit + token_budget.
| Parameter | Type | Description |
|---|---|---|
done | boolean | |
due_after | string | |
due_before | string | |
limit | integer | |
note_id | string | |
tag | string | |
token_budget |
create_from_template
Create a note from a template (auto-committed, versioned, audited). Substitution happens before YAML parsing, so numeric vars stay typed. Returns a version_id.
| Parameter | Type | Description |
|---|---|---|
note_id * | string | |
template * | string | |
vars | object |
toggle_task
Flip a task's checkbox (versioned + audited). Pass the line and text exactly as returned by list_tasks — if the line changed since, you get a CONFLICT instead of toggling the wrong task.
| Parameter | Type | Description |
|---|---|---|
expect_text * | string | |
line * | integer | |
note_id * | string |
rename_note
Rename a note AND retarget every wikilink that resolves to it (alias/heading kept) — one atomic, versioned changeset; a single revert undoes the whole rename.
| Parameter | Type | Description |
|---|---|---|
from * | string | |
to * | string |
delete_note
Delete a note (versioned + audited — revert restores it).
| Parameter | Type | Description |
|---|---|---|
note_id * | string |
get_version
Inspect a committed version: which notes it created/updated/deleted (default), plus each note's before/after when include_content=true (truncated to max_tokens each, default 500). Pairs with audit_log and revert.
| Parameter | Type | Description |
|---|---|---|
version_id * | string | |
include_content | boolean | |
max_tokens | integer |
list_types
List declared note types (.tacitus/types/*.yaml): each property's type (string|number|boolean|date|list), required, enum. Creates/updates of a note whose frontmatter `type` names a declared type are validated; violations return SCHEMA_VIOLATION listing every problem.
capture
Quick capture: append a line to a daily note (daily/YYYY-MM-DD, default today; created on first capture, from the `daily` template if one exists). task=true appends a `- [ ]` checklist item that list_tasks sees; otherwise a timestamped bullet. Versioned + audited. Returns note_id, version_id and the line written.
| Parameter | Type | Description |
|---|---|---|
text * | string | |
date | string | |
task | boolean |
capabilities
List available tools and the current permission scope.