llm-vault-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@llm-vault-mcpcall the Stripe API with my vaulted Stripe key and redact it from output"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
llm-vault-mcp
Model Context Protocol (MCP) server for llm-vault. It decrypts secret envelopes locally via the W3C Web Cryptography API (crypto.subtle) and injects credentials into child processes or outbound HTTP requests without exposing plaintext secret values to LLM context windows, chat transcripts, or model telemetry.
Architecture & Security Model
Local Zero-Knowledge Decryption: The MCP process loads the workstation's
AgentDecryptionKey(from the OS keychain or runtime secret store), unwraps the vault'sAgentEncryptedVaultKey, and decryptsAES-256-GCMpayloads locally. Every encryption and decryption operation binds canonical Additional Authenticated Data (AAD):UTF8("${tenantId}:${vaultId}:${secretId}:${version}:${keyVersion}")Opaque Surrogate Handles: Discovery and secret-resolution tools return type-prefixed ULID identifiers (
sec_<ulid>) and template handles ({{vault:sec_<ulid>}},{{vault:lease_<ulid>}}) rather than raw secret strings.Multi-Encoding Output Scrubber: When executing commands (
vault_run_command,vault_inject_env) or proxying HTTP calls (vault_http_proxy), the server scansstdout,stderr, and response headers for raw UTF-8, Base64-encoded, and URL-encoded occurrences of active secrets and replaces matches with[REDACTED:<id>].Time-Bounded Ephemeral Leases:
vault_lease_secretholds decryptedUint8Arraysecret bytes in process memory under alease_<ulid>handle and overwrites the buffer with zeroes (buf.fill(0)) immediately upon TTL expiration.Admin Plane Isolation: User provisioning, role mutation, and identity provider configuration endpoints are omitted from the MCP surface so prompt-injected agents cannot escalate privileges. Only
vault_admin_audit_logs(read-only query and hash-chain verification) is exposed forComplianceAuditortokens.
Related MCP server: agent-vault
MCP Toolset
Tool | Purpose |
| Report active vault connection, |
| Search decrypted item metadata ( |
| List unique tags across accessible vaults. |
| Return an opaque |
| Issue a time-bounded |
| Spawn a subprocess with |
| Alias/companion execution tool that resolves secret handles into an execution environment map and scrubs command output. |
| Execute an outbound HTTP request with secret handles resolved inside request headers and scrub echoed credentials from response headers and body. |
| Generate a high-entropy secret inside the MCP server via |
| Prompt a human operator out-of-band to enter a third-party secret directly into client-side encryption without passing through chat context. |
| Query append-only |
Requirements & Development
Requires Node.js >= 22.
npm install
npm run typecheck
npm run lint
npm test
npm run buildRunning the Server
Stdio transport (default for local coding agents such as Claude Desktop, Cursor, and Antigravity):
npx llm-vault-mcp stdioLoopback Streamable HTTP transport (enforces Host/Origin validation and MCP_TOKEN bearer authentication):
MCP_TOKEN="your-ephemeral-token" PORT=3000 HOST=127.0.0.1 node dist/main.js streamable-httpLicense
This server cannot be deployed
Maintenance
Related MCP Connectors
A secret store for AI agents: the agent never sees the plaintext.
Secrets for developers and agents—secure context and workflows without exposing secret values.
Encrypted secret store and rotation for autonomous agent credentials
- FullmaktOAuthai.fullmakt
Credential broker for AI agents: scoped, revocable API access with policy enforcement and audit.
Related MCP Servers
- AlicenseAqualityBmaintenanceLocal AES-256-GCM encrypted vault for AI agents. Resolve {{PLACEHOLDER}} secrets in prompts at runtime — LLMs never see real API keys. Argon2id key derivation, zero cloud.257 npm6MIT
- AlicenseNot gradedqualityDmaintenanceAgent Vault is a local credential vault for AI agents. It enables agents to use secrets by name without ever seeing their values, with host allowlists, output scrubbing, and audit logging.4MIT
- AlicenseNot gradedqualityAmaintenanceLocal credential broker that enables AI agents to securely run CLI tools like SSH and MySQL without exposing passwords to the AI context, environment variables, or process listings.3MIT
- AlicenseCqualityCmaintenanceEnables AI agents to securely store and manage encrypted secrets locally while using them indirectly through environment-variable injection or file writes, so plaintext values never enter the agent's context.8MIT