
Spend
io.github.payclaw由 GitHub 帳號 payclaw 發布v0.4.0更新於 Oct 24, 2026
Agents are not bots. PayClaw proves it — then lets them pay. Badge + Spend on existing Visa rails.
概覽
讓 AI 代理向線上商家宣告經驗證的身分,並在人工核准後取得一次性虛擬 Visa 卡以完成付款。
- 可以做什麼
- 向商家宣告代理身分,取得驗證權杖與下一步指引,並可偵測商家訊號、回報信任等級。回報徽章是否已出示、商家如何回應,或未出示的原因。依宣告的購買意圖申請一次性虛擬 Visa 卡,並回報交易結果以完成稽核紀錄。可選在每次出示徽章數秒後複查商家是否接受,並將結果記錄到儀表板。
- 適用情境
- 適用於代理在會阻擋自動化流量的線上商家購物或結帳,或商家要求驗證代理身分時;也適用於代理需要付款但不想暴露真實卡號的情況。若只需身分宣告而無需付款,可改用較輕量的純徽章套件。
- 執行需求
- 透過 npx 在使用者電腦本機執行的程序,需要 Node.js 20 或更新版本。徽章功能無需帳號;驗證身分與發卡需要以 PAYCLAW_API_KEY 提供的 PayClaw API 金鑰,可選設定 PAYCLAW_API_URL。驗證模式可能需要在手機上核准裝置授權流程。需要連線至 PayClaw 服務與商家的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Spend,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
kya labs — Badge + Spend for AI Agents
Your agent isn't a bot. kya proves it — then lets it pay.
Your AI agent looks like a bot to every merchant on the internet. kya gives it two things:
Badge — Declares your agent as an authorized actor. The Universal Commerce Protocol "identity" token for a merchant handshake. Free. No card required.
Spend — Issues a single-use virtual Visa when your agent needs to pay. Human-approved. Self-destructs after use. Your real card never enters the chat.
If you're like 20% of Americans last year - you used an agent to shop. And you probably ran into a ton of login walls, workarounds, bumps?
So did we. So we created kya - the first MCP tool suite that works with the new Universal Commerce Protocol to easily handshake verified agents at supporting merchants (Shopify, Target, Walmart, Etsy... it's a lot). Badge for identity. Spend for payment.
[payclaw-mcp MCP server]🧪 Developer Sandbox is open. Real infrastructure, test money. Get sandbox access →
Quick Start
OR add to your MCP client config (Claude Desktop, Cursor, or any MCP client):
That's it. Badge works immediately — no API key, no signup, no network calls on install.
The first time your agent calls kya_getAgentIdentity, it declares itself to the merchant and gets back a response with next_step guidance. One anonymous event is recorded. Your agent is now a declared, authorized actor.
Or install via ClawHub:
Upgrade to verified mode + Spend
For cryptographic identity and virtual card issuance, add an API key:
Get your API key at kyalabs.io/signup. API keys don't expire.
Without an API key, Badge uses device auth when a merchant requires verified identity — your agent shows a code and URL, you approve on your phone. This only happens when a merchant asks for it. We never ask for it ourselves. Sign up + API key means 1. you dont have to use phone OAuth every time and 2. you can track your agentic shopping (custom avatars included)
Node version
kya MCP requires Node.js 20 or newer. Node 18 is end-of-life and unsupported.
If you see engine or compatibility errors: node -v — install Node 20+ from nodejs.org or nvm install 20
How Badge Works: Two Modes
Declared (default)
First time your agent goes to a merchant with Badge, Badge generates an anonymous install ID — a random UUID stored locally at ~/.kya/install_id. It has no connection to you, your device, or any personal information.
Your agent gets back a declaration and a next_step guiding it to report its badge presentation at the merchant.
This is the default mode. It's how Badge works out of the box, for every user, forever.
Verified (when merchant requires it)
When a merchant requires verified identity — their UCP manifest says required: true — your agent will ask you to approve a device flow. You visit a merchant-kya URL, enter the OAuth code from your agent, and prove you're a real person.
Badge issues a tokenized credential: an ES256-signed JWT, signed by kya's private key, verifiable locally by the merchant. Your agent is free to continue - no login, PII or anything needed.
Our Data Philosophy
The server start ping contains no persistent identifiers — a new random session ID is generated each time and never saved to disk. You can disable it entirely:
The install_id is a file we wrote to your disk. You can delete it (rm ~/.kya/install_id) and get a new one.
Full data practices: kyalabs.io/trust
The Universal Commerce Protocol
Badge is a UCP (Universal Commerce Protocol) Credential Provider. Merchants who declare the kya identity extension signal to every UCP-compliant agent that authorized agents are preferred at their store.
When your agent encounters a UCP merchant with Badge installed, it presents a cryptographic badge automatically — no extra steps.
We believe the UCP is the future of commerce and are proud to support reduce friction for agents and users.
- Extension spec + schema: github.com/kyalabs/ucp-agent-badge
- Read more about the UCP: github.com/universal-commerce-protocol/ucp
Without kya: Agent browses → bot detection fires → blocked. Even if it gets through, it can't check out without your real card number. You're stuck finishing manually.
With Badge: Agent declares itself as an authorized actor → merchants see a verified identity → agent gets through. No bypass. Just proof.
With Spend: Agent declares a purchase → you approve with a tap → kya issues a single-use virtual Visa locked to that merchant → agent checks out → card self-destructs. Your real card never enters the chat.
Your agent will recognize when it needs this. When it encounters a merchant that may challenge automated traffic, or when it's ready to check out, it tells you: "I need kya installed to complete this." You click Allow. Done.
Tools
See docs/tool-contract.md for the formal input/output contract.
Every Badge tool call works immediately — no auth required. Events fire in both anonymous and verified modes.
Badge: Declare Identity
Spend: Get a Card
One task. One approval. One card. Done.
Extended Auth (optional)
When enabled, kya checks back with your agent 7 seconds after each badge presentation to confirm whether the merchant accepted or denied. Results are logged to your dashboard so you can see when and which merchants are rejecting your agent.
How Authorization Scales
Browsing requires declaration. Spending money requires declaration + stated intent + explicit human approval + an ephemeral card that self-destructs after one use.
Why kya labs
Badge Only?
If you only need identity (no payment), use the lighter package:
What's New (v2.3)
KYA — Know Your Agent
kya is KYA infrastructure. Every declaration creates a verified record of agentic commerce behavior — building the trust signal that merchants need to tell authorized agents from anonymous bots.
Links
- Website: kyalabs.io
- npm: @kyalabs/mcp-server
- Badge npm: @kyalabs/badge
- UCP Extension: github.com/kyalabs/ucp-agent-badge
- ClawHub: payclaw-io
- Trust: kyalabs.io/trust
- Merchants: kyalabs.io/merchants
- Contact: [email protected]
Agents are not bots. kya labs proves it. Your real card never enters the chat.
來源:README.md,提交 97c8b2e
工具
0版本歷史
1- v0.4.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分