payclaw-mcp

payclaw-mcp

Tokenized user identity and virtual Visa cards for AI agents. Delegated user commerce- on existing Visa rails.

Category
Visit Server

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 โ†’

npm version License: MIT

<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.

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.


Links


Agents are not bots. PayClaw proves it. Your real card never enters the chat.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured