Secret

io.github.avhnPublished by GitHub account avhnv0.6.0Updated Nov 3, 2026

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

VerifiedSTDIODesktop onlyDeveloper ToolsSecurity & Monitoring

Overview

Secret's local MCP server; no sign-in required; STDIO.

No AI overview yet: these facts come from the registry entry and the server itself.

Installation

In SourceWeft

  1. Open Secret in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

[Image]
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.

Source: README.md at commit 4431d3c

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

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

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts