New advertisers: 50% off your first month with code FIRSTMONTHSee slots
cyberkurry avatar

PKV Sync

cyberkurry/pkv-sync

Self-hosted Obsidian vault sync with read, write, search, and wiki maintenance tools over MCP.

GitHub stars
11
tools
14
auth
Secret needed
transport
STDIO
env vars
2
last updated
Nov 19, 2026
View on GitHub

What it does

  • Reads vaults with list_vaults, list_files, read_file, read_file_at_commit, search, and link_graph, plus backlinks and changes_since for history
  • Writes with write_file, write_files, edit_file, move_file, and delete_file, guarded by optimistic concurrency on parent_commit
  • Includes stale_pages to flag wiki pages whose sources changed; runs embedded at /mcp on the main server or locally over stdio
  • Designed for LLM-maintained wikis and note workflows where an agent needs history-aware, conflict-safe edits to an Obsidian vault

Tools

14 tools

Public tool metadata for what this MCP can expose to an agent.

list_vaultslist vaults available to the authenticated user.

list vaults available to the authenticated user.

No parameter schema in public metadata yet.

list_fileslist paths at HEAD or, when `at` is set, at that commit SHA.

list paths at HEAD or, when `at` is set, at that commit SHA.

No parameter schema in public metadata yet.

read_fileread a file at HEAD.

read a file at HEAD.

No parameter schema in public metadata yet.

read_file_at_commitread a file at a specific commit (also with `sha256`).

read a file at a specific commit (also with `sha256`).

No parameter schema in public metadata yet.

searchcase-insensitive substring search over text files.

case-insensitive substring search over text files.

No parameter schema in public metadata yet.

link_graphreturn the vault's wikilink and Markdown link graph.

return the vault's wikilink and Markdown link graph.

No parameter schema in public metadata yet.

stale_pagesreport which wiki pages have sources that changed after the page's own `source_commit` anchor.

report which wiki pages have sources that changed after the page's own `source_commit` anchor.

No parameter schema in public metadata yet.

changes_sincelist files added, modified, deleted, or renamed since `since_commit`.

list files added, modified, deleted, or renamed since `since_commit`.

No parameter schema in public metadata yet.

write_filecreate or update a text file with optimistic concurrency on `parent_commit`.

create or update a text file with optimistic concurrency on `parent_commit`.

No parameter schema in public metadata yet.

delete_filedelete a file with optimistic concurrency on `parent_commit`.

delete a file with optimistic concurrency on `parent_commit`.

No parameter schema in public metadata yet.

write_filesatomically create, update, and/or delete multiple text files in one commit.

atomically create, update, and/or delete multiple text files in one commit.

No parameter schema in public metadata yet.

edit_fileedit a text file at an anchor — a heading chain, a block id, or ordered literal text.

edit a text file at an anchor — a heading chain, a block id, or ordered literal text.

No parameter schema in public metadata yet.

backlinkslist every file that links to `path`, each with a bounded snippet and scan integrity fields.

list every file that links to `path`, each with a bounded snippet and scan integrity fields.

No parameter schema in public metadata yet.

move_filemove or rename a text file in one commit while preserving git rename history.

move or rename a text file in one commit while preserving git rename history.

No parameter schema in public metadata yet.

Configuration

PKV_TOKEN*secret

A PKV Sync device token with access to the vault this session should expose

PKV_VAULT_ID*

Vault id the MCP session exposes (the vault is listed in the admin panel)

Readme

PKV Sync

PKV Sync is a self-hosted, Git-native sync server for Obsidian vaults.

The name is PKV Sync: PKV is the initialism of Personal Knowledge Vault, and Sync is spelled out in full.

CI License: AGPL-3.0-only

Document version: v1.10.2.

English · 简体中文 · 繁體中文 · 日本語 · 한국어

Status


View the full README on GitHub

Details

Repository
github.com/cyberkurry/pkv-sync
Website
github.com/CyberKurry/pkv-sync/blob/main/public-docs/mcp-howto.md
Categories
Productivity & Notes, Docs & Knowledge Bases
Package
ghcr.io/cyberkurry/pkv-sync:1.10.2
Transport
STDIO
Auth
Required
Registry
MCP registry, active

Similar to PKV Sync

More Productivity & Notes