ClawPay
Connects AI agents to payment processors (Lithic, Stripe, PayPal) for automated shopping with single-use virtual cards and transaction management.
README
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=sandboxfor testing.
⚖️ Legal Notice
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.
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
- Tell your AI what to buy and where
- ClawPay navigates the store and shows you a summary
- You confirm — no auto-purchase ever
- A Lithic single-use virtual card is created and used for checkout
- 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.
Recommended Servers
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.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.
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.