Mcpv — AI skill for Claude Code
Offline, encrypted secrets for AI coding agents.
How to install Mcpv
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mcpmastersh/mcpv and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Mcpv does
Offline, encrypted secrets for AI coding agents. Keep mcpm:// references in your .env; mcpv run resolves them in memory, injects them into one process and masks its output. Agents like Claude Code use your secrets without ever seeing them.
Alternatives in AI
- Osaurus — Own your AI. The native macOS harness for AI agents -- any model, persistent memory, autonomous execution, cry 5.1k ★
- Nocturne Memory — A lightweight, rollbackable, and visual Long-Term Memory Server for MCP Agents 1.3k ★
- Openclaw Auto Dream — Automatic memory consolidation for OpenClaw agents — like sleep for your AI 545 ★
README
mcpv
**Offline, encrypted secrets for AI agents: they can use them, but never see them.**
AI coding agents like Claude Code are right not to handle raw secrets. A value pasted into a prompt ends up in the transcript, in logs, and possibly in a commit. `mcpv` keeps the values out of the agent's reach but still lets it run your app:
# .env: commit it, paste it, let an agent read it. It holds addresses, not values.
DATABASE_URL=mcpm://acme/api/dev/DATABASE_URL
STRIPE_KEY=mcpm://acme/api/dev/STRIPE_KEY
PORT=3000
mcpv run -- npm run dev
`run` decrypts the references in memory and passes the values to that one process through its environment. It also scans everything the process prints and replaces secret values with `[redacted]`. The agent sees the command, the key names and the masked output. It never sees a value.
No server, no account, no network. One encrypted file on your machine.
Install
npm i -g @mcpmastersh/mcpv # installs the `mcpv` command
npx @mcpmastersh/mcpv doctor # or run it without installing
Needs Node 20 or newer. No runtime dependencies.
Five commands you'll use
# Move an existing .env into the vault and swap its values for references
mcpv import .env --into mcpm://acme/api/dev --only DATABASE_URL,STRIPE_KEY --rewrite
# Add or replace one secret. Type it at a hidden prompt, or pipe it in.
mcpv set mcpm://acme/api/dev/OPENAI_API_KEY
pbpaste | mcpv set mcpm://acme/api/dev/OPENAI_API_KEY
# Run anything with ./.env resolved (or --env-file, or a whole --env environment)
mcpv run -- npm test
mcpv run --env mcpm://acme/api/prod -- ./migrate.sh
# Safe for agents: key names only, never values
mcpv check # does every reference in ./.env resolve?
mcpv list # environments and key names
Web UI
mcpv ui
This opens a local page in your browser. From it you can browse environments and key names, add or replace values, import a `.env`, delete secrets, and che
Related Skills
Foci
openclaw-like ai agent platform. Written in go for speed and memory-efficiency. Supports claude code as backen
Rapg
Local-first secret manager for the AI-agent era — keep API keys out of .env files and out of your agent transc
Vibesubin
AI skills that keep your code honest, your secrets unleaked, and your repo from rotting. Built for people who
Agentleak
Find secrets you already leaked into AI chat sessions — offline, local-first.
Reporecall
Local codebase memory for Claude Code. Tree-sitter AST indexing (22 languages), hybrid keyword + vector search
Mynd
Persistent memory MCP server for AI coding agents. Injects project context at session start, stores architectu
Related Agents
Curator
(/auto) Maintain active research-tree memory: absorb reviewed evidence, keep graph/state/provenance coherent,
Engineering
Staff Engineer — owns architecture, decomposes work, delegates to Backend/Frontend/DevOps sub-agents, resolves
Claude Mem
A Claude Code plugin that automatically captures everything Claude does during your coding sessions, compresse