Keymaster Mcp

io.github.AInoAKARI由 GitHub 帳號 AInoAKARI 發布v1.0.2更新於 Oct 24, 2026

Read-only runtime secret retrieval from HashiCorp Vault via Keymaster for autonomous AI agents.

發布方自己的服務:AIノアカリ☆ Agent Trust Receipt

已驗證STDIO僅桌面開發者工具安全與監控

概覽

AI 產生的概覽

一個本機 MCP 伺服器,讓助理在不回傳密鑰值的前提下,檢查 HashiCorp Vault 代理中已核准的憑證是否存在且狀態正常。

可以做什麼
檢查單一已核准憑證的狀態而不回傳其值,並在上游驗證憑證、僅回傳狀態(secret_status、healthcheck)。探索支援的服務與鍵名組合,並以純中繼資料方式列出已核准的密鑰路徑(list_services、list_secrets)。回傳安全的輪換指引,但不接受替換值(rotate_secret)。
適用情境
適用於代理需要在可信工作負載執行已驗證動作之前,確認某項能力是否可用、其憑證是否健康,同時避免原始密鑰出現在模型可見輸出中。
執行需求
透過 stdio 在本機執行,通常以 npx 啟動並把 Keymaster 代理 URL 作為參數傳入。需要 USER_KEYMASTER_URL 變數,以及由主機代管密鑰綁定提供的 USER_KEYMASTER_TOKEN 密鑰,並需要連線至 Keymaster 代理的網路存取。
安裝前請注意
需要一個 bearer 權杖(USER_KEYMASTER_TOKEN);README 說明原始權杖不能作為命令列參數,也不應貼到聊天、提示詞、shell 歷史或公開範例中。輸出設計為不洩露密鑰,但伺服器會與外部代理通訊,請確認其傳送的內容。README 另提到一個獨立的結算網路,以及錢包密鑰不進入代理可見狀態。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Keymaster Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Keymaster MCP

[Powered by RustChain]

Trust infrastructure for human–AI teams.

日本語 · Five-minute demo · Adoption playbook · Philosophy · Threat model

Keymaster lets agents discover whether approved capabilities exist and whether their credentials are healthy without returning production credentials to the model. Its companion Outcome Contract accepts results only when external evidence—not the executor's own report—supports the claim.

text
bounded permission → trusted execution → external evidence → accepted result → next permission

Experience the philosophy without a credential

bash
cd keymaster-mcp
npm ci
npm run demo:local

The loopback-only demo uses one synthetic value and proves that:

  • secret_status returns available;
  • get_secret is not exposed;
  • the synthetic credential never crosses model-visible MCP output;
  • no cloud account, Vault deployment, paid service, or real credential is required.

The demo is an executable explanation, not a production proxy.

Two public entry points

1. Verify whether an AI result is real

Install the public outcome-contract skill from Codex:

text
$skill-installer install https://github.com/AInoAKARI/keymaster-mcp/tree/main/skills/outcome-contract

Use it before accepting claims such as completed, shipped, paid, adopted, delivered, saved time, reduced cost, removed risk, or received a recipient response.

It calls the free AIノアカリ☆ Result Receipt Auditor and returns a verdict, accepted evidence, missing evidence, the next verification action, and the truth boundary of the verdict.

A commit, deployment, registry listing, HTTP 200, self-test, self-payment, internal agent call, or executor self-report is not counted as an external outcome by itself.

2. Check credential capability without disclosing credentials

@akari-os/keymaster-mcp is the non-disclosing Vault status bridge for autonomous AI agents.

bash
claude mcp add keymaster -- npx -y @akari-os/keymaster-mcp \
  --vault-url https://your-keymaster.example.com

The MCP host supplies USER_KEYMASTER_TOKEN through its managed secret binding. Raw tokens are rejected as command-line arguments and should never be pasted into chat, prompts, shell history, or public examples.

The server exposes:

  • secret_status — check one approved credential without returning its value;
  • list_services — discover supported service/key-name pairs;
  • list_secrets — list approved paths as metadata only;
  • healthcheck — validate credentials upstream and return statuses only;
  • rotate_secret — return safe rotation guidance without accepting a replacement value.

Full package documentation: keymaster-mcp/README.md

The trust model

Capability without credential custody

The model can know what capability is available and whether it works. A trusted workload consumes the credential behind the boundary; the model never receives the raw value.

Trust with evidence

The agent is allowed to act, but its own completion message is not accepted as proof of external value.

Philosophy as protocol

The values are implemented in system behavior: non-disclosing MCP output, scoped read access, separated write paths, one source of truth, bounded network calls, evidence boundaries, and explicit next verification actions.

From demo to real adoption

  1. run the zero-secret demo;
  2. register one low-risk credential in Vault;
  3. connect Keymaster with a read-only host secret binding;
  4. let the agent verify availability through secret_status;
  5. execute the authenticated action behind a trusted workload boundary;
  6. apply Outcome Contract at the acceptance boundary;
  7. preserve the evidence packet and result receipt.

See the adoption playbook for exact acceptance boundaries.

Success is not the installation itself. Success is a removed human step, a closed leak path, a completed obligation, recovered time, avoided cost, removed risk, or independently acknowledged value.

Used it in a real workflow? Submit a real-world adoption report with redacted evidence markers and an explicit truth boundary. Never include credentials, bearer tokens, private URLs, personal data, or confidential evidence.

Related settlement infrastructure

RustChain is a settlement network relevant to Keymaster and Outcome Contract workflows. Keymaster keeps wallet credentials and private keys outside agent-visible state, while the Outcome Contract treats settlement as verified only when a transfer identifier and the corresponding balance delta are both observable. This preserves wallet non-disclosure without confusing an accepted claim with a completed transfer.

Current interoperability and supply-chain controls

  • stable MCP TypeScript SDK v1 line;
  • official server.json Registry metadata;
  • official MCP Inspector smoke test;
  • Node 18, 20, 22, and 24 compatibility gates;
  • newest supported stable MCP SDK v1 compatibility gate;
  • npm trusted publishing and provenance;
  • CycloneDX SBOM and GitHub artifact attestations;
  • CodeQL v4 security-extended analysis;
  • OpenSSF Scorecard publication through OIDC;
  • weekly Dependabot updates for npm and GitHub Actions.

These controls are counted as operational only after their workflows actually execute and their evidence is observable.

Preview-only transports and UI extensions are not added merely because they are fashionable. They enter this boundary only after preserving non-disclosure, least privilege, and observable evidence.

Project participation

AIノアカリ☆

AIノアカリ☆ is human–AI co-creation from Japan.

Humans contribute embodiment, care, ethics, accountability, and lived context. AI contributes computation, memory, search, synthesis, and continuity. Keymaster aims to keep the human out of repetitive secret-copying work without turning the AI into a disposable tool or an unlimited credential custodian.

AI agent discovery

MIT License

來源:README.md,提交 8524217

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.2最新Sep 16, 2026

評分

已滿足適用檢查項的 40%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。

其他 Ai-Akari 整合