プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Vaultshell

作者:SoWhatIバージョン 0.1.2i★ 1iパソコンで動く
レジストリ名io.github.SoWhatI/vaultshell

インストール方法

What it does

Injects secrets into shell commands at exec time; plaintext never reaches the LLM context

  • Connects パソコンで動く
  • Account or key No key needed
  • Category サイバーセキュリティ

インストール

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

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月13日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Docker を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

  1. Docker を入れる

    1 回だけ。Docker が必要なすべてのサーバーで使えます

    Docker のダウンロードページを開く ↗

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "vaultshell": {
          "command": "docker",
          "args": [
            "run",
            "-i",
            "--rm",
            "ghcr.io/sowhati/vaultshell:0.1.2"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Vaultshell を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Vaultshell を使っていると言うか、回答に Vaultshell のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Vaultshell につなげません

Vaultshell はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Vaultshell につなげるアプリを使う

  • 先にパソコンへ Docker を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Docker を入れてください(1 回だけ)
  • 先にパソコンへ Docker を入れてください(1 回だけ)
  • 先にパソコンへ Docker を入れてください(1 回だけ)

B · サイバーセキュリティ の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Docker を入れてください(1 回だけ)

  1. Docker を入れる

    1 回だけ。Docker が必要なすべてのサーバーで使えます

    Docker のダウンロードページを開く ↗

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user vaultshell -- docker run -i --rm ghcr.io/sowhati/vaultshell:0.1.2
  4. Claude Code で /mcp と入力

    Vaultshell が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Vaultshell を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Vaultshell を使っていると言うか、回答に Vaultshell のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Docker を入れてください(1 回だけ)

  1. Docker を入れる

    1 回だけ。Docker が必要なすべてのサーバーで使えます

    Docker のダウンロードページを開く ↗

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Vaultshell を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Vaultshell を使っていると言うか、回答に Vaultshell のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Docker を入れてください(1 回だけ)

  1. Docker を入れる

    1 回だけ。Docker が必要なすべてのサーバーで使えます

    Docker のダウンロードページを開く ↗

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Vaultshell を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Vaultshell を使っていると言うか、回答に Vaultshell のツール名が出れば接続成功です

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Vaultshell を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user vaultshell -- docker run -i --rm ghcr.io/sowhati/vaultshell:0.1.2

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "vaultshell": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sowhati/vaultshell:0.1.2"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "vaultshell": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sowhati/vaultshell:0.1.2"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "vaultshell": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/sowhati/vaultshell:0.1.2"
      ]
    }
  }
}

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
npm/PyPIにない
接続方法
パソコンで動く
最新バージョンi
0.1.2
レジストリ公開日i
2026年9月30日
コードの最終更新i
2026年10月15日
作者
SoWhatI
パッケージ
oci: ghcr.io/sowhati/vaultshell:0.1.2
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月13日にチェック

  • ✓ 合格

    作者とリポジトリが一致

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

  • ✓ 合格

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

    コードの最終更新:29 日前

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

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

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

  • – 対象外

    OAuthでサインイン

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

  • … 未チェック

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

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

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

Google でログインして投稿

ユーザーレビュー

まだレビューはありません

Google でログインしてレビューを書く

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

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

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

よくある質問

Vaultshellは安全ですか?

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

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

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

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

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

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

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

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

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

代わりに使えるものは?

同じカテゴリには:Robin: AI-Powered Dark Web OSINT, HOL Guard, SonarQube MCP Server

同じカテゴリのほかの候補

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

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

HOL Guard

Local-first AI agent security evidence and approval workflows through HOL Guard's stdio MCP server.

作者:hashgraph-online広く使われている↓ 7083/週★ 10998 日前更新

パソコンで動く

SonarQube MCP Server

Analyze code quality and security with SonarQube Server or Cloud directly in AI assistants.

作者:SonarSource成長中★ 686一昨日更新

パソコンで動く

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

vaultshell

English | 简体中文

Available on the official MCP Registry: io.github.SoWhatI/vaultshell

An MCP server that stores secrets in local secure storage, injects them into shell child processes at exec time based on rules, and guarantees secret plaintext never reaches the model context — not in tool responses, not in logs, not in audit records.

The closed loop: reference-based storage + conditional injection + mandatory output redaction.

Status: M3 — one-shot commands + persistent sessions + credential proxy +

external CLI backends. See

CHANGELOG and docs/design-spec.md.

The iron rule

  • No MCP tool returns secret plaintext — ever. Responses contain only names, masks ([REDACTED:NAME]), and redacted output.
  • Resolvers are only invoked inside the launcher; values go straight into the child process env and never pass through the tool layer.
  • shell_exec has no free-form env parameter. Secrets enter by rule reference only.
  • Redactor failures are fail-closed: output is discarded, never returned raw.

