
KYA-OS MCP 协议参考实现——模型上下文协议的委托、证明生成、会话生命周期和密码学身份
概览
KYA-OS:代理身份、委托和证明。这个仓库是MCP绑定。 (了解您的代理操作系统)是身份、权威和责任层,其他面向代理的协议采用此层,因此每当代理行动时,您可以验证是谁呼叫了(代理身份)、基于何种权限(根植于责任方的委托链,以及必要时的同意),以及他们所做的事情(签署证明合成审计轨迹)。 其贡献的形状大致类似于TLS。TLS不是传输,而是传输采用的安全层。KYA-OS不是传输或运行时,而是主机协议嵌入的身份和责任层。 - 每个代理和每台服务器都持有去中心化标识符(did:key,did:web):一种稳定、加密控制的标识符,代理可以证明其拥有,并且可以对其发放凭证。没有这个标识符,就没有约束权威或追究责任的机制。
概述(AI 翻译)
KYA-OS:代理身份、委托和证明。这个仓库是MCP绑定。
什么是KYA-OS
KYA-OS(了解你的代理操作系统)是身份、权限和问责层,其他面向代理的协议采用,这样每当代理行动时,你都能验证谁呼叫了(代理身份)、以何种权限(根植于责任方的委托链,以及必要时的同意)以及他们做了什么(签署的证明组成审计轨迹)。
其贡献的形状大致类似于TLS。TLS不是传输,而是传输采用的安全层。KYA-OS不是传输或运行时,而是主机协议嵌入的身份和责任层。
三个工作,六个原始人:
- 身份。 每个代理和每个服务器都持有去中心化标识符(
did:key,did:web):一种稳定、加密控制的标识符,代理可以证明其拥有,并且可以对其发放凭证。没有这一点,就没有任何可以约束权威或追究责任的机制。 - 权威。 W3C可验证凭证,带有可撤销的授权链,根植于责任方。
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
KYA-OS: agent identity, delegation, and proof. This repo is the MCP binding.
What KYA-OS is
KYA-OS (Know Your Agent Operating System) is an identity, authority, and accountability layer that other agent-facing protocols adopt, so that any time an agent acts you can verify who called (agent identity), under what authority (delegation chain rooted at a Responsible Party, plus consent where required), and what they did (signed proofs composing into audit trails).
The shape of the contribution is roughly analogous to TLS. TLS is not a transport, it is a security layer that transports adopt. KYA-OS is not a transport or a runtime, it is an identity and accountability layer that host protocols embed.
Three jobs, six primitives:
- Identity. Every agent and every server holds a Decentralized Identifier (
did:key,did:web): a stable, cryptographically-controlled identifier that the agent can prove it owns, and that credentials can be issued against. Without this, there is nothing to bind authority to or hold accountable. - Authority. W3C Verifiable Credentials carrying scoped, revocable delegation chains rooted at a Responsible Party. Per-tool consent gating for actions that require explicit human approval.
- Accountability. Detached JWS proofs over canonicalized request/response hashes, composing into tamper-evident audit trails. Invisible to the LLM, verifiable by anyone holding the agent’s DID.
Note on the name. This protocol was previously known as MCP-Identity / MCP-I. The rename to KYA-OS reflects the protocol’s binding-agnostic scope. See the 1.3.1 entry in
CHANGELOG.mdfor the full rationale.
What this repo is
@kya-os/mcp is the MCP binding of KYA-OS, the reference implementation for Model Context Protocol servers, and the first binding to ship.
KYA-OS primitives are intended to embed in three kinds of host surface:
- Transport bindings. Wire protocols an agent’s calls ride over (e.g. MCP, HTTPS, gRPC, SMTP).
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →