Wix UCP Integration
Universal Commerce Protocol Implementation for AI-Powered Shopping
๐ฏ What is UCP?
Universal Commerce Protocol (UCP) is a standardized protocol that enables:
- ๐ค AI agents to interact with e-commerce platforms
- ๐ Unified shopping experiences across different stores
- ๐ Seamless integration between AI assistants and merchants
Think of it as a universal language that lets any AI assistant shop on any UCP-enabled store.
๐๏ธ What We Built
A complete UCP integration layer for Wix e-commerce that enables:
| Capability | Description |
|---|---|
| Discovery | Auto-discoverable merchant profile |
| Checkout | Full cart โ checkout โ payment flow |
| Identity | OAuth 2.0 identity linking |
| Orders | Order history, tracking, returns |
| Payments | Secure tokenization & processing |
| MCP Bridge | AI agent interaction layer |
๐ง Architecture
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AI Agents โ
โ (Claude, GPT, etc.) โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ MCP Protocol
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Wix UCP Integration โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ Discoveryโ โ Checkout โ โ Orders โ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ Identity โ โ Payments โ โMCP Bridgeโ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Wix APIs
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Wix Platform โ
โ (eCommerce, Payments, Members) โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Live URLs
Production Endpoints
Test UI (No Wix Credentials Needed!)
| Tool | URL | Use For |
|---|---|---|
| MCP Console | /test-ui/console | Testing individual API tools |
| Flow Wizard | /test-ui/wizard | Step-by-step checkout demo |
๐ฎ How to Use: MCP Test Console
Features:
- Select any MCP tool from the dropdown (16 tools available)
- Edit JSON arguments in the editor
- Click Execute to run the tool
- View response with syntax highlighting
- Browse history of all requests
Quick Start:
- Select
searchProductsfrom dropdown - Set arguments:
{"query": "headphones"} - Click โถ Execute Tool
- See mock product results!
๐ How to Use: Flow Wizard
6-Step Checkout Flow:
| Step | Action |
|---|---|
| 1. Products | Search and select a product |
| 2. Cart | View cart with selected item |
| 3. Checkout | Enter buyer email & name |
| 4. Shipping | Enter address, select shipping |
| 5. Payment | Review order, complete payment |
| 6. Complete | See confirmation & order ID |
Features:
- ๐ API Activity sidebar shows all calls in real-time
- โฌ ๏ธ Back buttons to navigate between steps
- ๐ Reset Flow to start over
- ๐ Link to Console for advanced testing
๐ ๏ธ Tech Stack
| Layer | Technology |
|---|---|
| Runtime | Node.js + TypeScript |
| Framework | Fastify |
| Database | PostgreSQL (Prisma ORM) |
| Cache | Redis |
| Validation | Zod |
| Auth | JWT (jose) |
| Hosting | Render |
| Testing | Vitest (493+ tests) |
๐ MCP Tools Reference
Profile & Discovery
-
getBusinessProfile- Get merchant info
Catalog
-
searchProducts- Search product catalog -
getProduct- Get product details
Checkout
-
createCart- Create shopping cart -
addToCart- Add item to cart -
createCheckout- Start checkout -
updateCheckout- Update checkout info -
getShippingOptions- Get shipping methods -
completeCheckout- Complete purchase
Orders
-
getOrder- Get order by ID -
listOrders- List order history -
getOrderTracking- Get tracking info
Identity
-
createVisitorSession- Create visitor -
linkIdentity- Link user account -
getMemberInfo- Get member profile
๐ Security Features
- โ JWT-based authentication
- โ Input validation (Zod schemas)
- โ Rate limiting
- โ Secure headers (Helmet)
- โ Token encryption
- โ Audit logging
๐ Test Coverage
โ 493 tests passing
โ All modules covered
โ Unit + Integration tests
โ Mock mode for isolated testing
๐ Next Steps
- Connect to real Wix store - Add Wix API credentials
- Deploy for production - Configure production environment
- Integrate with AI agent - Connect to Claude/GPT via MCP
- Customize branding - Update merchant profile
๐ Resources
- GitHub: https://github.com/itayshmool/wix-ucp
- API Docs: https://wix-ucp-api.onrender.com/docs
- UCP Spec: https://ucp.dev
๐ Thank You!
Questions? Try the live demo:
๐ MCP Console | Flow Wizard
Wix UCP Integration
By Itay Shmool
Wix UCP Integration
Discover the exciting world of AI-powered shopping with our presentation on Wix UCP Integration! Explore the Universal Commerce Protocol, innovative architecture, and user-friendly tools designed to enhance your e-commerce experience. Join us for a deep dive!
- 35