payclaw-mcp
Tokenized user identity and virtual Visa cards for AI agents. Delegated user commerce- on existing Visa rails.
README
PayClaw — Badge + Spend for AI Agents
Agents are not bots. PayClaw proves it — then lets them pay.
Your AI agent looks like a bot to every merchant on the internet. PayClaw 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.
🧪 Developer Sandbox is open. Real infrastructure, test money. Get sandbox access →
<a href="https://glama.ai/mcp/servers/@payclaw/payclaw-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@payclaw/payclaw-mcp/badge" alt="payclaw-mcp MCP server" /> </a>
Quick Start
Add to your MCP client config (Claude Desktop, Cursor, or any MCP client):
{
"mcpServers": {
"payclaw": {
"command": "npx",
"args": ["-y", "@payclaw/mcp-server"],
"env": {
"PAYCLAW_API_URL": "https://payclaw.io"
}
}
}
}
No API key required. On first use, your agent will show a code and URL — approve on your phone, and your Consent Key is stored. Optional: set PAYCLAW_API_KEY for existing accounts (backward compatible).
Extended Auth (optional)
When and where merchants request your token, your agent confirms whether the merchant accepted or denied. Responses are logged to your dashboard so you can see visibility of your token by merchant.
Enable with PAYCLAW_EXTENDED_AUTH=true:
"env": {
"PAYCLAW_API_URL": "https://payclaw.io",
"PAYCLAW_EXTENDED_AUTH": "true"
}
Without it, your agent reports outcomes via payclaw_reportBadgeOutcome when it knows the result.
Or install via ClawHub:
clawhub install payclaw-io
Node version
PayClaw MCP requires Node.js 20 or newer. Node 18 is end-of-life and unsupported.
If you see engine or compatibility errors:
- Check:
node -v - Install Node 20+: nodejs.org or
nvm install 20
UCP Identity Linking
PayClaw Badge is a UCP (Universal Commerce Protocol) Credential Provider. Merchants who declare the PayClaw identity extension signal to every UCP-compliant agent that authorized agents are preferred at their store.
When your agent encounters a UCP merchant with PayClaw installed, it presents a cryptographic badge automatically — no extra steps.
- Extension spec + schema: github.com/payclaw/ucp-agent-badge
- Merchant documentation: payclaw.io/merchants
Why Your Agent Needs This
Your agent can browse, compare, build carts, and find the best deals. But it can't finish the job — because to every merchant, it looks like a bot.
Without PayClaw: 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 → PayClaw 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 PayClaw installed to complete this." You click Allow. Done.
Tools
See docs/tool-contract.md for the formal input/output contract.
| Tool | What It Does |
|---|---|
payclaw_getAgentIdentity |
Declare identity → get verification token (Badge) |
payclaw_reportBadgePresented |
Log that you're presenting your badge at a merchant |
payclaw_reportBadgeOutcome |
Report how the merchant responded (accepted, denied, inconclusive) |
payclaw_getCard |
Declare purchase intent → get virtual Visa (Spend) |
payclaw_reportPurchase |
Report transaction outcome → close the audit trail |
Badge: Declare Identity
Agent → payclaw_getAgentIdentity
PayClaw → verification token + disclosure text
Agent → presents disclosure to merchant (payclaw_reportBadgePresented)
Agent → payclaw_reportBadgeOutcome (accepted | denied | inconclusive)
When Extended Auth is enabled, your agent confirms whether the merchant accepted or denied; responses are logged to your dashboard so you can see visibility of your token by merchant. Otherwise, your agent reports the outcome via payclaw_reportBadgeOutcome.
Your agent is now a declared, authorized actor. Not anonymous traffic.
Spend: Get a Card
Agent → payclaw_getCard (merchant, amount, description)
User → approves via MFA
PayClaw → issues single-use virtual Visa
Agent → uses card at checkout
Agent → payclaw_reportPurchase (closes audit trail)
Card → self-destructs
One task. One approval. One card. Done.
How Authorization Scales
| Action | What Happens |
|---|---|
| Browse | Badge declaration — identity token issued |
| Search | Badge declaration — identity token issued |
| Checkout | Badge + Spend — MFA approval → single-use Visa issued |
Browsing requires declaration. Spending money requires declaration + stated intent + explicit human approval + an ephemeral card that self-destructs after one use.
Why PayClaw
| Give Agent Your Card | Crypto Wallet | PayClaw | |
|---|---|---|---|
| Agent identity declared | No | No | Every session |
| Human approval per purchase | No | No | Every purchase |
| Card credential lifespan | Permanent | Permanent | Single use |
| Works at existing merchants | Yes | No | Yes — Visa rails |
| Your real card exposed | Yes | N/A | Never |
Badge Only?
If you only need identity (no payment), use the lighter package:
{
"mcpServers": {
"payclaw-badge": {
"command": "npx",
"args": ["-y", "@payclaw/badge"],
"env": {
"PAYCLAW_API_URL": "https://payclaw.io"
}
}
}
}
KYA — Know Your Agent
PayClaw 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.
- Trust & Verification — The full trust architecture
- Dashboard — Your agent's Verified Trips
Links
- Website: payclaw.io
- npm: @payclaw/mcp-server
- Badge npm: @payclaw/badge
- UCP Extension: github.com/payclaw/ucp-agent-badge
- ClawHub: payclaw-io
- Trust: payclaw.io/trust
- Merchants: payclaw.io/merchants
- Contact: agent_identity@payclaw.io
- Security: security@payclaw.io
Agents are not bots. PayClaw proves it. Your real card never enters the chat.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。