PKV Sync MCP
A self-hosted, Git-native Obsidian vault sync tool that exposes vault contents through an MCP server. It allows AI agents to list vaults, read and write files, search text content, analyze wikilink graphs, detect stale pages, and view changes since a specific commit. It resolves blob pointers and supports detailed file reading with SHA256 hashes for write guards.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- List available vaults and files within them
- Read file content with SHA256 hash verification
- Search text files with filters and pagination
- Analyze wikilink graphs for broken or orphaned pages
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
ghcr.io/cyberkurry/pkv-sync:1.10.2
{
"transport": "stdio",
"identifier": "ghcr.io/cyberkurry/pkv-sync:1.10.2",
"registryType": "oci",
"packageArguments": [
{
"type": "positional",
"value": "-c"
},
{
"type": "positional",
"value": "/etc/pkv-sync/config.toml"
},
{
"type": "positional",
"value": "mcp"
}
],
"runtimeArguments": [
{
"name": "-v",
"type": "named",
"value": "{data_dir}:/var/lib/pkv-sync",
"variables": {
"data_dir": {
"format": "filepath",
"isRequired": true,
"description": "Host directory that holds the PKV Sync data"
}
},
"isRequired": true,
"description": "Mount the PKV Sync data directory (SQLite metadata plus the bare git vaults)"
},
{
"name": "-v",
"type": "named",
"value": "{config_file}:/etc/pkv-sync/config.toml:ro",
"variables": {
"config_file": {
"format": "filepath",
"isRequired": true,
"description": "Host path of the config.toml the server already runs with"
}
},
"isRequired": true,
"description": "Mount the server config file read-only"
}
],
"environmentVariables": [
{
"name": "PKV_TOKEN",
"isRequired": true,
"description": "A PKV Sync device token with access to the vault this session should expose"
},
{
"name": "PKV_VAULT_ID",
"isRequired": true,
"description": "Vault id the MCP session exposes (the vault is listed in the admin panel)"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"pkv-sync-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PKV_TOKEN=<YOUR_PKV_TOKEN>",
"-e",
"PKV_VAULT_ID=<YOUR_PKV_VAULT_ID>",
"ghcr.io/cyberkurry/pkv-sync:1.10.2",
"-c",
"/etc/pkv-sync/config.toml",
"mcp"
],
"env": {
"PKV_TOKEN": "<YOUR_PKV_TOKEN>",
"PKV_VAULT_ID": "<YOUR_PKV_VAULT_ID>"
}
}
}
}Cline
{
"mcpServers": {
"pkv-sync-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PKV_TOKEN=<YOUR_PKV_TOKEN>",
"-e",
"PKV_VAULT_ID=<YOUR_PKV_VAULT_ID>",
"ghcr.io/cyberkurry/pkv-sync:1.10.2",
"-c",
"/etc/pkv-sync/config.toml",
"mcp"
],
"env": {
"PKV_TOKEN": "<YOUR_PKV_TOKEN>",
"PKV_VAULT_ID": "<YOUR_PKV_VAULT_ID>"
}
}
}
}VS Code
{
"servers": {
"pkv-sync-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PKV_TOKEN=<YOUR_PKV_TOKEN>",
"-e",
"PKV_VAULT_ID=<YOUR_PKV_VAULT_ID>",
"ghcr.io/cyberkurry/pkv-sync:1.10.2",
"-c",
"/etc/pkv-sync/config.toml",
"mcp"
],
"env": {
"PKV_TOKEN": "<YOUR_PKV_TOKEN>",
"PKV_VAULT_ID": "<YOUR_PKV_VAULT_ID>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"pkv-sync-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PKV_TOKEN=<YOUR_PKV_TOKEN>",
"-e",
"PKV_VAULT_ID=<YOUR_PKV_VAULT_ID>",
"ghcr.io/cyberkurry/pkv-sync:1.10.2",
"-c",
"/etc/pkv-sync/config.toml",
"mcp"
],
"env": {
"PKV_TOKEN": "<YOUR_PKV_TOKEN>",
"PKV_VAULT_ID": "<YOUR_PKV_VAULT_ID>"
}
}
}
}Let your agent find its tools
Find servers like PKV Sync MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.