Skip to main content

Vault MCP

io.github.andreymudri/vault-mcp

v0.6.0Updated Nov 23, 2026stdio · npm

Long-term memory for a coding agent: searches your Obsidian vault and cites path:line.

Install

Replace 1 placeholder with your own values.

Run in your terminal. Replace 1 placeholder.

claude mcp add vault-mcp -e 'VAULT_PATH=<your-vault-path>' -- npx -y @andreymudri/[email protected]

Configuration

9 settings.

  • VAULT_PATH
    Env var· required
    Absolute path to the root folder of the Obsidian vault to serve. Required; the server exits with a message on stderr without it.
  • VAULT_LANG
    Env var· optional
    Language the server speaks in tool descriptions and errors: 'en' (default) or 'pt'. It never changes what is written into the vault — commit subjects and section names follow the vault.
  • VAULT_AUTO_PUSH
    Env var· optional
    Set to 1 to git push after each write's commit. Off by default: it is the only thing this server does that leaves the machine. A failed push is reported as a warning, never rolled back.
  • VAULT_READ_ONLY
    Env var· optional
    Set to 1 to publish only the read tools: nothing in the vault can be written, moved or deleted through this server. A value that is neither a yes nor a no is treated as 1.
  • VAULT_DISABLED_TOOLS
    Env var· optional
    Tool names not to publish, separated by commas or spaces, e.g. vault_delete,vault_move.
  • VAULT_LOG_LEVEL
    Env var· optional
    How much the server writes to stderr, one JSON object per line: silent, error, warn (default), info or debug. The same events reach the client through the MCP logging capability.
Show 3 more
  • VAULT_MAX_NOTE_BYTES
    Env var· optional
    Files larger than this many bytes are left out of the index and reported as a diagnostic. Default 5242880 (5 MB).
  • VAULT_LOCK_TIMEOUT_MS
    Env var· optional
    How long a write waits for another process writing the same vault before it is refused. Default 30000.
  • VAULT_SCAN_TTL_MS
    Env var· optional
    How long a scan of the vault is reused before the files are looked at again, in milliseconds. Unset is adaptive: never for a small vault, up to 2000 for a large one. 0 scans on every call.

Listed in the official MCP Registry since Nov 23, 2026. Mirrored daily; last checked Nov 26, 2026.