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., "@vault-mcp Store secret API_KEY"
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.
vault-mcp
MCP server that exposes secrets from your OS keychain (or an AES-256-GCM encrypted file) as MCP tools. Secrets are returned directly in tool results and never appear in conversation messages.
Tools
Tool | Description |
| Read a secret value from the vault |
| Store a secret in the vault |
| List stored key names — values are never returned |
Related MCP server: AgentVault MCP Server
Quick start
# Install deps
cd vault-mcp && npm install
# Walk through adding a first secret and get your config block
npx vault-mcp init
# (on Linux without libsecret, set passphrase first)
# export VAULT_MCP_PASSPHRASE="my-strong-passphrase"
# npx vault-mcp initThe init command prints a JSON block to paste into claude_desktop_config.json (Claude Desktop) or .claude/settings.json (Claude Code).
Backends
OS Keychain (keytar) — recommended on macOS / Windows
When keytar installs successfully and libsecret is available, secrets are stored in the OS keychain (Keychain Access on macOS, Credential Manager on Windows, Secret Service on Linux).
No environment variable needed.
AES-256-GCM file vault — Linux CI / containers
If keytar is unavailable, vault-mcp falls back to ~/.vault-mcp/vault.json. Each value is encrypted with AES-256-GCM using a key derived via scrypt from your passphrase.
export VAULT_MCP_PASSPHRASE="my-strong-passphrase"Add this env var to your MCP server config (see init output).
Other CLI commands
vault-mcp set MY_SECRET "value" # store without interactive prompt
vault-mcp list # print stored key names
vault-mcp server # start MCP server (used by config block)MCP config example (file vault)
{
"mcpServers": {
"vault-mcp": {
"command": "node",
"args": ["/path/to/vault-mcp/src/server.js"],
"env": {
"VAULT_MCP_PASSPHRASE": "my-strong-passphrase"
}
}
}
}Available Tools
3 toolsget_secretB
Retrieve a secret value from the vault by key name. The value is returned directly in the tool result and never surfaces in conversation messages.
Inputs: key (required).
list_secretsA
List all secret key names stored in the vault. Values are never returned.
Inputs: no named parameters.
set_secretB
Store a secret value in the vault. Use during onboarding or to update an existing secret.
Inputs: key (required), value (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool maps to a distinct action on the same resource: get_secret reads a value, set_secret writes a value, list_secrets enumerates keys only. The descriptions explicitly clarify the boundary between listing keys and retrieving values, leaving no room for misselection.
All three tools follow a strict verb_noun pattern (get_secret, set_secret, list_secrets) with consistent snake_case and a shared 'secret' noun. Fully predictable naming.
Three tools is on the thin side, but for a secret vault the read/write/list triad is a coherent, well-scoped core with each tool earning its place. A slightly larger surface (delete/rotate) would feel more complete, but nothing here is redundant.
The surface covers create, read, and list, but there is no delete or rotate/update-by-key operation, so agents have no way to remove a compromised secret. That is a notable lifecycle gap for a vault, though the existing operations have no dead ends.
Maintenance
Related MCP Connectors
Encrypted secret store and rotation for autonomous agent credentials
A secret store for AI agents: the agent never sees the plaintext.
One-time, end-to-end encrypted secrets for agents. 0.005 USDC per secret via x402.
Shared memory for your AI tools: tasks, notes and context every tool can read and write over MCP.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAES-256-GCM encrypted local secret storage exposed as MCP tools, with secrets captured via native OS dialogs and never passing through the LLM API.-
- AlicenseBqualityDmaintenanceEnables AI agents to manage secrets and credentials from a secure vault via MCP tools over stdio.7MIT
- AlicenseNot gradedqualityDmaintenanceEncrypts and stores API keys and environment variables locally, providing them to AI agents via MCP with tools for listing, describing, getting secrets, and running commands with secret values redacted.2MIT
- AlicenseNot gradedqualityBmaintenanceLocal MCP server that lets agents save copied secrets into 1Password and use approved fields through encrypted handles without plaintext secret tool arguments or responses. Includes a local permissions dashboard and optional service-account access for unattended work. Requires the 1Password CLI and runs on your computer.71 npmMIT