github es617/obsidian-sync-mcp v0.13.0

2 hours ago

Features

  • Per-folder write permissions in WRITE_FOLDERS (#65). Limit a folder to create, update and/or delete, e.g. WRITE_FOLDERS=MCP,Raw:create,Notes:create+update. Raw:create makes 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/ vs Raw/) can't be used to get around a rule. Requested by @travislrogers.

Breaking changes

  • WRITE_FOLDERS now refuses to start on an unknown permission, a duplicate folder (including case variants) or a folder that can never match.
  • / in WRITE_FOLDERS used to be ignored and now means the vault root, so MCP,/ makes the whole vault writable.
  • move_note no longer replaces an existing note at the destination.
  • Local mode with WRITE_FOLDERS set: 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-8 again, so clients like Python's urllib show Cyrillic and CJK text correctly (#16).
  • Frontmatter is parsed as YAML, like Obsidian: quoted values, comments and all tags list forms work. Invalid YAML is ignored and the reason shows in get_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 \#tags and callouts read as in Obsidian.
  • edit_note could 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 yaml and markdown-it.

Don't miss a new obsidian-sync-mcp release

NewReleases is sending notifications on new releases.