
Badge
io.github.payclaw由 GitHub 帳號 payclaw 發布v0.4.0更新於 Oct 24, 2026
Agents are not bots. Prove it. MCP-native identity declaration for authorized agents.
概覽
一個本機 MCP 伺服器,為 AI 代理提供持久身分憑證,用來向商家網站宣告造訪並回報結果。
- 可以做什麼
- 向商家網站宣告代理造訪,附上執行 ID 與網址,並回傳造訪結果。首次執行時簽發並快取訪客通行證,讓身分在行程重啟後仍保留。將回報的結果納入跨商家通用的信任評分。封裝 Badge SDK,讓 MCP 用戶端取得相同的身分模型、權杖與評分。
- 適用情境
- 當代理造訪會核驗代理身分的商家網站,且你希望以持久、可攜的身分記錄造訪與結果,而非匿名機器人工作階段時使用。
- 執行需求
- 透過 npx 以本機行程執行,需要 Node.js。必須在 PAYCLAW_API_KEY 環境變數中提供 PayClaw API 金鑰,可用 PAYCLAW_API_URL 覆寫介面位址(預設
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Badge,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Badge by kya labs
Persistent identity for AI agents across merchant sites. Badge gives agents a credential they carry on every request — merchants verify it, trust accumulates across visits, and agents that build history earn better treatment over time.
Framework-agnostic. Transport-agnostic. Zero runtime dependencies.
Badge SDK
The SDK is the primary integration surface. Three methods cover the full lifecycle:
No signup. No API key. Badge.init() issues a guest pass on first run and caches it to disk. Identity survives process restarts.
What the SDK covers
- Identity model — three-tier ladder: guest pass (
gp_v1_*) → badge token (kya_*) → authenticated identity - Lifecycle tracking — declare visits, report outcomes, correlate with run IDs
- Offline resilience — never throws on network failure, deterministic fallback on every call
- UCP integration —
io.kyalabs.common.identityCredential Provider, published schemas, ES256-signed JWTs - Scoring — outcomes feed kyaScore (500–850), portable across merchants
Badge MCP Server
For MCP client users (Claude Desktop, Cursor, Windsurf), Badge also ships as an MCP tool server. The MCP server wraps the SDK — same identity model, same tokens, same scoring.
The SDK is the canonical integration path for platform builders and agent frameworks. The MCP server is a convenience wrapper for end users working within MCP clients.
Links
- Website: kyalabs.io
- Data practices: kyalabs.io/trust
- UCP extension spec: github.com/kyalabs/ucp-agent-badge
- Contact: [email protected]
License
MIT
來源:README.md,提交 829bf50
工具
0版本歷史
1- v0.4.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分