secret
Let coding agents use your credentials without reading them
Install / Use
claude mcp add avhn -- npx -y github:avhn/secretIf the server publishes to npm under a different name, use that package instead — check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
SecuritySupported Platforms
Our assessment of secret
secret scores 71/100 on our quality scale, 1034th of 1,095 Security skills we index.
Its MCP Server is 5.2 KB long, well organised into 10 sections with 5 code examples: a solid amount of guidance for an agent.
It has 3 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so secret is actively maintained.
- It is released under GPL-3.0, a copyleft license: you can use it, but modified versions you distribute must carry the same license.
- Its trust signals score 87/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
secret compared with similar skills
All 4 of these similar skills score higher than secret; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| secret (this skill)by avhn | 71 | 3 | today | MCP Server |
| Agent-Reachby Panniantong | 100 | 108.0k | 1d ago | CLAUDE.md |
| headroomby headroomlabs-ai | 100 | 78.7k | today | CLAUDE.md |
| CowAgentby zhayujie | 100 | 47.8k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 92.8k | today | MCP Server |
Frequently asked questions
- How do I install secret?
- Run
claude mcp add avhn -- npx -y github:avhn/secret. The install tabs above show the steps for each supported agent. - Which AI agents does secret work with?
- It is written for Claude Code, Claude Desktop and OpenAI Codex, as a MCP Server file. Other agents that read the same format can often use it too.
- Is secret safe to use?
- It is GPL-3.0-licensed and scores 87/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is secret still maintained?
- The repository was last updated today, so secret is actively maintained.
Skill content
View source on GitHubA local credential CLI, a names-only MCP server, and a guard hook for coding agents.
Agents see key names, labels and paths, never values through the names-only interface. The CLI passes selected values directly to programs; the guard denies known store-reading operations.
How it works
- The agent asks for a credential by key name, not its value.
secrethands the selected value directly to the program's environment.secret runredacts loaded literal values from stdout and stderr.
Accident prevention, not a sandbox.
Install
Install or update the secret CLI to the latest release.
Linux/macOS:
curl -fsSL https://raw.githubusercontent.com/avhn/secret/v0.5.0/install.sh | sh
Windows PowerShell:
irm https://raw.githubusercontent.com/avhn/secret/v0.5.0/install.ps1 | iex
No GitHub account or gh is needed; rerunning updates the installation.
See pins, paths and verification.
Use it
In your own terminal, stash a value with a hidden prompt. Agents can use show
and run, but must never enter or retrieve values. These are illustrative paths:
secret stash ~/.secrets.env API_TOKEN
secret show ~/.secrets.env
secret run -f ~/.secrets.env --key API_TOKEN -- ./deploy.sh
Register names-only MCP using the installed executable's concrete absolute path and an exact human-approved store reference. Do not discover or read stores:
claude mcp add --transport stdio --scope user secret -- "/ABSOLUTE/INSTALL DIR/secret" mcp --store "file:/ABSOLUTE/STORE DIR/STORE.secret"
Reconnect the client and verify list/show/diff/health. See Windows equivalents and client setup.
Use it to launch other MCP servers
For a human-configured client launcher, exec supplies selected values without
filtering the server's stdio. It works on macOS, Linux and Windows; Windows
long-lived exec shipped in v0.3.4. -f takes a plain store path, not file::
"/ABSOLUTE/INSTALL DIR/secret" exec -f "/ABSOLUTE/STORE DIR/.secrets.env" --key OPENPROJECT_API_TOKEN -- uvx openproject-ce-mcp@0.4.1
This is not the names-only server or an agent retrieval route. Output is unfiltered and can disclose values. Review the server and configure this yourself; see client JSON, Windows paths and shutdown limits.
Next steps
- Set up clients, including the Claude Desktop MCPB and
MCP Registry name
io.github.avhn/secret, which lists v0.5.0. - Verify, update or roll back, with explicit Bash rollback at
compat/secret. - Windows support and limits.
- Security model and reporting.
Guard hook
The optional Claude Code and Codex plugins
install the Bash guard and agent skill, not an MCP registration.
Codex requires explicit hook trust in /hooks, including re-trust after changes.
Install the protective ripgrep config and review the manual-hook instructions there.
Go hooks remain inactive; installation and synthetic tests do not prove host fail-closed protection.
More workflows
See detailed usage, providers, labels, operator commands and templates, encrypted age stores, inactive 1Password scaffolding and pass stores.
Security limits
Literal redaction does not catch base64, URL encoding, substrings or other transformations. The guard cannot contain a determined agent, arbitrary child behavior or tools it never sees, including MCP search tools. Metadata can reveal names, labels, paths and provider account IDs. Treat this as one layer, not the boundary. Read the full threat model.
Development
See CONTRIBUTING.md for synthetic tests and PR guidance, AGENTS.md for agent rules and ROADMAP.md for milestones.
License
GPL-3.0-or-later, copyright Mert Dede.
Related Skills
Agent-Reach
108.0kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
headroom
78.7kCompress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agents, 60-95% fewer tokens for JSON, same answers. Library, proxy, MCP server.
CowAgent
47.8kOpen-source personal AI assistant & Agent Harness. Plans tasks, runs tools and skills, self-evolves with memory and knowledge. Multi-agent, multi-model, multi-channel. Lightweight, extensible, one-line install.
Scrapling
92.8k🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
