Skip to content
Cursor

vaultguard for Cursor

io.github.ashishrao-4/vaultguard

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

client:Cursor transport:stdio runtime:npm

Install vaultguard in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "vaultguard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ashishrao-4/vaultguard"
      ],
      "env": {
        "VAULTGUARD_PASSPHRASE": "<VAULTGUARD_PASSPHRASE>",
        "VAULTGUARD_VAULT_PATH": "<VAULTGUARD_VAULT_PATH>",
        "VAULTGUARD_HOME": "<VAULTGUARD_HOME>",
        "VAULTGUARD_ALLOW_GET_SECRET": "<VAULTGUARD_ALLOW_GET_SECRET>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

vaultguard in other clients