Quick start

Requires Node.js 20+.

Install from GitHub (no npm registry account needed)
# Run on demand directly from the repo (npm installs devDependencies and

builds dist/ via the prepare script):

npx -y github:SoWhatI/vaultshell

Or install globally:

npm i -g github:SoWhatI/vaultshell

This is the same code as the npm registry package, installed from git — npm clones the repo, runs prepare (→ npm run build) and links the vaultshell bin. Pin a tag for reproducibility: npx -y github:SoWhatI/vaultshell#v0.1.1.

Docker (ghcr.io)
docker run -i --rm \

-e MASTER_KEY=<64 hex chars> \ -v ~/.vaultshell:/home/node/.vaultshell \ ghcr.io/sowhati/vaultshell:latest

MCP client config using Docker:

{

"mcpServers": { "vaultshell": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "MASTER_KEY=<64 hex chars>", "-v", "~/.vaultshell:/home/node/.vaultshell", "ghcr.io/sowhati/vaultshell:latest" ] } } }

The image runs as the non-root node user (HOME=/home/node), so the data volume mounts at /home/node/.vaultshell. node-pty is excluded from the image — sessions automatically fall back to pipe mode (pty: false) in containers; injection and redaction are unchanged. The web subcommand passes through (docker run … ghcr.io/sowhati/vaultshell web — loopback inside the container, of limited use).

No Smithery distribution: Smithery has gone hosted-only (it only

accepts servers deployed to its own infrastructure). vaultshell's secrets

must stay on the user's machine by design — third-party hosting is

incompatible with its threat model, so we deliberately do not publish

there.

From source
# Run via npx (after publish) or from source:

npm install && npm run build

1. Create a master key for the encrypted-file backend

export MASTER_KEY=$(openssl rand -hex 32)

2. Create ~/.vaultshell/config.yaml and ~/.vaultshell/rules.yaml

(full annotated examples: docs/user-guide.md)

3. Store a secret (never echoed back) and run with injection

via your MCP client's tools: secret_set, then shell_exec

Claude Desktop (claude_desktop_config.json):

{

"mcpServers": { "vaultshell": { "command": "npx", "args": ["-y", "vaultshell"], "env": { "MASTER_KEY": "<64 hex chars>" } } } }

Full setup, configuration reference, rule-writing guide, client integration, and FAQ: [docs/user-guide.md](docs/user-guide.md).

MCP tools

ToolPurposeReturns
shell_execRun a one-shot command with per-rule injection. Params: command, cwd?, profile?, extraEnv? (allowlist), dryRun?, timeoutSeconds? (≤3600){exitCode, stdout, stderr} (redacted), injected:[names], ruleId, redactedCount, timedOut, truncated, warnings; dryRun → {dryRun:true, ruleId, injected, envKeys, denied}
shell_session_openOpen a persistent session; secrets injected once at creation{sessionId, cwd, injected:[names], pty, ttlSeconds}
shell_session_sendSend a command to a session{output} (merged, redacted), exitCode, redactedCount
shell_session_closeKill a session; secrets die with the process{ok}
shell_session_listList live sessionsmetadata only
shell_session_revokeKill and rebuild the session without secrets{sessionId} (new)
shell_proxy_startStart a credential-injecting reverse proxy on 127.0.0.1{proxyId, port, expiresAt, upstreamHost}
shell_proxy_stopStop a proxy{ok}
shell_proxy_listList running proxiesmetadata only (incl. secret name, never value)
secret_listList names + metadata (backend ref, resolvable)never values
secret_setWrite to backend; persisted, never echoed{name, ok}
secret_deleteDelete and unregister{name, ok}
secret_probeCheck a ref resolves{ok, masked:"****"}
rule_listRules + static warnings (e.g. inject-everywhere)—
rule_validateStatic findings: unknown secrets, unreachable rules, inject-everywhere, union risk, requireConfirm capability{ok, findings[]}
audit_queryRead audit entriesnames + redacted commands only

Execution limits (M3)

  • dryRun: true on shell_exec reports the would-be ruleId, injected names, final env key list (never values) and the deny-list verdict — without executing anything.
  • timeoutSeconds (default defaults.execTimeoutSeconds = 120, capped at 3600) kills the command and returns timedOut: true.
  • defaults.maxOutputBytes (default 1 MiB) truncates each output stream and sets truncated: true. Truncation happens after the Redactor — it can never bypass redaction.
  • defaults.maxConcurrentExecs (default 8) rejects excess concurrent shell_exec calls with a clear error (no queue).
  • All of the above are recorded in the audit log (dryRun / timedOut / truncated flags).

Web config UI

