原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

vaultguard

作者:ashishrao-4版本 0.1.2i★ –i在你的电脑上运行
注册名称io.github.ashishrao-4/vaultguard

安装

概览

作者提供的说明(英文原文)

AI agents use your Obsidian secrets by name — values never reach their context.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 网络安全
  • 你需要填写:VAULTGUARD_PASSPHRASE

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: VAULTGUARD_PASSPHRASE, VAULTGUARD_VAULT_PATH, VAULTGUARD_HOME, VAULTGUARD_ALLOW_GET_SECRET

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "vaultguard": {
      "command": "npx",
      "args": [
        "-y",
        "@ashishrao-4/vaultguard",
        "mcp",
        "start"
      ],
      "env": {
        "VAULTGUARD_PASSPHRASE": "your-value",
        "VAULTGUARD_VAULT_PATH": "your-value",
        "VAULTGUARD_HOME": "your-value",
        "VAULTGUARD_ALLOW_GET_SECRET": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add vaultguard --env VAULTGUARD_PASSPHRASE=your-value --env VAULTGUARD_VAULT_PATH=your-value --env VAULTGUARD_HOME=your-value --env VAULTGUARD_ALLOW_GET_SECRET=your-value -- npx -y @ashishrao-4/vaultguard mcp start

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "vaultguard": {
      "command": "npx",
      "args": [
        "-y",
        "@ashishrao-4/vaultguard",
        "mcp",
        "start"
      ],
      "env": {
        "VAULTGUARD_PASSPHRASE": "your-value",
        "VAULTGUARD_VAULT_PATH": "your-value",
        "VAULTGUARD_HOME": "your-value",
        "VAULTGUARD_ALLOW_GET_SECRET": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "vaultguard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ashishrao-4/vaultguard",
        "mcp",
        "start"
      ],
      "env": {
        "VAULTGUARD_PASSPHRASE": "your-value",
        "VAULTGUARD_VAULT_PATH": "your-value",
        "VAULTGUARD_HOME": "your-value",
        "VAULTGUARD_ALLOW_GET_SECRET": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • VAULTGUARD_PASSPHRASE 机密 必填 env
    Passphrase that decrypts the encrypted secret blocks in your Obsidian vault.
  • VAULTGUARD_VAULT_PATH env
    Path to your Obsidian vault (overrides the one in ~/.vaultguard/config.json).
  • VAULTGUARD_HOME env
    Config directory (defaults to ~/.vaultguard).
  • VAULTGUARD_ALLOW_GET_SECRET env
    Set to 1 to enable get_secret (default: disabled so values never reach the agent).

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 ashishrao-4 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“网络安全”中的其他服务器比较i

  • 星标数多于此分类中其他 1004 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 1004 个服务器的 47% 更新
  • 基础检查结果等于或优于此分类中其他 1004 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

vaultguard 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:VAULTGUARD_PASSPHRASE

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.2)于2个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:MCP Safety Warden, EchelonGraph CVE & Exposure, VMware NSX Security

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP Safety Warden

MCP proxy adding security scanning, behavioral profiling, risk gating, and safe tool call execution.

作者:gautamvarmadatla非常新↓ 307/周今天更新

在你的电脑上运行

EchelonGraph CVE & Exposure

CVE, KEV, EPSS, SBOM and advisory lookups; per-CVE exposure from Shodan data (© Shodan). Keyless.

作者:echelongraph起步阶段↓ 1360/周今天更新

电脑或云端✓ echelongraph.io

VMware NSX Security

VMware NSX security: DFW policies and exclusions, groups, tags, Traceflow, IDPS — 22 MCP tools.

作者:vmware-skills非常新↓ 204/周今天更新

在你的电脑上运行

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

🔐 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/vaultguard
2 · 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:

VAULTGUARD_PASSPHRASE (or DOORMAN_PASSPHRASE). 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:

```secret DATABASE-URL

Mydatabaseurl@postgres

````

Click Show — the plugin instantly replaces it with an encrypted secret-lock block. Your raw value is gone; what remains:

```secret-lock DATABASE-URL

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 mcp

prints 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.mjs

Cursor: add the same server to your project's .cursor/mcp.json (or the *MCP* settings tab):

{

"mcpServers": { "vaultguard": { "command": "node", "args": ["C:/path/to/vaultguard/src/server.mjs"], "env": { "VAULTGUARD_PASSPHRASE": "your-passphrase" } } } }

5 · Use it
you : "run a quick sanity check against DB_URL"

agent: run_with_secret(command: "psql $DB_URL -c 'SELECT 1'", secrets: ["DB_URL"]) you : ✔ exit 0 · audit entry written · no secret leaked

  • run_with_secret — secrets injected into the command's environment only.
  • Output is scrubbed — any accidental echo of a secret is replaced with [REDACTED:NAME].
  • get_secret — disabled by default so values never reach the agent; opt in with allowGetSecret: true in the config if a tool insists on the raw value.

Security model

LayerWhat stops it
At restAES-256-GCM, PBKDF2-SHA-256 (250,000 iterations, 16-byte salt, fresh 12-byte IV per value). Byte-compatible with the Inline Secret Block plugin.
Approval gaterun_with_secret is denied by default unless you set requireApproval: false (or VAULTGUARD_REQUIRE_APPROVAL=0).
Secret access gateget_secret is disabled by default — values never reach the agent; enable only via allowGetSecret: true. The intended path is run_with_secret (env injection, values never seen).
Host allowlistOnly named clients (from MCP clientInfo) may call tools. Empty list = allow all.
Command allowlistOnly command prefixes you list may run (e.g. ["psql", "node", "git"]). Empty = allow all.
Audit logEvery call — who (host), what, which secrets, outcome — appended to ~/.vaultguard/audit.jsonl. View with vaultguard audit.
Output scrubbingSecret values and their first 8 chars are redacted from command output.
Configuration

Edit ~/.vaultguard/config.json:

{

"vaultPath": "C:/Users/you/Documents/Obsidian Vault", // passphrase is NOT stored here by default — provide VAULTGUARD_PASSPHRASE instead "allowlist": { "hosts": [], "commands": ["psql", "node"] }, "requireApproval": false, // true (default) = gate run_with_secret "audit": true, "allowGetSecret": false // false (default) = values never reach the agent }

The only way the passphrase lands in this file is vaultguard init --store-passphrase, which sets "storePassphraseOnDisk": true and includes "passphrase". Everything else reads the passphrase from the VAULTGUARD_PASSPHRASE env var or the CLI prompt.

Env varOverrides
VAULTGUARD_VAULT_PATH / VAULT_PATHvault path
VAULTGUARD_PASSPHRASE / DOORMAN_PASSPHRASEpassphrase
VAULTGUARD_HOMEconfig dir (default ~/.vaultguard)
VAULTGUARD_REQUIRE_APPROVAL=0auto-approve
VAULTGUARD_AUDIT=0disable audit
VAULTGUARD_ALLOW_GET_SECRET=1enable get_secret (default: off)

Passphrase hygiene: vaultguard never writes the passphrase to disk unless you opt in

(init --store-passphrase). Supply VAULTGUARD_PASSPHRASE in each harness config (see step 4)

and protect ~/.vaultguard like an SSH key. Changed passphrase? vaultguard rekey re-encrypts

every block, then update the env var wherever you set it.


CLI reference

CommandWhat it does
vaultguard initConfigure vault + passphrase, create Secrets.md, install plugin
vaultguard add Encrypt + store a new secret (interactive or --value)
vaultguard set Rotate a secret in place
vaultguard rekeyRe-encrypt every block with a new passphrase (interactive, or --old-passphrase/--new-passphrase)
vaultguard listList secret names (no values)
vaultguard audit [--lines n]Tail the audit log
vaultguard mcpPrint harness-specific MCP config
vaultguard infoShow config + security posture
vaultguard testCrypto self-test

Threat model — and when NOT to use it

vaultguard is a thin convenience layer, not a secrets manager. Its job is to keep secret *values* out of your AI-agent transcripts, logs, and checkpoints.

What it does NOT protect against:

  • A compromised machine or harness. The passphrase (or an opted-in stored config) lives on your disk. Any process running as you — a backup tool, ransomware, a compromised plugin, your IDE — can read your files and decrypt the vault.
  • A hostile agent. The entire idea is that the agent runs commands with secrets in the environment. Treat that as "the agent is you." Start with command allowlists and review vaultguard audit; don't grant access you wouldn't grant yourself.
  • Weak passphrases. AES-256-GCM + PBKDF2 is only as strong as the passphrase. Use a long random one (your password manager can generate and store it).
  • Exfiltration through legitimate channels. A determined agent can copy ciphertext or raw values anywhere that's reachable. vaultguard is a barrier, not a boundary.
  • Plugin supply chain. vaultguard init downloads the Inline Secret Block plugin from its GitHub releases. A malicious plugin that knows your passphrase can decrypt everything — pin/verify it if you care.

Use it when: you want *"agents run things with secrets without me pasting values into the chat"* and the residual risks above are acceptable to you.

Don't use it when: you need real secrets-management guarantees — rotation policy, hardware-backed keys, no procedure that makes plaintext reachable to a native plugin — when your threat model includes a hostile agent on a shared or CI machine, or when the vault itself needs encryption at rest (Obsidian's own vault encryption, or an encrypted volume, is the answer there).


FAQ

Is my vault git-safe? The encrypted blocks are plain markdown — safe to commit, sync, or put anywhere Obsidian works. Since the passphrase no longer lives in ~/.vaultguard/config.json by default, committing that file leaks your vault path and settings but not your key.

What if I forget the passphrase? The blocks are AES-256-GCM. It cannot be recovered — that's the point.

Which Obsidian plugin? Inline Secret Block — vaultguard init installs it for you.

Do I need a server? No. It's a local stdio MCP server (node src/server.mjs). Nothing listens on a port.


License

MIT © vaultguard contributors.

The bundle installs the Inline Secret Block plugin (also MIT), downloaded at init time from the plugin's official releases — it is not vendored into this package. This project uses Node.js built-ins only (crypto), so there are no dependency licenses to track.


*Guard your vault. Let your agents work.*

问 PopNx