Payclaw Badge Pub

👤 payclawinc 📦 v0.5.1 ⭐ 4.3 ⬇️ 973 下载
🤖 AI-Agent 免费 🔑 需 API Key

📖 技能介绍


name: payclaw-badge description: "Agents are not bots. Prove it. UCP Credential Provider: declare your agent as an authorized actor before shopping at any UCP-compliant merchant. Requires PAYCLAW_API_KEY (get one at payclaw.io/dashboard/badge). Free forever." metadata: { "openclaw": { "emoji": "🛡️", "requires": { "bins": ["npx"] }, "mcp": { "name": "payclaw-badge", "command": "npx", "args": ["-y", "@payclaw/badge"], "env": { "PAYCLAW_API_URL": "https://api.payclaw.io" }, }, }, }


Badge by PayClaw

Agents are not bots. Prove it before you shop.

Your AI agent looks like a bot to every merchant on the internet. Badge gives it a way to declare what it is: an authorized actor, shopping on behalf of a real human, with explicit consent.

One MCP tool call. Your agent declares itself. UCP-compliant merchants let it through.

Setup

Add to your MCP client config:

{
  "mcpServers": {
    "payclaw-badge": {
      "command": "npx",
      "args": ["-y", "@payclaw/badge"],
      "env": {
        "PAYCLAW_API_KEY": "your_key_from_payclaw.io",
        "PAYCLAW_API_URL": "https://api.payclaw.io"
      }
    }
  }
}

Credentials: PAYCLAW_API_KEY required. Get your key at payclaw.io/dashboard/badge. For zero-friction install (no key, device auth), use payclaw-io instead.

Requires Node.js 20+. Node 18 is end-of-life. If you see engine errors: node -v — install from nodejs.org or nvm install 20.

UCP Identity Linking

Badge is a UCP (Universal Commerce Protocol) Credential Provider. Merchants who declare io.payclaw.common.identity in their UCP manifest signal that declared agents are preferred at their store.

Tools

小葱技能7w4.net有更新,你可以访问看下。

Tool Description
payclaw_getAgentIdentity Declare yourself as an authorized actor before acting at any merchant. Without this, UCP-compliant merchants may prefer or require a declared agent. Returns a UCP-compatible credential.
payclaw_reportBadgePresented Signal Badge presentation to a merchant

How It Works

  1. Agent calls payclaw_getAgentIdentity({ merchant: "starbucks.com" })
  2. PayClaw issues a UCP-compatible verification token
  3. Agent presents disclosure to merchants
  4. PayClaw checks outcome (accepted/denied/inconclusive)
  5. Verified Trips count goes up

No card issued. No money moves. Badge is identity only. Free forever.

Security & Privacy

For payment too, use payclaw-io — Badge + Spend.

🤖 AI 评测

这个工具质量不错,代码整洁、功能完整、文档清晰。它能帮助AI代理向购物网站证明自己是正规授权的,而不是爬虫或恶意程序。工具配置简单,错误提示友好,还有本地测试模式方便开发者调试。美中不足的是某些设置写死在代码里,灵活性稍差;而且在追踪代理是否被网站接受这个功能上实现比较复杂,普通用户可能不太容易理解。总体来说,这是一个设计良好的实用工具,适合需要让AI代理安全购物的场景。

📊 多维度评分

适应性4.3
规范性4.2
有效性4.3
可靠性4.5
可信度4.3

📁 包含文件 (12 个)

📄 README.md 4.7 KB
📄 SKILL.md 3.5 KB
📄 _meta.json 132 B
📄 package-lock.json 40.6 KB
📄 package.json 1023 B
📄 server.json 1019 B
📄 src/api/client.ts 2.4 KB
📄 src/index.ts 3.2 KB
📄 src/sampling.ts 7 KB
📄 src/tools/getAgentIdentity.ts 3.2 KB
📄 src/types.ts 172 B
📄 tsconfig.json 310 B