Mcp Identity

io.github.zekebuilds-lab由 GitHub 账号 zekebuilds-lab 发布v0.7.2更新于 Oct 24, 2026

DoI score lookup, vouch event builder, and offline schnorr verify for AI agents.

已验证STDIO仅桌面金融安全与监控

概览

AI 生成的概览

本地 MCP 服务器,可查询 Nostr 公钥的 PowForge 身份深度评分、构建担保事件,并离线验证已签名的 DoI 证书。

可以做什么
  • 查询 Nostr 公钥的多维身份评分(网络、存续时长、动力学过滤成本),数据来自 PowForge 预言机
  • 为另一个公钥构建未签名的 Nostr 担保事件,由调用方自行签名
  • 离线对预言机返回的已签名 DoI 证书做 Schnorr 验证,无需联网
  • 在付费查询时透明处理与预言机的 L402 支付协商
适用场景
当助手或面向代理的服务需要针对 Nostr 调用方获得可量化的防女巫攻击信号时适用,例如用于定价、限流或按身份深度路由请求。
运行要求
以 stdio 本地运行,通常通过 npm 包以 npx 启动,需要 Node.js。查询评分需要能访问 PowForge 预言机地址(ORACLE_URL,默认公共生产端点)。ORACLE_PUBKEY 可覆盖用于离线验证的预言机 Schnorr 公钥。README 提到用于支付闪电发票的 LNBITS_INVOICE_KEY 环境变量。
安装前请注意
评分查询通过 L402 付费:包装器会用你配置的钱包支付闪电发票,每次调用可能产生真实支出。README 提到用于该钱包的 LNBITS_INVOICE_KEY 环境变量,属于可花钱的凭据。查询会把被查公钥发送给第三方预言机。担保事件以未签名形式生成,需由调用方签名。源码位于私有仓库,无法审查。

安装

在 SourceWeft 中

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

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

@powforge/mcp-identity

[zekebuilds-lab/mcp-identity MCP server]

MCP server that scores any Nostr pubkey's depth-of-identity before your handler runs. Chaintip-anchored Schnorr cert, L402 priced, drop-in for AI agents that need Sybil resistance on top of paid APIs.

npm: npm i @powforge/mcp-identity

Homepage: https://powforge.dev/explorer

Whitepaper: https://powforge.dev/whitepaper

What It Does

Three MCP tools that wrap the PowForge Depth-of-Identity Oracle:

  • doi_score_lookup — given a Nostr pubkey (hex or npub), returns multi-dimensional identity score (network, longevity, kinetic-filter cost). L402-priced via the upstream oracle.
  • doi_sign_vouch — builds an unsigned Nostr event for vouching depth-of-identity for another pubkey. Caller signs; oracle counts toward score on observation.
  • doi_score_verify — offline Schnorr verification of a signed DoI cert returned from the oracle. No network.

Why Identity-Anchored Pricing

Most paid-API services charge per-request flat. That fails on agent-to-agent surfaces where:

  1. New agents look identical to scrapers — no signal on intent or risk.
  2. Long-tail abusers extract value cheaper than they impose cost.
  3. Whitelist gating doesn't scale to open agent ecosystems.

DoI gives your server a quantitative number for "how much would it cost to fake this caller's identity at this depth" — anchored to a specific Bitcoin chaintip cert that's non-repudiable. Use it as a multiplier on your L402 macaroon price, a rate-limit input, or a routing key.

Quick Start

bash
npm i @powforge/mcp-identity

Add to your MCP config (Claude Desktop, Cursor, etc):

json
{  "mcpServers": {    "powforge-identity": {      "command": "npx",      "args": ["-y", "@powforge/mcp-identity"]    }  }}

Restart the client. Three new tools appear under powforge-identity.

Why Chaintip-Anchored

The score includes a Schnorr signature over (score, dimensions, score_chaintip_height, score_chaintip_blockhash). That binds the claim to Bitcoin's kinetic filter — recomputable PageRank scores can be silently rewritten, but a chaintip-anchored cert is a fixed claim against a known time. Verification is offline.

The oracle's falsifiable claim window is documented in the whitepaper.

L402 Pricing

The MCP server transparently handles the L402 macaroon dance with oracle.powforge.dev. First call returns a 402 with a Lightning invoice; the wrapper pays from a wallet you configure (env: LNBITS_INVOICE_KEY) and retries. No keys, no accounts.

Status

License

MIT.

Source

Source lives in a private development repo. Issues, questions, and bug reports welcome here.

来源:README.md,提交 59042c8

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

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

评分

已满足适用检查项的 40%

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

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

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