CodexGuild
io.github.andreymudri/vault-mcp·Memory

vault-mcp

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

Stars
—
Version
0.6.0
License
—
Review
Passed
Registry update
Nov 23, 2026

Connect

npm
Terminal
$claude mcp add vault \  -e VAULT_PATH=<vault-path> \  -e VAULT_LANG=<vault-lang> \  -e VAULT_AUTO_PUSH=<vault-auto-push> \  -e VAULT_READ_ONLY=<vault-read-only> \  -e VAULT_DISABLED_TOOLS=<vault-disabled-tools> \  -e VAULT_LOG_LEVEL=<vault-log-level> \  -e VAULT_MAX_NOTE_BYTES=<vault-max-note-bytes> \  -e VAULT_LOCK_TIMEOUT_MS=<vault-lock-timeout-ms> \  -e VAULT_SCAN_TTL_MS=<vault-scan-ttl-ms> \  -- 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.

Security review

Review passed

Reviewed 2d ago.

metadata
scanned
packages
1 checked

No findings.

Tools

This server runs on your machine, so its tool list is not fetched before install — the README below describes what it offers.

More in Memory

Listing from the official MCP Registry.