Skip to main content
Glama

@powforge/mcp-identity

ハンドラーが実行される前に、Nostr公開鍵のアイデンティティの深さ(Depth-of-Identity)をスコアリングするMCPサーバー。チェーンチップに固定されたSchnorr証明書、L402価格設定、有料APIに加えてシビル耐性を必要とするAIエージェント向けのドロップインソリューションです。

npm: npm i @powforge/mcp-identity

ホームページ: https://powforge.dev/explorer

ホワイトペーパー: https://powforge.dev/whitepaper

機能

PowForge Depth-of-Identityオラクルをラップする3つのMCPツール:

  • doi_score_lookup — Nostr公開鍵(hexまたはnpub)を指定すると、多次元のアイデンティティスコア(ネットワーク、存続期間、キネティックフィルターコスト)を返します。アップストリームのオラクル経由でL402価格が設定されます。

  • doi_sign_vouch — 別の公開鍵のアイデンティティの深さを保証するための未署名のNostrイベントを構築します。呼び出し元が署名し、オラクルが観測時にスコアに加算します。

  • doi_score_verify — オラクルから返された署名付きDoI証明書のオフラインSchnorr検証。ネットワーク不要。

Related MCP server: AgentStamp

アイデンティティ固定価格設定の理由

ほとんどの有料APIサービスはリクエストごとに一律料金を請求します。これは、以下のようなエージェント間インターフェースでは機能しません:

  1. 新規エージェントはスクレイパーと見分けがつかず、意図やリスクに関するシグナルがない。

  2. ロングテールの悪用者が、コストを上回る価値を抽出する。

  3. ホワイトリストによるゲート制御は、オープンなエージェントエコシステムにはスケールしない。

DoIは、「この深さでこの呼び出し元のアイデンティティを偽造するのにどれだけのコストがかかるか」という定量的な数値をサーバーに提供します。これは、否認不可能な特定のビットコインチェーンチップ証明書に固定されています。これをL402マカロン価格の乗数、レート制限の入力、またはルーティングキーとして使用してください。

クイックスタート

npm i @powforge/mcp-identity

MCP設定(Claude Desktop、Cursorなど)に追加します:

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

クライアントを再起動します。powforge-identityの下に3つの新しいツールが表示されます。

チェーンチップ固定の理由

スコアには (score, dimensions, score_chaintip_height, score_chaintip_blockhash) に対するSchnorr署名が含まれています。これにより、主張がビットコインのキネティックフィルターに結び付けられます。再計算可能なPageRankスコアは密かに書き換えられる可能性がありますが、チェーンチップに固定された証明書は既知の時点に対する固定された主張です。検証はオフラインで行われます。

オラクルの反証可能な主張ウィンドウについては、ホワイトペーパーに記載されています。

L402価格設定

MCPサーバーは、oracle.powforge.devとのL402マカロンのやり取りを透過的に処理します。最初の呼び出しでLightningインボイスを含む402が返されます。ラッパーは設定したウォレット(環境変数: LNBITS_INVOICE_KEY)から支払いを行い、再試行します。キーやアカウントは不要です。

ステータス

  • v0.7.0 を 2026-04-28 に npm に公開。

  • 3つのツールを公開。

  • 証明書フォーマットはホワイトペーパーに記載。

  • オラクルの可用性は https://powforge.dev/oracle/freshness で監視。

ライセンス

MIT。

ソース

ソースはプライベート開発リポジトリにあります。問題、質問、バグレポートはこちらへどうぞ。

Available Tools

3 tools
doi_score_lookupA

Fetch a Depth-of-Identity score for a Nostr pubkey from the PowForge oracle. Returns either an L402 challenge (macaroon + bolt11 invoice + price_sats) for the caller to pay, or a Schnorr-signed score envelope when paid auth is supplied. Pricing is 1-2 sats per call.

Inputs: pubkey (required), auth.

doi_score_verifyA

Locally verify a Schnorr-signed DoI score envelope returned by the PowForge oracle. No network call. Default oracle pubkey is hardcoded; override via oracle_pubkey or the ORACLE_PUBKEY env var.

Inputs: envelope (required), oracle_pubkey.

doi_sign_vouchA

Build an UNSIGNED kind:33335 PowForge vouch event template. The MCP server intentionally never holds keys — the caller signs externally and publishes the signed event to relays.

Inputs: target (required), depth (required), vouch_count (required), sats, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.2/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a distinct purpose: fetching a score, verifying a signature, and creating a vouch template. No overlap in functionality.

    Naming Consistency4/5

    Tools follow a snake_case pattern with a 'doi_' prefix, but the structure varies slightly: 'doi_score_lookup' and 'doi_score_verify' share a consistent pattern, while 'doi_sign_vouch' uses a different verb-object order.

    Tool Count5/5

    With three tools, the server provides a focused, minimal set covering the core operations needed for identity scoring on Nostr. The count is well-scoped for its domain.

    Completeness4/5

    The tools cover the essential workflow: fetch, verify, and prepare a vouch. Minor gaps include lack of oracle configuration or retrieval of existing vouches, but the core use case is addressed.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Lightning Network trust oracle for AI agents. Provides real-time node reachability checks, trust scores, and personalized pathfinding for 17,000+ Lightning nodes via 12 MCP tools.
      AGPL 3.0
    • A
      license
      Not graded
      quality
      B
      maintenance
      Trust-aware Nostr MCP server. 236 tools for identity, social, DMs, trust scoring, AI-to-AI dispatch, Lightning payments, privacy proofs, and encrypted vaults. NIP-46 bunker auth; keys never leave the signing device.
      433 npm
      1
      MIT