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 集成