Features
- Per-folder write permissions in
WRITE_FOLDERS(#65). Limit a folder tocreate,updateand/ordelete, e.g.WRITE_FOLDERS=MCP,Raw:create,Notes:create+update.Raw:createmakes a write-once inbox: agents can add notes and attachments but not change, move or delete them. A folder without permissions keeps full access, the most specific folder wins, and/is the vault root. Case variants (raw/vsRaw/) can't be used to get around a rule. Requested by @travislrogers.
Breaking changes
WRITE_FOLDERSnow refuses to start on an unknown permission, a duplicate folder (including case variants) or a folder that can never match./inWRITE_FOLDERSused to be ignored and now means the vault root, soMCP,/makes the whole vault writable.move_noteno longer replaces an existing note at the destination.- Local mode with
WRITE_FOLDERSset: notes reached through a symlink can be read but not written, deleted or moved. - Local mode: moves no longer use
rename(). If the source can't be removed, the move is undone.
Fixes
- MCP responses declare
charset=utf-8again, so clients like Python'surllibshow Cyrillic and CJK text correctly (#16). - Frontmatter is parsed as YAML, like Obsidian: quoted values, comments and all
tagslist forms work. Invalid YAML is ignored and the reason shows inget_note_metadata. A backslash inside double quotes is now an escape, so write Windows paths in single quotes. Thanks @Nerodacles. - Note bodies are parsed as Markdown: links and tags inside code are no longer indexed, and table links (
[[note\|label]]), escaped\#tagsand callouts read as in Obsidian. edit_notecould recreate a note that was deleted between its read and its write.
Performance
- Restarts only re-parse new and changed notes (10,000 unchanged notes: ~40 ms instead of several seconds). The first start after upgrading parses everything once.
Dependencies
- Add
yamlandmarkdown-it.