
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.
概覽
本機 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 環境變數。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Mcp Identity,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
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:
- New agents look identical to scrapers — no signal on intent or risk.
- Long-tail abusers extract value cheaper than they impose cost.
- 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
Add to your MCP config (Claude Desktop, Cursor, etc):
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
- v0.7.0 published to npm 2026-04-28.
- Three tools exposed.
- Cert format documented in the whitepaper.
- Oracle availability monitored at https://powforge.dev/oracle/freshness.
License
MIT.
Source
Source lives in a private development repo. Issues, questions, and bug reports welcome here.
來源:README.md,提交 59042c8
工具
0版本歷史
1- v0.7.2最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。