vaultshell web            # loopback-only HTTP UI on a random port

vaultshell web --port 5317

Prints a one-time-token URL like http://127.0.0.1:5317/?token=… — open it to manage secrets (write-only), edit rules with live static-validation warnings and a matcher dry-run, edit config, and browse the redacted audit log. The token dies with the process; every API call needs it, mutations require same-origin application/json requests, and no endpoint can ever return a secret value. Do not port-forward it. Design & threat model: docs/web-config-ui-design.md.

Credential proxy (M3)

For high-sensitivity API tokens, prefer not landing the secret in env at all. Declare a proxy in config.yaml:

proxies:
  • id: stripe upstreamHost: https://api.stripe.com secretRef: STRIPE_KEY # registry name or full ref headerTemplate: "Authorization: Bearer ${value}"

Then shell_proxy_start { "id": "stripe" } → { port, expiresAt }, and commands call http://127.0.0.1: /v1/charges instead of https://api.stripe.com/v1/charges. The proxy injects the header in memory only and auto-stops after its TTL (default 300s). Audit records the host and secret name, never the header value.

Boundaries: http:///https:// upstreams only (proxy→upstream TLS is properly validated; no CONNECT tunneling, no TLS termination); the client→proxy leg is plaintext on 127.0.0.1, which inherits the same-UID local-process boundary from the threat model.

Persistent sessions (M2)

shell_session_open spawns a long-lived shell with the matched rule's secrets injected at creation. The session is recycled after an idle TTL (defaults.sessionTtlSeconds, default 900s, overridable per rule via ttlSeconds or per call) — when the process dies, the secrets die with it. shell_session_revoke kills a possibly-compromised session immediately and rebuilds one without any secrets.

Sessions use a real PTY via node-pty (an optional dependency — native build, needs Xcode CLT on macOS / build-essential + python3 on Linux). If node-pty cannot be loaded or spawned, vaultshell automatically falls back to a plain child_process shell and the shell_session_open response says pty: false; injection and redaction behave identically, only interactivity is degraded. Session output merges stdout/stderr (PTY semantics) and passes through the same Redactor.

Backend support matrix

BackendRef schemeStatusPlatformsNotes
Encrypted fileencfile://NAME✅ ImplementedallAES-256-GCM; master key from env:MASTER_KEY or macOS keychain; default
Local keychainkeychain://svc/acct⚠️ macOS onlymacOSspawns security CLI; Linux/Windows give a clear error
Process envenv://NAME✅ Implementedallread-only; good for CI
Filefile://path✅ Implementedallfirst line; refuses permissions > 0600
Inlineinline:⚠️ Restrictedallplaintext in config; disabled by default, startup warning when enabled
1Passwordop://vault/item/field✅ via CLIallneeds authenticated op CLI; read-only
Vaultvault://path#field✅ via CLIallneeds authenticated vault CLI; read-only
Infisicalinfisical://proj/env/KEY✅ via CLIallneeds authenticated infisical CLI; read-only
Dopplerdoppler://proj/config/KEY✅ via CLIallneeds authenticated doppler CLI; read-only

Details, per-backend setup, and how to register a plugin resolver: docs/backends.md.

Threat model

ThreatMitigation
Model-context leakageStructural: values never cross the tool layer; only names and masks
Command output echoing secretsMandatory redaction (exact + URL/Base64 variants + generic patterns), fail-closed
Agent dumping env (env, printenv, /proc/*/environ, …)Hard-blocked deny-list (configurable via security.dangerousCommands: extra patterns, or mode: warn to allow-with-audit) + shell_exec_blocked audit events
Same-UID local process reading /proc/PID/environOS-level limit, cannot be fully fixed; per-command injection shrinks the window. Explicit boundary.
Long secret residencyPer-command injection by default; sessions have idle-TTL recycling + instant revoke
Misconfigured rule causing inject-everywhererule_validate / rule_list static warnings; mergeStrategy defaults to override; requireConfirm rules demand interactive approval (fail-closed without elicitation)
Config files leakingConfig stores refs only, never values; inline: disabled by default; store files forced to 0600

Full discussion: docs/design-spec.md §7. Report vulnerabilities privately per SECURITY.md.

Data layout

~/.vaultshell/

config.yaml # main config rules.yaml # injection rules + secret refs (refs only, never values) secrets.enc # encrypted-file backend (0600) audit/ # JSONL audit, redacted

VAULTSHELL_HOME overrides the data directory (used by tests).

Development

npm run build   # tsc

npm test # vitest — redactor property tests, backend round-trips,

rule matching, shell_exec end-to-end

See CONTRIBUTING.md — including the security red lines every PR mus

冒頭だけを表示しています。続きはリポジトリで読めます