
vaultguard MCP server
io.github.ashishrao-4/vaultguard·v0.1.2AI agents use your Obsidian secrets by name — values never reach their context.
0 stars45 downloads/wk
Reviews
Write oneNobody has reviewed vaultguard yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
vaultguard tools (3, 1 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
get_secretDecrypt and return one secret value by name. Prefer passing secrets into commands with run_with_secret instead of reading them here.
list_secretsList the names of secrets available in the Obsidian vault. Returns only names, never values.
run_with_secretwrite actionRun a shell command with secrets injected into its environment as variables. The secret values are never echoed back to the caller.
Public scan report
scanner v0.1.10 · 2026-10-02 · same rubric, same numbers if you re-run it
- Code scan8 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 14 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How vaultguard compares
Against every graded Productivity MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 60% of 1,299 Productivity servers
- Tools
- 3
- the typical Productivity server has 7
- Tools that change things
- 33%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 45
- more than 34% of 427 Productivity servers with a package
What its tools let an agent do: 2 read · 1 run or deploy
Install vaultguard in Claude Code, Cursor or VS Code
Runs npx -y @ashishrao-4/vaultguard on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add vaultguard -- npx -y @ashishrao-4/vaultguard
What the publisher says
From the vaultguard repository's README, as published. We do not edit it. Read it on GitHub
🔐 vaultguard Your Obsidian vault, guarded for your AI agents. npx @ashishrao-4/vaultguard init · zero dependencies · pure Node · cross-platform
The problem
Your AI agents are powerful. They ship code, run commands, and one day they will ask: "give me the database URL."
You hand it over. Now that value lives in every transcript, log, checkpoint, and backup of your conversations. Rotate it a month later — a year later — and the old one is still out there.
The vault itself — Obsidian — is encrypted only if you make it so, and your agent reading your notes means your agent reading your secrets.
What vaultguard does
Secrets live in your Obsidian vault as AES-256-GCM ciphertext. Your agents get them by name over MCP — they run commands with the values injected into the environment and never see them, while every access is audited.
The simple version: your agent asks by name, vaultguard decrypts on demand, the value stays out of the conversation.
- You own the data. No cloud, no SaaS, no server. The encrypted blocks are plain markdown.
- Readable in Obsidian. Encrypted blocks look like notes; reveal them with one click.
- Tell your agent to run things using secrets — values never surface in transcripts.
- Zero npm dependencies. Pure Node ≥ 18. Windows / macOS / Linux.
Quickstart
1 · Install
npm install -g @ashishrao-4/vaultguard2 · Point it at your vault
vaultguard init --vault "C:\Users\you\Documents\Obsidian Vault"It asks for a passphrase — the key that encrypts and decrypts every block in this vault. Then it:
- creates Secrets.md in your vault,
- installs the Inline Secret Block plugin into the vault automatically,
- writes ~/.vaultguard/config.json — without the passphrase (you provide it via VAULTGUARD_PASSPHRASE).
Restart Obsidian and enable the plugin: Settings → Community plugins → Inline Secret Block → Enable.
The passphrase is never written to disk by default. Prefer env vars:
VAULTGUARDPASSPHRASE (or DOORMANPASSPHRASE). If you want it conveniently stored anyway —
at the cost of weaker security — run vaultguard init --store-passphrase instead (see Threat model).
3 · Add your first secret — the Obsidian way
In Obsidian, open Secrets.md and add a plaintext block:
Mydatabaseurl@postgres
Click Show — the plugin instantly replaces it with an encrypted secret-lock block. Your raw value is gone; what remains:
Nx60U4Ph/+1CO+58Zr00HXhEW9GZ6voHlpS+bEXPpP69avbJaSfafZCC2dpPn6UgdMN+3PJUd+UPm39YAXhFTbHvLUpHDndzbODsL8fOm7IMWC16zjSQCW7CbRWklmUxOGl0lX2qpQ==
That's it. Same value, later, forever: click Show again.
No Obsidian? Use the CLI instead:
bash
vaultguard add DB_URL # hidden prompt
vaultguard set DB_URL # rotate in place
4 · Connect your agent
vaultguard mcpprints ready-made config for your harness:
opencode — in opencode.json (or globally via the app):
{
"mcp": {
"vaultguard": {
"type": "local",
"command": ["node", "C:/path/to/vaultguard/src/server.mjs"],
"environment": { "VAULTGUARD_PASSPHRASE": "your-passphrase" }
}
}
}Claude Code:
claude mcp add vaultguard -e VAULTGUARD_PASSPHRASE=your-passphrase -- node C:/path/to/vaultguard/src/server.mjsShortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
vaultguard: common questions
- Is vaultguard MCP server safe?
- Mostly: it is graded B (83/100). Read the vaultguard safety report
- How do I install vaultguard?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does vaultguard need an API key?
- Yes. The registry entry asks for
VAULTGUARD_PASSPHRASE. - Is vaultguard maintained?
- The last commit was 47 days ago (2026-09-18). The latest release is v0.1.2.
- What can I use instead of vaultguard?
- Servers from other publishers that do the same job: Obsidian MCP server, Obsidian MCP server and Agent-Native Content MCP server.
- How does vaultguard compare with other Productivity MCP servers?
- safety score 83/100 (higher than 60% of 1,299 Productivity servers); tools 3 (the typical Productivity server has 7); tools that change things 33% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to vaultguard
Same job from other publishers: the closest match first, then the best rated.
- ObsidianMCP server that interacts with Obsidian via the Obsidian rest API community pluginnot reviewedEstablishedA
- ObsidianRead, write, search, and surgically edit Obsidian notes, tags, and frontmatter via MCP.not reviewedEstablishedA
- Agent-Native ContentOpen-source Obsidian for MDX - edit local docs with agent assistancenot reviewedEstablishedA
- Obsidian Hybrid SearchSearch Obsidian vaults with hybrid full-text, fuzzy, semantic, and graph retrieval.not reviewedEstablishedB
- DocsAgent — Zotero, Obsidian & Apple Notes MCP ServerInstant, private access to your knowledge base: Zotero, Obsidian, Apple Notes (macOS).not reviewedEstablishedB