Repository navigation
v3.9.0 — Clickable obsidian:// links in tool output
Added
- Clickable obsidian:// links in tool output. Vault paths in
vault_search,vault_list,vault_recent,vault_query,vault_links(incoming),vault_neighborhood,vault_semantic_search,vault_suggest_links,vault_link_health,vault_peek, thevault_readauto-redirect, and write-success messages now render as[path.md](obsidian://open?vault=<name>&file=<encoded-path>)markdown links. Cmd+click (macOS) / Ctrl+click in supported terminals opens the note directly in Obsidian. TheobsidianLink(filePath, vaultName)helper does the encoding (percent-encoded/→%2F, spaces →%20, trailing.mdstripped from the URL but kept in link text). VAULT_PKM_VAULT_NAMEenv var. Overrides the default vault name used inobsidian://links. Defaults topath.basename(VAULT_PATH). Set this when your on-disk vault folder name differs from the vault name registered in Obsidian.init-projectwrites a "Referring to vault files" directive into the project's CLAUDE.md so Claude uses the markdown-link format inline when narrating about vault files (not just when relaying tool output verbatim). The same directive ships insample-project/CLAUDE.md.
Changed
- All vault tool descriptions now include a
LINK_FORMAT_NOTEinstructing the model to (a) preserve the link form in user-facing replies and (b) extract only the bracket text (not the full markdown link) when feeding paths back aspatharguments. formatPeek,formatNeighborhood, andembeddings.search()accept an optionalformatPathcallback so handlers can inject the link formatter without those modules knowing about vault names.
Upgrading
After updating, restart your MCP server. If your on-disk vault folder name differs from your registered Obsidian vault name, set VAULT_PKM_VAULT_NAME in your env block.