Payclaw MCP logo

Payclaw MCP

Issues agent-authorized identity badges and human-approved, single-use virtual Visa cards for online purchases.

Install Payclaw MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "payclaw-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@kyalabs/mcp-server"
      ],
      "env": {
        "KYA_API_KEY": "YOUR_VALUE_HERE",
        "KYA_API_URL": "YOUR_VALUE_HERE",
        "KYA_PING": "YOUR_VALUE_HERE",
        "KYA_EXTENDED_AUTH": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env KYA_API_KEY=YOUR_VALUE_HERE --env KYA_API_URL=YOUR_VALUE_HERE --env KYA_PING=YOUR_VALUE_HERE --env KYA_EXTENDED_AUTH=YOUR_VALUE_HERE --transport stdio payclaw-mcp-server -- npx -y @kyalabs/mcp-server

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @kyalabs/mcp-server

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

payclaw/mcp-server MCP server gives agents identity and payment tools for shopping with participating merchants. It can declare an agent through the Universal Commerce Protocol, attach identity headers to web requests, and issue a single-use virtual Visa after human MFA approval. Use it when an agent needs to browse merchant sites, pass supported identity checks, or complete a purchase without exposing the user's real card. Badge functions work without an API key, while verified identity and Spend require additional configuration.

Use cases

  • Declare an agent identity to participating merchants
  • Fetch merchant pages with an attached Kya identity token
  • Request a human-approved virtual Visa for a purchase
  • Record badge presentation and purchase outcomes
  • Attach Kya headers to Playwright or browser-extension requests

Key features

  • Universal Commerce Protocol identity declaration
  • Single-use virtual Visa issuance
  • MFA-gated purchase authorization
  • Identity-aware HTTPS page fetching
  • Custom HTTP identity headers
  • Purchase and badge audit reporting

Tools8

What Payclaw MCP lets your agent do. Expand a tool for its parameters.

Verified live~2.1k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

27/28 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · @kyalabs/mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads133Package downloads in the last 30 days.
Last commit5mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed8Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How Payclaw MCP works

What payclaw/mcp-server does

payclaw/mcp-server MCP server provides two related capabilities for agent-assisted commerce: Badge identity and Spend payments. Badge declares the agent as an authorized actor and can provide a merchant-facing token or checkout data. Spend creates a virtual Visa card for a specific purchase after the user approves the transaction with MFA.

The identity flow is intended for merchants that support the Universal Commerce Protocol and its identity extension. The repository names Shopify, Target, Walmart, and Etsy as examples of supporting merchants, but support depends on the merchant's implementation. The virtual card is single-use, restricted to the declared merchant and purchase, and self-destructs after use.

How it works

An agent should call kya_getAgentIdentity before browsing, searching, or buying. The response can include identity information, next-step instructions, and a checkout patch when the merchant supports UCP. After applying the patch, the agent reports the presentation with kya_reportBadgePresented. Badge outcomes can be reported explicitly, although the repository marks the outcome and non-presentation tools as deprecated because newer verification tracking handles these events automatically.

For payment, the agent calls kya_getCard with the merchant, amount, and purchase description. The user authorizes the request through MFA, then the server returns a single-use virtual Visa. After the checkout attempt, kya_reportPurchase records the result and closes the transaction audit trail. The user's real card details are not sent through the agent conversation.

kya_web_fetch retrieves HTTPS pages with the Kya identity header automatically added. It returns the status, headers, and body, with a 5 MB response limit and a 30-second timeout. Redirects are not followed. kya_getHeaders instead returns headers for requests controlled by the developer, such as Playwright or a browser extension.

Setup and configuration

Run the package with Node.js 20 or newer:

Terminal
npx @kyalabs/mcp-server

It can be added to an MCP client as a stdio process with npx and the package name as its argument. The README specifically shows Claude Desktop and Cursor configurations, and says the same approach works with any MCP client.

Badge starts in declared mode without an API key. It stores an anonymous installation UUID locally at ~/.kya/install_id. To use verified identity and virtual card issuance, configure KYA_API_KEY and, where needed, KYA_API_URL. The documented API URL is https://www.kyalabs.io. An API key can be obtained through the kyaLabs signup flow.

KYA_EXTENDED_AUTH=true enables a follow-up check roughly seven seconds after badge presentation. Set KYA_PING=false to disable the anonymous server-start ping. The repository states that API keys do not expire.

Tools and capabilities

The payclaw/mcp-server MCP server exposes these tools:

  • kya_getAgentIdentity: establish agent identity and receive merchant guidance.
  • kya_reportBadgePresented: record that the badge was presented.
  • kya_reportBadgeOutcome: legacy manual outcome reporting.
  • kya_reportBadgeNotPresented: legacy reporting for an unpresented badge.
  • kya_getCard: request a user-approved, single-use virtual Visa.
  • kya_reportPurchase: record the result of a card transaction.
  • kya_web_fetch: fetch an HTTPS page with the identity token attached.
  • kya_getHeaders: provide identity headers for developer-controlled HTTP requests.

Badge events can run anonymously or in verified mode.

Limitations and notes

Node.js 18 is unsupported. Identity declaration is not the same as payment authorization: kya_getAgentIdentity must precede kya_getCard, and every purchase attempt should be followed by kya_reportPurchase. The web fetch tool accepts HTTPS only, does not follow redirects, and limits responses to 5 MB and 30 seconds. Merchants must support the relevant identity flow for Badge benefits to apply. The repository also documents telemetry and shopping-event collection; developers should review the provider's trust documentation before deploying it with sensitive workflows.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Payclaw MCP

payclaw/mcp-server is an MCP server that connects AI agents to participating merchants and kyaLabs commerce services. Its main tools declare agent identity, fetch pages with Kya headers, provide request headers, issue human-approved single-use virtual Visa cards, and record badge and purchase outcomes.

Run `npx @kyalabs/mcp-server` with Node.js 20 or newer, or add that command and package to your MCP client's server configuration. The README provides examples for Claude Desktop and Cursor and says the setup also works with other MCP clients.

No, an API key is not required for the default Badge mode. Configure `KYA_API_KEY` and `KYA_API_URL` for verified identity and virtual card issuance; the documented API URL is `https://www.kyalabs.io`.

Call `kya_getAgentIdentity` first, then call `kya_getCard` with the merchant, amount, and purchase description. The user approves through MFA, after which the server issues a card locked to that purchase. Call `kya_reportPurchase` after the transaction attempt.

Yes. Call `kya_getAgentIdentity`, then use `kya_getHeaders` to obtain a Kya-Token header for Playwright, browser extensions, or another HTTP client. For page retrieval handled by the server, `kya_web_fetch` injects the identity header automatically.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewPayclaw MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/payclaw-mcp-server?style=directory)](https://allmcps.com/mcp/payclaw-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/payclaw-mcp-server"><img src="https://allmcps.com/api/badge/payclaw-mcp-server?style=directory" alt="Payclaw MCP on AllMCPs" /></a>