Action1 MCP by usefulapi
Read endpoints, missing updates, CVE vulnerabilities, installed software and reports in Action1.
作者提供的说明(英文原文)
MCP server for creating and managing SOPS-encrypted secrets
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
SOPS_MCP_AGE_PUBLIC_KEY, SOPS_AGE_KEY标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"sops": {
"command": "uvx",
"args": [
"sops-mcp"
],
"env": {
"SOPS_MCP_AGE_PUBLIC_KEY": "your-value",
"SOPS_AGE_KEY": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add sops --env SOPS_MCP_AGE_PUBLIC_KEY=your-value --env SOPS_AGE_KEY=your-value -- uvx sops-mcp运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"sops": {
"command": "uvx",
"args": [
"sops-mcp"
],
"env": {
"SOPS_MCP_AGE_PUBLIC_KEY": "your-value",
"SOPS_AGE_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"sops": {
"type": "stdio",
"command": "uvx",
"args": [
"sops-mcp"
],
"env": {
"SOPS_MCP_AGE_PUBLIC_KEY": "your-value",
"SOPS_AGE_KEY": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日
注册名称已通过 GitHub 账户 privacyplaybook 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
你需要填写:SOPS_MCP_AGE_PUBLIC_KEY, SOPS_AGE_KEY
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.12.0)于15天前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Action1 MCP by usefulapi, QNSQY, EchelonGraph CVE & Exposure
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Read endpoints, missing updates, CVE vulnerabilities, installed software and reports in Action1.
Linux only, local: post-quantum CBOM scan, encrypt to public keys, verify. Takes no secrets
CVE, KEV, EPSS, SBOM and advisory lookups; per-CVE exposure from Shodan data (© Shodan). Keyless.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
MCP server for creating and managing SOPS-encrypted secret files using age encryption.
Designed for Claude Code (or any MCP client) to produce encrypted secrets.enc.yaml files without the model ever seeing plaintext values. All file content is passed as text parameters and returned as text — the server has no filesystem access to the client.
Two goals drive the design:
1. Keep secrets in your source tree without leaking them. For a small project, running a full secrets manager (Vault, AWS Secrets Manager, etc.) is overkill for a handful of credentials. Encrypting secrets at rest in git and decrypting them in your CI/CD pipeline at deploy time is much cheaper:
secrets.enc.yaml via this server — age-encrypted against your public key, safe to commit.The age private key lives in exactly one place: your CI/CD secrets store. Everywhere else — your laptop, your git remote, your container images — sees only ciphertext. See the worked example below.
2. Let an AI coding agent generate secrets it can never read. Claude (or any MCP client) can create passwords, rotate them, derive hashes, rename and delete them — but plaintext values never cross the MCP boundary back to the model. The server holds the encryption key; the client only submits requests and receives metadata. There is deliberately no "decrypt this one secret" tool. This prevents a prompt injection or a misbehaving agent from exfiltrating a secret.
The simplest setup uses a single age recipient (the one CI private key). If you need several — a CI key plus an operator's key, or separate key sets for separate parties — see Key domains.
Every secret is one of three sources, recorded in _meta_unencrypted:
secrets / OS CSPRNG). You specify length and charset; the server stores both so it can regenerate on rotation.sops_update_external.Three ideas shape the tool surface:
sops decrypt yourself with the age private key._meta_unencrypted block sits alongside the encrypted values (using SOPS's unencrypted_suffix feature) and records each secret's source, how it was generated, when it was last rotated, and which key domain it belongs to. This lets the server list and rotate secrets without decrypting. SOPS's MAC covers these values by default, so a tampered block fails to decrypt. Files that switch that off with mac_only_encrypted are refused. Tools that read the block *without* a key still cannot check the MAC, which is why recipients are verified separately.External secrets (e.g. an upstream API key the user controls) can be updated with sops_update_external.derived secrets)| Transform | Purpose | Deterministic |
|---|---|---|
pbkdf2_sha512_authelia | PBKDF2-SHA512 hash in Authelia's configuration.yml format ($pbkdf2-sha512$310000$...) | No — random salt per call |
sha256_hex | Hex-encoded SHA-256 digest | Yes |
| Tool | What it does |
|---|---|
sops_create_secrets | Create a new encrypted file with one or more secrets (any mix of sources). |
sops_list_secrets | List keys, sources, and descriptions from a file without decrypting. |
sops_create_oidc_secret | Convenience: create an Authelia OIDC client secret as a generated + derived (pbkdf2_sha512_authelia) pair in one call. The hash is returned in the response for pasting into configuration.yml. |
sops_create_k8s_secret | Create a Kubernetes Secret manifest with the values under stringData, encrypted so that only stringData is ciphertext. Create-only: every mutation tool refuses the result. See Kubernetes Secret manifests. |
sops_list_domains | List the configured key domains, their age recipients, and whether each can decrypt or only encrypt. Never returns private key material. |
| Tool | What it does |
|---|---|
sops_rotate_generated | Regenerate all generated secrets. Derived secrets whose source was rotated are recomputed; others are preserved. External secrets are preserved. |
sops_add_secrets | Add new secrets to an existing file. Supports all three sources. Rejects collisions with existing keys. |
sops_update_external | Replace the value of an external secret. Cascades to any derived secrets that reference it. Rejects attempts to update generated or derived. |
sops_rename_secret | Rename a key, preserving its value and metadata. Updates from: references in any derived secrets. |
sops_delete_secrets | Remove one or more keys. Rejects deleting a secret that another derived secret still references (unless the dependent is deleted in the same call). |
sops_add_metadata | Retrofit _meta_unencrypted onto a legacy SOPS file that lacks it. Supports generated, external, and derived entries. |
sops_rekey | Re-encrypt a file onto its domain's current recipient list. Run this after a domain's recipients change, or to clear a "recipients do not match" refusal. Requires an explicit domain. Leaves a legacy file without a metadata block untouched in that respect, so sops_add_metadata still works on it. |
Every tool takes a domain argument except sops_list_domains, which needs none. It is optional everywhere but sops_rekey, where it is required because the call changes who can read the file. See Key domains.
If you don't already have one, install age and run:
age-keygen -o age-key.txt
The file looks like:
# created: 2026-04-22T12:34:56Z
AGE-SECRET-KEY-1HH...
age1...) — pass to this server as SOPS_MCP_AGE_PUBLIC_KEY. Safe to share anywhere.AGE-SECRET-KEY-...) — store as a CI/CD secret (commonly named SOPS_AGE_KEY). Never commit to source control. Anyone with this key can decrypt every secrets.enc.yaml encrypted to the matching public key.Back up the private key somewhere safe (password manager, hardware token). Losing it means losing access to every secret you've encrypted.
git clone <repo-url>
cd sops-mcp python3 -m venv .venv .venv/bin/pip install -e .
Add to your project's .mcp.json:
{
"mcpServers": { "sops-mcp": { "command": "/path/to/sops-mcp/.venv/bin/python", "args": ["-m", "sops_mcp"], "env": { "SOPS_MCP_SOPS_BINARY": "/path/to/sops", "SOPS_MCP_AGE_PUBLIC_KEY": " " } } } }
| Variable | Required | Purpose |
|---|---|---|
SOPS_MCP_AGE_PUBLIC_KEY | Yes* | Age public key for encryption |
SOPS_AGE_RECIPIENTS | Yes* | Alternative to SOPS_MCP_AGE_PUBLIC_KEY |
SOPS_MCP_SOPS_BINARY | No | Path to sops binary (default: sops) |
SOPS_MCP_LOG_LEVEL | No | Log level (default: WARNING) |
SOPS_AGE_KEY | Sometimes | Age private key for the default domain — required to mutate a file belonging to it. Named domains take their keys from the domains file instead. |
SOPS_MCP_DOMAINS_FILE | No | Path to a YAML file defining named key domains. Use when one server needs more than one recipient set. |
SOPS_MCP_DOMAINS | No | The same domains document inline, as YAML or compact JSON. Public recipient sets only — a domain here may not carry keys or key_file. Merged with SOPS_MCP_DOMAINS_FILE. |
SOPS_MCP_REQUIRE_DOMAIN | No | Set to 1 to require every tool call to name its domain. The file's recorded domain and the default fallback are both disabled. |
SOPS_MCP_TRANSPORT | No | stdio (default) or sse |
SOPS_MCP_HOST / SOPS_MCP_PORT | No | Bind host/port for SSE transport (default: 127.0.0.1:55090). Binding to 0.0.0.0 requires SOPS_MCP_API_TOKEN — the server refuses to start otherwise. |
SOPS_MCP_ALLOWED_HOSTS | No | Comma-separated allowlist for the SSE Host header (DNS rebinding protection). Default: 127.0.0.1,127.0.0.1:*,localhost,localhost:*. Set explicitly when binding to a non-loopback address — e.g. mcp.example.com,mcp.example.com:*. |
SOPS_MCP_API_TOKEN | Sometimes | Required when SSE transport binds to 0.0.0.0; otherwise optional. When set, SSE requires Authorization: Bearer . |
\* One of SOPS_MCP_AGE_PUBLIC_KEY or SOPS_AGE_RECIPIENTS must be set, unless SOPS_MCP_DOMAINS_FILE or SOPS_MCP_DOMAINS supplies at least one domain. The server refuses to start with no domains at all.
Both recipient variables accept a comma-separated list, and SOPS_AGE_KEY accepts several newline-separated keys. Together they form the default domain.
A domain is a named set of age recipients plus, optionally, the private keys the server holds for them. It is the unit the server encrypts to and decrypts with.
You do not need to configure one. The environment variables above become a domain called default, and a single-recipient setup never has to mention domains again.
Every mutation tool decrypts, changes, and re-encrypts. Re-encryption uses the server's configured recipients — so if a file was encrypted to a CI key *and* an operator key, but the server only knows about CI, the operator used to be dropped from the file silently. Domains fix that by making the recipient set a named, checked thing:
sops_rekey performs a deliberate recipient change, which is the sops updatekeys workflow.The common case needs no domains file. List every recipient in the usual variable:
SOPS_MCP_AGE_PUBLIC_KEY="age1ci...,age1operator..."
SOPS_AGE_KEY="AGE-SECRET-KEY-1CI..."
Files are now encrypted to both, and mutations keep both. The server only needs whichever private key it will actually decrypt with.
Point SOPS_MCP_DOMAINS_FILE at a YAML file:
version: 1
domains: homelab: recipients:
只显示了开头部分;其余内容请在仓库中阅读