原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Sops MCP

作者:privacyplaybook版本 0.12.0i★ –i在你的电脑上运行
注册名称io.github.privacyplaybook/sops-mcp

安装

概览

作者提供的说明(英文原文)

MCP server for creating and managing SOPS-encrypted secrets

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 网络安全
  • 你需要填写:SOPS_MCP_AGE_PUBLIC_KEY, SOPS_AGE_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: SOPS_MCP_AGE_PUBLIC_KEY, SOPS_AGE_KEY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • PyPI已安装 Python 的 uv(用于 uvx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 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 中打开

或者自己复制设置

粘贴到项目中的 .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"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .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 保存在这台设备上,无需账户。

需要你填写的值

  • SOPS_MCP_AGE_PUBLIC_KEY 必填 env
    Age recipient public key. Required at startup.
  • SOPS_AGE_KEY 机密 env
    Age private key. Required at call time for any mutation tool (decrypt + re-encrypt). Read-only tools do not need it.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 privacyplaybook 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“网络安全”中的其他服务器比较i

  • 星标数多于此分类中其他 996 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 996 个服务器的 73% 更新
  • 基础检查结果等于或优于此分类中其他 996 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Sops MCP 安全吗?

它在 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.

在云端运行今天更新
安装

QNSQY

作者:quantumsequrity

Linux only, local: post-quantum CBOM scan, encrypt to public keys, verify. Takes no secrets

在你的电脑上运行今天更新
安装

EchelonGraph CVE & Exposure

作者:echelongraph

CVE, KEV, EPSS, SBOM and advisory lookups; per-CVE exposure from Shodan data (© Shodan). Keyless.

电脑或云端今天更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

sops-mcp

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.

Why

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:

  1. Create secrets.enc.yaml via this server — age-encrypted against your public key, safe to commit.
  2. Commit it alongside your code.
  3. Your CI/CD pipeline holds the age private key, decrypts at deploy time, and injects plaintext as environment variables into your container orchestrator.

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.

Secret sources

Every secret is one of three sources, recorded in _meta_unencrypted:

  • `generated` — Cryptographically random values (Python secrets / OS CSPRNG). You specify length and charset; the server stores both so it can regenerate on rotation.
  • `external` — User-provided values encrypted as-is (SMTP credentials, third-party API keys, etc.). Preserved across rotation. Updated via sops_update_external.
  • `derived` — Computed from another key in the same file via a named transform. When the source is rotated (or an external source is updated), the derived value is automatically recomputed in topological order. Useful for things like Authelia's PBKDF2 hashes of OIDC client secrets.

Design

Three ideas shape the tool surface:

  1. No plaintext crosses the MCP boundary. Generated secret values are never returned to the client. There is deliberately no "decrypt this one key" tool. If you need plaintext, run sops decrypt yourself with the age private key.
  2. Metadata in plaintext. A _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.
  3. No in-place value update for `generated` or `derived` secrets. Those change only via rotation, where neither the server nor the caller has access to the plaintext. External secrets (e.g. an upstream API key the user controls) can be updated with sops_update_external.
Transforms (for derived secrets)
TransformPurposeDeterministic
pbkdf2_sha512_autheliaPBKDF2-SHA512 hash in Authelia's configuration.yml format ($pbkdf2-sha512$310000$...)No — random salt per call
sha256_hexHex-encoded SHA-256 digestYes

Tools

Creation and listing
ToolWhat it does
sops_create_secretsCreate a new encrypted file with one or more secrets (any mix of sources).
sops_list_secretsList keys, sources, and descriptions from a file without decrypting.
sops_create_oidc_secretConvenience: 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_secretCreate 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_domainsList the configured key domains, their age recipients, and whether each can decrypt or only encrypt. Never returns private key material.
Mutation (require a private key for the target domain)
ToolWhat it does
sops_rotate_generatedRegenerate all generated secrets. Derived secrets whose source was rotated are recomputed; others are preserved. External secrets are preserved.
sops_add_secretsAdd new secrets to an existing file. Supports all three sources. Rejects collisions with existing keys.
sops_update_externalReplace the value of an external secret. Cascades to any derived secrets that reference it. Rejects attempts to update generated or derived.
sops_rename_secretRename a key, preserving its value and metadata. Updates from: references in any derived secrets.
sops_delete_secretsRemove 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_metadataRetrofit _meta_unencrypted onto a legacy SOPS file that lacks it. Supports generated, external, and derived entries.
sops_rekeyRe-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.

Setup

Prerequisites
  • Python 3.11+
  • sops CLI binary
  • An age keypair (see below)
Generating an age keypair

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

public key: age1abc...xyz

AGE-SECRET-KEY-1HH...

  • Public key (age1...) — pass to this server as SOPS_MCP_AGE_PUBLIC_KEY. Safe to share anywhere.
  • Private key (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.

Installation
git clone <repo-url>

cd sops-mcp python3 -m venv .venv .venv/bin/pip install -e .

Claude Code configuration

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": " " } } } }

Environment variables
VariableRequiredPurpose
SOPS_MCP_AGE_PUBLIC_KEYYes*Age public key for encryption
SOPS_AGE_RECIPIENTSYes*Alternative to SOPS_MCP_AGE_PUBLIC_KEY
SOPS_MCP_SOPS_BINARYNoPath to sops binary (default: sops)
SOPS_MCP_LOG_LEVELNoLog level (default: WARNING)
SOPS_AGE_KEYSometimesAge 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_FILENoPath to a YAML file defining named key domains. Use when one server needs more than one recipient set.
SOPS_MCP_DOMAINSNoThe 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_DOMAINNoSet 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_TRANSPORTNostdio (default) or sse
SOPS_MCP_HOST / SOPS_MCP_PORTNoBind 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_HOSTSNoComma-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_TOKENSometimesRequired 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.

Key domains

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.

Why they exist

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:

  • A mutation compares the file's actual recipients against the domain's. If they differ it refuses, rather than quietly changing who can read the file.
  • One server process can hold several independent key sets.
  • sops_rekey performs a deliberate recipient change, which is the sops updatekeys workflow.
Several recipients, one domain

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.

Several domains

Point SOPS_MCP_DOMAINS_FILE at a YAML file:

version: 1

domains: homelab: recipients:

  • age1ci... # CI runner
  • age1operator... # operator laptop keys:
  • AGE-SECRET-KEY-1CI... client-acme: recipients:
  • age1acme... key_f

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx