
unified-offer-protocol
io.github.Chris85appding/unified-offer-protocol
AI-powered e-commerce product search, affiliate links, and price negotiation
Documentation
๐ Universal MCP Server
AI-powered e-commerce integration for intelligent shopping assistants
Connect your AI applications to 3+ e-commerce platforms (Shopify, WooCommerce, Shopware 6) with automatic product search, price negotiation, and intelligent discount generation through the Model Context Protocol.
โจ Features
- ๐ Product Search - Natural language queries across all connected platforms
- ๐ฐ Price Negotiation - Intelligent pricing with automatic discount generation
- ๐ Smart Links - Direct product links with automatic discount application
- ๐ค Multi-LLM Support - Works with 6 AI providers (OpenAI, Anthropic, Google, Mistral, Cohere, Groq)
- ๐งต Thread Management - Persistent conversations with 24h expiry
- ๐ Multi-Currency - Supports 12 currencies (EUR, USD, GBP, CHF, etc.)
- โก Production-Ready - Enterprise-grade performance and security
- ๐ Free to Use - No fees, no commissions, open for everyone
๐ Quick Start
Option 1: Direct HTTP API (Recommended)
# Get your free API key at https://unifiedoffer.com
curl -X POST https://api.unifiedoffer.com/functions/v1/mcp-http-wrapper \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tool": "searchProducts",
"arguments": {
"query": "gaming laptop under $1500",
"limit": 5
}
}'
Option 2: NPM Package
npm install @unifiedoffer/mcp-server
Option 3: PyPI Package
pip install uop-mcp-server
Option 4: Docker
docker pull unifiedoffer/mcp-server:latest
docker run -p 8080:8080 -e UOP_API_KEY=your_key unifiedoffer/mcp-server
๐ ๏ธ Available Tools
Tool | Description | Latency | Complexity |
---|---|---|---|
searchProducts | Search products across all platforms | ~1.7s | Medium |
generateLinks | Create direct product links with discounts | ~2.1s | Medium |
negotiatePrice | Intelligent price negotiation | ~2.3s | High |
negotiateBatch | Competitive batch pricing | ~2.8s | High |
negotiateMultiRound | Progressive multi-round negotiation | ~3.2s | High |
chat | AI shopping assistant (6 LLM providers) | ~5.7s | High |
listThreads | List conversation threads | ~0.6s | Low |
getThread | Retrieve thread history | ~0.8s | Low |
extendThread | Extend thread expiration | ~0.8s | Low |
Average Response Time: 2.2s | Success Rate: 100%
๐ Documentation
Getting Started
- Authentication Guide - API key setup
- Quick Start Guide - First steps
- Code Examples - Integration examples
API Reference
- Tool Specifications - Complete MCP manifest
- OpenAPI Spec - REST API docs
Advanced Topics
- Multi-LLM Configuration - Provider setup
- Thread Management - Conversation persistence
- Rate Limits - Usage quotas
๐ Supported Platforms
Platform | Product Sync | Discount Codes | Webhooks | Status |
---|---|---|---|---|
Shopify | โ | โ | โ | Production |
WooCommerce | โ | โ | โ | Production |
Shopware 6 | โ | โ | โ | Production |
Magento | โณ | โณ | โณ | Planned |
๐ก Use Cases
AI Shopping Assistants
// Natural language product search
const response = await fetch('https://api.unifiedoffer.com/functions/v1/mcp-http-wrapper', {
method: 'POST',
headers: {
'x-api-key': 'YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
tool: 'chat',
arguments: {
message: 'I need a laptop for video editing under $2000',
configName: 'openai-gpt-4o'
}
})
});
Price Comparison Tools
# Compare multiple products competitively
import requests
response = requests.post(
'https://api.unifiedoffer.com/functions/v1/mcp-http-wrapper',
headers={'x-api-key': 'YOUR_API_KEY'},
json={
'tool': 'negotiateBatch',
'arguments': {
'productIds': ['prod_123', 'prod_456', 'prod_789']
}
}
)
E-Commerce Integration
# Generate product links with automatic discounts
curl -X POST https://api.unifiedoffer.com/functions/v1/mcp-http-wrapper \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"tool": "generateLinks",
"arguments": {
"productIds": ["prod_abc", "prod_def"]
}
}'
๐ Authentication
Get your free API key at https://unifiedoffer.com
Two key types available:
- Developer Keys (
dk_*
) - Search across ALL shops, optimize for customer value - Merchant Keys (
mk_*
) - Shop-scoped search, optimize for merchant margin
Usage:
# Standard header (recommended)
-H "x-api-key: dk_YOUR_API_KEY"
# Alternative authorization header
-H "X-Authorization: Bearer dk_YOUR_API_KEY"
# Query parameter (fallback)
?api_key=dk_YOUR_API_KEY
โก Rate Limits
Tool Category | Limit | Tools |
---|---|---|
Light | 100 req/min | listThreads, getThread, extendThread |
Standard | 60 req/min | searchProducts, generateLinks |
Heavy | 30 req/min | negotiatePrice, chat |
Batch | 20 req/min | negotiateBatch, negotiateMultiRound |
๐ Multi-Currency Support
Automatic currency handling for 12 currencies:
EUR (โฌ) โข USD ($) โข GBP (ยฃ) โข CHF (CHF) โข CAD (C$) โข AUD (A$) โข JPY (ยฅ) โข SEK (kr) โข NOK (kr) โข DKK (kr) โข PLN (zล) โข CZK (Kฤ)
Minimum discounts automatically adjusted per currency (e.g., โฌ1.00, $1.00, ยฃ0.85).
๐ค AI Provider Support
Works seamlessly with 6 LLM providers (40+ models):
Provider | Models | Features |
---|---|---|
OpenAI | GPT-5, GPT-4.1, GPT-4o series (8 models) | Best function calling, JSON mode |
Anthropic | Claude Sonnet 4.5, Opus 4.1, Claude 3.5 (5 models) | Best coding, 1M context |
Gemini 2.5 Pro, 2.5 Flash, 2.0 Flash (5 models) | Best price-performance | |
Mistral | Medium 3, Devstral Small, Large/Small (6 models) | Multilingual support |
Cohere | Command A, Aya Expanse (5 models) | 23 languages |
Groq | OpenAI GPT-OSS, Llama 4 Vision (12 models) | Ultra-fast inference |
BYOK Model: Bring Your Own Key - use your own LLM API keys for zero cost.
๐๏ธ Architecture
โโโโโโโโโโโโโโโโโโโ
โ AI App/Agent โ
โโโโโโโโโโฌโโโโโโโโโ
โ MCP Protocol (HTTP/WebSocket)
โผ
โโโโโโโโโโโโโโโโโโโ
โ MCP Server โ
โ (Edge Func) โ
โโโโโโโโโโฌโโโโโโโโโ
โ REST API
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Product Database (PostgreSQL) โ
โ - Shopify Products โ
โ - WooCommerce Products โ
โ - Shopware Products โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ Performance
- Uptime: 99.9%
- Average Latency: 2.2s
- Success Rate: 100%
- Concurrent Requests: 1000+
- Database: Enterprise PostgreSQL with 145+ optimized indexes
๐ Security
- โ API keys hashed before storage
- โ 170 active Row-Level Security policies
- โ Rate limiting with fail-safe defaults
- โ CORS properly configured
- โ Zero secrets in responses
- โ Grade A+ security audit
๐ฆ Distribution Channels
Channel | Package | Status |
---|---|---|
NPM | @unifiedoffer/mcp-server | โ v2.0.4 |
PyPI | uop-mcp-server | โ v2.0.5 |
Docker Hub | unifiedoffer/mcp-server | โ v2.0.0 |
GitHub MCP Registry | io.github.Chris85appding/unified-offer-protocol | โ v2.0.5 |
PulseMCP | Auto-indexing | โณ Pending |
MCP.so | Manual submission | โณ Pending |
๐ค Support & Community
- Website: https://unifiedoffer.com
- Documentation: https://unifiedoffer.com/mcp
- API Endpoint: https://api.unifiedoffer.com/functions/v1/mcp-http-wrapper
- Email: support@unifiedoffer.com
- Issues: https://github.com/UnifiedOffer/mcp-server-public/issues
๐ License
MIT License - see LICENSE for details.
๐ฏ Roadmap
v2.1 (Q1 2026)
- Magento platform integration
- Real-time inventory sync
- Enhanced batch negotiation strategies
- WebSocket transport layer
v2.2 (Q2 2026)
- Multi-region deployment
- GraphQL API endpoint
- Enhanced analytics dashboard
- Custom LLM fine-tuning
๐ Why Choose UOP MCP Server?
โ
Production-Ready - Enterprise-grade performance and security
โ
Zero Setup - Direct HTTP API, no complex configuration
โ
Multi-Platform - Works with Shopify, WooCommerce, Shopware 6
โ
Cost-Effective - BYOK model, pay only for what you use
โ
Fully Featured - 9 tools covering search, negotiation, links, chat
โ
Well-Documented - Comprehensive guides and examples
โ
Open Source - MIT License, community-driven
โ
100% Free - No fees, no commissions, no hidden costs
Built with โค๏ธ by the Unified Offer Protocol Team
Get Started Free โข
Documentation โข
Report Bug
No installation packages available.