MANDATE Credential Broker

io.github.projetnanocorp由 GitHub 账号 projetnanocorp 发布v0.1.0更新于 Oct 24, 2026

MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.

已验证Streamable HTTP可网页运行开发者工具安全与监控

概览

AI 生成的概览

远程凭证代理服务器,让助手创建、委派和撤销授权,获取策略对操作的裁决,并兑换短期凭证授权而不暴露明文密钥。

可以做什么
创建、委派和撤销授权(mandate),委派仅限不扩权的父授权子集,撤销记录写入哈希链账本。将操作提交至策略引擎,获得 ALLOW、DENY 或 REQUIRE_APPROVAL 裁决及账本证明。仅以不透明保险库句柄注册凭证,申请经策略检查的访问,并为绑定的代理与范围兑换密封授权。校验证明载荷并查询授权状态(有效、已撤销或过期),每次均记入账本。获取服务器自身的工具清单。
适用场景
当助手需要在明确、可审计的人类授予权限下行动时使用:限定代理可执行的范围、向子代理委派更窄的权限、让敏感操作先经策略审批,以及在不暴露凭证的情况下使用凭证。
运行要求
远程 streamable HTTP 端点;未声明本地包、环境变量或请求头。清单声明无需身份验证,但工具描述涉及人类授予的授权和保险库中的凭证。
安装前请注意
它代理真实凭证的访问并管控操作,配置不当的授权或凭证授权可能导致非预期操作。创建、委派、撤销授权及授权操作都会写入哈希链账本。凭证注册只接受不透明保险库句柄,拒绝明文密钥。操作通过该服务的网关执行,因此服务方能看到其授权的操作。

安装

在 SourceWeft 中

  1. 打开 控制台中的 MANDATE Credential Broker,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.projetnanocorp%2Fmandate/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "mandate-credential-broker": {
      "type": "http",
      "url": "https://mandate.nanocorp.app/mcp"
    }
  }
}

README

该仓库没有 README。

工具

11

mandate.discover

Discover MANDATE agent tools

Returns this self-describing tool manifest.

无需输入参数。

mandate.mint

Mint root mandate

Creates an active human-granted mandate for an agent and records it to the hash-chained ledger.

无需输入参数。

mandate.delegate

Delegate mandate

Creates a child mandate only when it is a no-escalation subset of the parent mandate.

无需输入参数。

mandate.authorize-action

Authorize gateway action

Submits an action through the Gateway and canonical Policy Engine; returns ALLOW, DENY, or REQUIRE_APPROVAL with ledger proof.

无需输入参数。

mandate.verify-proof

Record or verify proof

Records a proof payload hash and appends proof evidence to the hash-chained ledger.

无需输入参数。

mandate.revoke

Revoke mandate

Revokes a mandate subtree and records the revocation to the hash-chained ledger.

无需输入参数。

broker.register-credential

Register credential handle

Registers an opaque vault handle/reference only; plaintext secret fields are rejected and never ledgered.

输入参数metadatavault_handle必填

broker.request-access

Request short-lived credential grant

Asks the canonical Policy Engine for an ALLOW decision before issuing a short-lived HMAC-sealed grant bound to credential, mandate, agent, scope, and expiry.

无需输入参数。

broker.use

Use credential grant

Redeems a sealed grant for the bound acting agent and executes the bound action through the Gateway and Policy Engine; does not expose plaintext secrets.

无需输入参数。

broker.revoke-grant

Revoke credential grant

Revokes a broker grant by id and records the revocation to the ledger.

无需输入参数。

broker.introspect-grant

Introspect credential grant

Validates a grant token seal, reports active/revoked/expired state, and records introspection to the ledger.

无需输入参数。

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 75%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。