-
-
Landing page: sign up with just a username and password
-
Connect page: one MCP link for Claude or ChatGPT
-
Claude using the Payout MCP connector: live Channel3 results
-
Web shop: the same Channel3 search, no chat app needed
-
Analytics built with AG Studio by AG Grid, from your real orders
-
PayPal Sandbox payment complete (test card, no real money, nothing ships)
-
Refund your own order from the dashboard
Live app: https://payout-xzgc.onrender.com · MCP connector URL: https://payout-xzgc.onrender.com/mcp · Code: https://github.com/fozagtx/Payout
Test mode: every payment and refund goes through PayPal Sandbox. No real money is charged and no item is shipped.
Inspiration
We already ask Claude what to buy. It's good at it: it knows the trade-offs between two running shoes and remembers our budget. Then it hands us ten links, and we're back to opening tabs, comparing prices and typing card details into a site we've never heard of. The conversation stops right where the purchase starts.
We wanted the assistant to finish the job: find the real product, show the real price, and let us pay in one step, with a way to get the money back if we change our minds.
What it does
Payout is a connector you add to Claude or ChatGPT with one link.
- Sign up on the site. There's one kind of account.
- Connect by pasting the MCP link into Claude or ChatGPT and clicking Allow.
- Ask something like "find me running shoes under $120". The results are live products from Channel3, with real prices, sizes and colours, and the budget is applied as a real price filter.
- Pay. Payout re-checks the price with Channel3 and opens a PayPal checkout for exactly that amount.
- Refund. Your orders show up in the dashboard, and you can refund all or part of a paid order yourself, from the dashboard or by asking the assistant.
If you don't use Claude or ChatGPT, the same search and checkout work in the browser at /shop.
How we built it
- MCP server written with the official TypeScript SDK, so Claude, ChatGPT and Claude Code all talk to the same tools.
- OAuth 2.1 sign-in with PKCE, dynamic client registration and client metadata documents. That's what lets you connect with one link and an Allow button instead of copying API keys.
- Channel3 for the product catalog, product details, similar items, price history and price alerts. Payout doesn't keep its own product list.
- PayPal Orders v2 (Sandbox) for checkout, refunds and disputes, plus PayPal webhooks so an order flips to Paid or Refunded even if you close the tab.
- Express + Next.js for the API and web app, Postgres + Drizzle for accounts, connected apps, orders, refunds and alerts, and Render for hosting.
Challenges we ran into
- Getting the price right. A price shown in chat can be stale by the time you pay. Payout fetches the price again from Channel3 when it creates the PayPal order, so you're charged what the store shows now, not what the assistant said a minute ago.
- OAuth for AI apps. Claude and ChatGPT each register themselves slightly differently. Making one sign-in flow work for both took more spec reading than any other part.
- Deciding what the product is. We went back and forth between a marketplace, a merchant store builder and a shopping assistant. We cut it down to one user, one catalog and one checkout, which made it much easier to explain and much harder to break.
- Being honest about test mode. It's easy to make a demo look like it ships products. Payout says on every checkout and order page that it's PayPal Sandbox, no real money moves and nothing ships.
Accomplishments we're proud of
- A real purchase works end to end on the live site: a live Channel3 product, a PayPal Sandbox payment, and a refund afterwards.
- Connecting takes one link and one click, with no API keys for the user.
- No fake data anywhere. If Channel3 isn't configured, search says so instead of showing made-up products.
What we learned
- MCP plus OAuth is enough to turn any web service into something an assistant can use safely on your behalf.
- In a payment flow, the server has to own every number. The assistant can suggest, but the server decides the price and checks who owns the order before refunding it.
- Cutting features made the product better.
What's next
- Real (live-mode) PayPal payments once fulfilment is solved, either through store partnerships or affiliate checkout.
- Shipping and delivery tracking in the chat.
- Live price-drop alerts delivered straight into the conversation.
Built with
| Tool | What it does in Payout |
|---|---|
| Channel3 | Every product, price, size, colour, similar item and price alert. |
| PayPal (Sandbox) | Checkout, refunds, disputes and payment webhooks. |
| Model Context Protocol | The connector that Claude, ChatGPT and Claude Code use. |
| Claude / ChatGPT | Where you shop: both connect through the same MCP link. |
| AG Studio | By AG Grid. The Analytics page: live totals, charts and a sortable orders table built from your real orders, refunds and price watches, with an editable dashboard. |
| Svix | Verifies Channel3 webhook signatures for price alerts. |
| Render | Hosts the app and its Postgres database. |
TypeScript, Node.js, Express, Next.js, React, Tailwind CSS, Postgres, Drizzle ORM.
Built With
- ag-grid
- channel3
- chatgpt
- claude
- drizzle
- express.js
- model-context-protocol
- neon
- next.js
- node.js
- oauth
- paypal
- postgresql
- react
- render
- svix
- tailwindcss
- typescript