Skip to main content
Glama

Lithic MCP Coverage: 100% License: Apache 2.0 Stripe PayPal

ClawPay

AI Shopping Agent — connects your AI to Lithic virtual cards, Stripe, and PayPal.

WARNING

Production mode by default. Real transactions, real money. Set LITHIC_ENVIRONMENT=sandbox for testing.


ClawPay is a SOFTWARE CONNECTOR ONLY. We do NOT:

  • Handle, hold, or transmit your funds

  • Act as a money transmitter or payment processor

  • Have access to your money at any time

Money flows directly: YOU ↔ Lithic / Stripe / PayPal. ClawPay only connects APIs and automates browser forms.

You are responsible for compliance with payment provider terms and applicable laws. See DISCLAIMER.md for full legal terms.


Related MCP server: Shatale MCP Server

Quick Start

npm install -g @xodn348/clawpay
npx playwright install chromium
export LITHIC_API_KEY=your_production_key
clawpay install

Then ask your AI: "Buy me a blue t-shirt on automationexercise.com"


How It Works

  1. Tell your AI what to buy and where

  2. ClawPay navigates the store and shows you a summary

  3. You confirm — no auto-purchase ever

  4. A Lithic single-use virtual card is created and used for checkout

  5. Card self-destructs. PAN/CVV never touch disk or logs.


MCP Tools

Tool

Description

setup_lithic

Configure Lithic virtual card API

browse_and_buy

AI shopping with single-use virtual card

setup_payment

Configure Stripe payment method

pay

Charge via Stripe

get_balance

Stripe account balance

list_transactions

Recent Stripe payments

refund

Issue Stripe refund

setup_paypal

Configure PayPal

send_paypal

Send money via PayPal


Environment Variables

Variable

Required

Default

Description

LITHIC_API_KEY

Yes (shopping)

—

Lithic API key

LITHIC_ENVIRONMENT

No

production

production or sandbox

STRIPE_SECRET_KEY

Yes (Stripe)

—

Stripe secret key

PAYPAL_CLIENT_ID

Yes (PayPal)

—

PayPal client ID

PAYPAL_CLIENT_SECRET

Yes (PayPal)

—

PayPal client secret

PAYPAL_ENVIRONMENT

No

production

production or sandbox


Guardrails

Default limits: $100/transaction, $500/day, USD only.

Override in ~/.clawpay/config.json:

{
  "guardrails": {
    "maxAmountPerTransactionCents": 10000,
    "maxDailySpendCents": 50000,
    "allowedCurrencies": ["usd"]
  }
}

Client Setup

Claude Code:

claude mcp add -s user clawpay -e LITHIC_API_KEY=your_key -- clawpay

opencode.json / Claude Desktop / Cursor:

{
  "mcp": {
    "clawpay": {
      "type": "local",
      "command": ["clawpay"],
      "environment": { "LITHIC_API_KEY": "your_key" }
    }
  }
}

Security

  • PAN/CVV exist in memory only during checkout — never logged, never stored

  • Stripe card data handled by PCI-compliant Stripe Checkout

  • All actions logged to ~/.clawpay/audit.log (no sensitive data)

  • Guardrails block excessive spending before it reaches the API

For vulnerabilities: SECURITY.md


License

Apache 2.0 — LICENSE. Full legal terms: DISCLAIMER.md.

Available Tools

9 tools
browse_and_buyA

Browse an online store, add items to cart, and complete purchase using a Lithic virtual card. Requires Playwright installed.

Inputs: store_url (required), product_query (required).

get_balanceB

Get Stripe account balance.

Inputs: no named parameters.

list_transactionsC

List recent payment transactions.

Inputs: limit.

payC

Create and confirm a payment in cents.

Inputs: amount (required), currency (required), description (required).

refundB

Refund a payment intent.

Inputs: payment_intent_id (required).

send_paypalB

Send money via PayPal Payouts to an email address or phone number.

Inputs: amount (required), recipientEmail, recipientPhone, currency, +1 more.

setup_lithicA

Set up Lithic virtual card API for AI shopping. Reads LITHIC_API_KEY from environment.

Inputs: no named parameters.

setup_paymentB

Set up Stripe payment method for ClawPay.

Inputs: no named parameters.

setup_paypalA

Link PayPal account using Client ID and Client Secret. Reads credentials from PAYPAL_CLIENT_ID and PAYPAL_CLIENT_SECRET environment variables or config file.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 9 tools

    Disambiguation4/5

    Most tools have distinct purposes (shopping, Stripe payments, PayPal payouts, setup), though 'pay' and 'send_paypal' could be confused without reading descriptions. Overall clear boundaries.

    Naming Consistency2/5

    Naming convention is inconsistent: mix of single verbs ('pay', 'refund'), verb_verb ('browse_and_buy'), and verb_noun patterns. No consistent structure.

    Tool Count4/5

    9 tools cover multiple payment workflows and setup, which is appropriate for the domain. Not overly numerous or sparse.

    Completeness3/5

    Covers core actions (pay, refund, send) but missing some operations like PayPal refund, Stripe payment cancellation, or detailed payment retrieval beyond listing.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      AI-native payment infrastructure that enables AI agents to make purchases, issue virtual cards, and manage spending within delegated budgets and policy controls.
      7
      1,355 npm
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents to make payments by securely storing encrypted card details and enforcing user-defined policies, allowing agents to fill checkout forms on any site.
      5 npm
      MIT