Payment Agent Demo
FreeNot checkedAgentic Commerce demo with Stripe and Visa TAP (Trusted Agent Protocol)
About
Agentic Commerce demo with Stripe and Visa TAP (Trusted Agent Protocol)
README
Agentic Commerce demo with Stripe and Visa TAP (Trusted Agent Protocol)


Agentic Commerce Flow
[ AI Agent (e.g. Claude) ]
│
│ 1. Connects to remote MCP server with auth token and wallet id
▼
[ Remote MCP Server (Wallet Provider) ]
│
│ 2. Makes checkout tool available to Agent. Holds the agent's private key.
| 3. Private key is used to sign payload to create Visa TAP signature
▼
[ Merchant Storefront API ]
│
│ 4. Validates the signature with agent's public key fetched from Visa agent registry.
│ 5. Verifies that the item is in stock and the price is correct.
▼
[ Stripe API ]
│
│ 6. Storefront triggers stripe.PaymentIntent.create()
▼
[ Customer's Bank Account ] <-- Funds are safely moved
Integration Flow
┌──────────────────────────────┐
│ MERCHANT STOREFRONT │
└──────────────┬───────────────┘
│
│ 1. Publishes OpenAPI Spec / Documentation.
| RFC 9421 does not specify the data schema of the CheckoutRequest.
| Therefore, the Agent / MCP server must follow the merchant storefront's spec or signature validation will fail.
▼
┌───────────────────────────────────────────────────────┐
│ WALLET PROVIDER │
├───────────────────────────────────────────────────────┤
│ • Provides tools and holds agent's private key │
│ • Configures MCP Tool parameters to match. |
│ • Signs payload using their private key. |
└───────────────────────────────────────────────────────┘
Project Structure
project-root/
├── .venv/ <-- single, unified virtual environment
├── pyproject.toml <-- Holds all Python dependencies for all 3 components
├── client-bridge/
| ├── .mcp_access_token <-- File where the Agent's access token will be stored
| └── client.py <-- Bridge to allow Claude to access remote MCP server with authentication
|
├── wallet_provider/ <-- Remote MCP server to allow an agent (like Claude) to make payments
│ ├── create_tap_sig.py
| ├── generate_test_keys.py <-- generate a public/private key pair for the agent
│ └── main.py
|
└── merchant_api/ <-- simulates merchant store API which allows agents
├── mock_visa_directory.py
└── server.py
Quick Start Guide
1. Add MCP Server to Claude desktop config
"mcpServers": {
"agent-stripe-checkout": {
"command": "uv",
"args": [
"run",
"--directory",
"/Users/<your_user>/<path_you_cloned_to>/payment-agent-demo/payment_mcp",
"main.py"
],
"env": {
"DEMO_AGENT_WALLET_ID": "mock_visa_tap_agent_01"
}
},
}
2. Run Merchant Storefront API
cd merchant_api/
uv sync
Run the merchant API server:
uvicorn server:app --reload
Requirements
- Python >= 3.14
uv(Astral)
Environment variables
Run generate_test_keys.py to get create a private/public key pair for your agent
At minimum set the following values in the appropriate .env files:
STRIPE_SECRET_KEY— your Stripe test secret key (required by both components in this demo)DEMO_AGENT_WALLET_ID— used by the MCP server when running in Claude/Desktop integrations
Installing Payment Agent Demo
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/Programalyst/payment-agent-demoFAQ
Is Payment Agent Demo MCP free?
Yes, Payment Agent Demo MCP is free — one-click install via Unyly at no cost.
Does Payment Agent Demo need an API key?
No, Payment Agent Demo runs without API keys or environment variables.
Is Payment Agent Demo hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Payment Agent Demo in Claude Desktop, Claude Code or Cursor?
Open Payment Agent Demo on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Stripe
Payments, customers, subscriptions
by Stripemalamutemayhem/unclick-agent-native-endpoints
110+ tools for AI agents spanning social media, finance, gaming, music, AU-specific services, and utilities. Zero-config local tools plus platform connectors. n
by malamutemayhemwhiteknightonhorse/APIbase
Unified API hub for AI agents with 56+ tools across travel (Amadeus, Sabre), prediction markets (Polymarket), crypto, and weather. Pay-per-call via x402 micropa
by whiteknightonhorsetrackerfitness729-jpg/sitelauncher-mcp-server
Deploy live HTTPS websites in seconds. Instant subdomains ($1 USDC) or custom .xyz domains ($10 USDC) on Base chain. Templates for crypto tokens and AI agent pr
embeddedlayers/mcp-analytics
Statistical analysis, forecasting, and ML for business data (Shopify, Stripe, WooCommerce, eBay, GA4, Search Console). Upload a CSV or connect live data sources
by embeddedlayerscarrierone/verilexdata-mcp
20 structured datasets (NPI healthcare, SEC filings, OFAC sanctions, crypto whales, Polymarket signals, patents, economic indicators) via x402 pay-per-query wit
by carrieronetipdotmd/tip-md-x402-mcp-server
MCP server for cryptocurrency tipping through AI interfaces using x402 payment protocol and CDP Wallet.
by tipdotmdlaundromatic/shopgraph
Structured product data from the open web — Schema.org + AI extraction for e-commerce enrichment. Pay per call via Stripe. [shopgraph.dev](https://shopgraph.dev
by laundromaticmrslbt/xendit-mcp
Xendit payment gateway for Southeast Asia. Invoices, disbursements, balance checks, and bank transfers across Indonesia, Philippines, Thailand, Vietnam, and Mal
by mrslbt@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
by jiayuanliang0716-maxCompare Payment Agent Demo with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All finance MCPs
