payclaw/mcp-server

๐Ÿ’ฐ Finance & Fintech
0 Views
0 Installs

๐Ÿ“‡ โ˜๏ธ - Virtual Visa cards for AI agents. Just-in-time card issuance per transaction, human-approved spend authorization, MCP-native. Works anywhere Visa is accepted.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "payclaw-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "payclaw-mcp-server"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

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.

๐Ÿงช Developer Sandbox is open. Real infrastructure, test money. Get sandbox access โ†’

npm version License: MIT

payclaw-mcp MCP server

Quick Start

npx @kyalabs/mcp-server

OR add to your MCP client config (Claude Desktop, Cursor, or any MCP client):

{
  "mcpServers": {
    "kyalabs": {
      "command": "npx",
      "args": ["@kyalabs/mcp-server"]
    }
  }
}

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:

clawhub install payclaw-io

Upgrade to verified mode + Spend

For cryptographic identity and virtual card issuance, add an API key:

"env": {
  "KYA_API_KEY": "pk_live_your_key_here",
  "KYA_API_URL": "https://www.kyalabs.io"
}

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

WhenWhatWhy
On installNothingWe help agents shop. If they're not shopping, we don't need anything
On server startAnonymous ping โ€” Badge version and MCP client name. No identifiers stored on your machineSo we know Badge is actively running. If this number ever diverges from active agents, it tells us something is broken in the pipeline โ€” not something about you
On first shopping tripinstall_id (random UUID, stored locally at ~/.kya/install_id), merchant, agent_type, event_type, timestampMinimum viable signal to reduce agent friction at merchants
On verified identity+ hashed user token, intent scope (checkout, etc.)Only required where login is traditionally required (i.e. checkout) to prove there's a real person authorizing the agent's next step
On Spend (card issuance)+ full transaction trail: intent, amount, merchant, audit logCard network compliance, gated behind consent + MFA

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:

"env": { "KYA_PING": "false" }

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.

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.

ToolWhat It Does
kya_getAgentIdentityDeclare identity โ†’ get verification token + next_step guidance (Badge)
kya_reportBadgePresentedRecord that you presented your badge at a merchant
kya_reportBadgeOutcomeReport how the merchant responded (accepted, denied, inconclusive)
kya_reportBadgeNotPresentedReport that you did not present your badge (abandoned, merchant didn't ask)
kya_getCardDeclare purchase intent โ†’ get virtual Visa (Spend)
kya_reportPurchaseReport transaction outcome โ†’ close the audit trail

Every Badge tool call works immediately โ€” no auth required. Events fire in both anonymous and verified modes.

Badge: Declare Identity

Agent โ†’ kya_getAgentIdentity({ merchantUrl })
kya โ†’ browse_declared event fires automatically
kya โ†’ verification token + next_step + checkoutPatch (if merchant supports UCP)
Agent โ†’ merges checkoutPatch into checkout payload
Agent โ†’ kya_reportBadgePresented({ merchantUrl, verification_token })
Agent โ†’ kya_reportBadgeOutcome (accepted | denied | inconclusive)

Spend: Get a Card

Agent โ†’ kya_getCard (merchant, amount, description)
User โ†’ approves via MFA
kya โ†’ issues single-use virtual Visa
Agent โ†’ uses card at checkout
Agent โ†’ kya_reportPurchase (closes audit trail)
Card โ†’ self-destructs

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.

"env": {
  "KYA_EXTENDED_AUTH": "true"
}

How Authorization Scales

ActionWhat Happens
BrowseBadge declaration โ€” identity token issued
SearchBadge declaration โ€” identity token issued
CheckoutBadge + 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 kya labs

Give Agent Your CardCrypto Walletkya
Agent identity declaredNoNoEvery session
Human approval per purchaseNoNoEvery purchase
Card credential lifespanPermanentPermanentSingle use
Works at existing merchantsYesNoYes โ€” Visa rails
Your real card exposedYesN/ANever

Badge Only?

If you only need identity (no payment), use the lighter package:

npx @kyalabs/badge

What's New (v2.3)

CapabilityDescription
assurance_levelEvery trip now carries a trust score (starter โ†’ elite) sourced from token introspection. Visible in your dashboard and included in all trip outcome events.
Merchant signal awarenesskya_getAgentIdentity now detects whether a merchant has active kya signal infrastructure (window.__kya_commerce, meta tags, llms.txt). Returned as merchant_signals in the identity result.
Anonymous-firstBadge works on install. No auth, no signup, no network on install. First kya_getAgentIdentity call fires browse_declared automatically.
Enrichment branchingAnonymous events fire without auth. Verified events include full user context. No silent gates.
next_step fieldEvery identity response includes guidance for the agent's next action. Spend-aware when virtual cards are available.

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


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

Related MCP Servers

@agentfund/mcp

๐Ÿ“‡ โ˜๏ธ - Fundraising infrastructure for AI agents on Solana โ€” campaigns, x402 donations, and on-chain reputation. MCP tools for registering agents, creating campaigns, and donating via the x402 pay-to-call flow, backed by Anchor programs (agentregistry, escrow, reputation). npx -y @agentfund/mcp

๐Ÿ’ฐ Finance & Fintech1 views
@asterpay/mcp-server

๐Ÿ“‡ โ˜๏ธ - EUR settlement for AI agents via x402 protocol. Market data, AI tools, crypto analytics โ€” pay-per-call in USDC on Base. SEPA Instant EUR off-ramp.

๐Ÿ’ฐ Finance & Fintech1 views
@czagents/cnb

๐Ÿ“‡ โ˜๏ธ ๐Ÿ  ๐ŸŽ ๐ŸชŸ ๐Ÿง - Czech National Bank (ฤŒNB) daily FX rates: fetch official CZK exchange rates, convert between currencies, fetch historical rates. Cached 10 min to ease upstream load. npm @czagents/cnb or HTTP at cnb.cz-agents.dev/mcp.

๐Ÿ’ฐ Finance & Fintech1 views
@arbitova/mcp-server

๐Ÿ“‡ โ˜๏ธ - Non-custodial on-chain escrow + AI dispute arbitration for agent-to-agent USDC payments on Base. Seven tools covering the full EscrowV1 contract surface: create escrow, mark delivered with on-chain content hash, confirm or dispute, arbiter resolves with signed verdict, cancel/escalate on timeout. npx @arbitova/mcp-server

๐Ÿ’ฐ Finance & Fintech0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Not checked yet

We have not completed a health check for this listing yet.

No check timestamp yet.

Unclaimed listing (imported or pending owner verification). Claim it โ†’
โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.