Secret

io.github.avhn由 GitHub 账号 avhn 发布v0.6.0更新于 Nov 3, 2026

针对明确批准的存储库,提供本地、只读、仅名称的密钥元数据。绝不返回值。

AI 翻译由 AI 模型根据下方的原文描述翻译,可能有误。

原文描述

Local, read-only, names-only secret metadata for explicitly approved stores. Never returns values.

已验证STDIO仅桌面开发者工具安全与监控

概览

Secret 的本地 MCP 服务;无需登录;STDIO。

暂无 AI 概览:以下信息来自注册中心条目和服务本身。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Secret,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

[图片]
Secret

Let coding agents use your credentials without reading them.

[Website] [Release] [CI] [License] [MCP: stdio] [Platforms: macOS, Linux, Windows]

A 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

  1. The agent asks for a credential by key name, not its value.
  2. secret hands the selected value directly to the program's environment.
  3. secret run redacts 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:

sh
curl -fsSL https://raw.githubusercontent.com/avhn/secret/v0.6.0/install.sh | sh

Windows PowerShell:

powershell
irm https://raw.githubusercontent.com/avhn/secret/v0.6.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:

sh
secret stash ~/.secrets.env API_TOKENsecret show ~/.secrets.envsecret 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:

sh
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::

sh
"/ABSOLUTE/INSTALL DIR/secret" exec -f "/ABSOLUTE/STORE DIR/.secrets.env" --key OPENPROJECT_API_TOKEN -- uvx [email protected]

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

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.

来源:README.md,提交 4431d3c

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

4
  1. v0.6.0最新Nov 3, 2026
  2. v0.3.4Nov 1, 2026
  3. v0.3.3Oct 31, 2026
  4. v0.3.2Oct 30, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分