MCP directory
VM

Vault Mcp

by github.com/andreymudri · v0.6.0 · updated Nov 23, 2026

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

npm

Run it locally

Install the package and point your AI client at it.

npm

npx -y @andreymudri/[email protected]

Environment variables

  • VAULT_PATHrequired

    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

    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

    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

    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

    Tool names not to publish, separated by commas or spaces, e.g. vault_delete,vault_move.

  • VAULT_LOG_LEVEL

    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.

  • VAULT_MAX_NOTE_BYTES

    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

    How long a write waits for another process writing the same vault before it is refused. Default 30000.

  • VAULT_SCAN_TTL_MS

    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.

More MCP servers