プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Sops MCP

作者:privacyplaybookバージョン 0.12.0i★ –iパソコンで動く
レジストリ名io.github.privacyplaybook/sops-mcp

インストール

概要

作者による説明(英語の原文)

MCP server for creating and managing SOPS-encrypted secrets

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: サイバーセキュリティ
  • 入力が必要なもの:SOPS_MCP_AGE_PUBLIC_KEY, SOPS_AGE_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: SOPS_MCP_AGE_PUBLIC_KEY, SOPS_AGE_KEY

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • PyPIPythonの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月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント privacyplaybook で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

サイバーセキュリティのほかのサーバーとの比較i

  • このカテゴリのほかの993件のうち0%よりスターが多い
  • このカテゴリのほかの993件のうち73%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの993件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Sops MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:SOPS_MCP_AGE_PUBLIC_KEY, SOPS_AGE_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.12.0)がレジストリに届いたのは15 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:ipdata MCP by usefulapi, MaxMind minFraud MCP by usefulapi, Lambda Labs MCP by usefulapi

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

作者の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に聞く