tacitus-mcp-server

v0.2.0
io.github.ionasrobert/tacitus-mcp-server Checked 1 day ago Published 18 days ago

Long-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.

ParameterTypeDescription
content *string
type *string
keystring
sourceobject
tagsarray
ttlnumber

recall

Recall memories relevant to a query, ranked, within an optional token_budget. Surfaces conflicting memories instead of silently choosing.

ParameterTypeDescription
query *string
token_budgetinteger
typestring

forget

Delete a memory by id. Returns whether a memory was removed.

ParameterTypeDescription
memory_id *string

get_note

Fetch a note progressively: outline | frontmatter_only | full, with an optional max_tokens ceiling.

ParameterTypeDescription
note_id *string
formatstring
max_tokensinteger

graph_query

Traverse the wikilink graph: links (outgoing) | backlinks | neighbors (both directions, to depth).

ParameterTypeDescription
from *string
relation *string
depthinteger

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.

ParameterTypeDescription
ops *array

commit_changes

Atomically apply a previously proposed change_id (all-or-nothing). Returns a version_id usable with revert.

ParameterTypeDescription
change_id *string

revert

Undo a committed change by version_id, restoring the prior note state.

ParameterTypeDescription
version_id *string

create_note

Create a note (auto-committed). Fails if it already exists. Returns a version_id.

ParameterTypeDescription
content *string
note_id *string
frontmatterobject

update_note

Update a note body and/or frontmatter (auto-committed). Returns a version_id.

ParameterTypeDescription
note_id *string
contentstring
frontmatterobject

tag

Add a tag to a note (deduplicated). Returns a version_id.

ParameterTypeDescription
note_id *string
tag *string

audit_log

Read recent agent actions (commits/reverts), most recent first.

ParameterTypeDescription
limitinteger

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.

ParameterTypeDescription
descendingboolean
filtersarray
limitinteger
selectarray
sort_bystring
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.

ParameterTypeDescription
doneboolean
due_afterstring
due_beforestring
limitinteger
note_idstring
tagstring
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.

ParameterTypeDescription
note_id *string
template *string
varsobject

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.

ParameterTypeDescription
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.

ParameterTypeDescription
from *string
to *string

delete_note

Delete a note (versioned + audited — revert restores it).

ParameterTypeDescription
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.

ParameterTypeDescription
version_id *string
include_contentboolean
max_tokensinteger

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.

ParameterTypeDescription
text *string
datestring
taskboolean

capabilities

List available tools and the current permission scope.