Repository avatar
AI Tools
v2.0.6
active

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

NPM Version PyPI Version Docker Pulls MCP Protocol License

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

ToolDescriptionLatencyComplexity
searchProductsSearch products across all platforms~1.7sMedium
generateLinksCreate direct product links with discounts~2.1sMedium
negotiatePriceIntelligent price negotiation~2.3sHigh
negotiateBatchCompetitive batch pricing~2.8sHigh
negotiateMultiRoundProgressive multi-round negotiation~3.2sHigh
chatAI shopping assistant (6 LLM providers)~5.7sHigh
listThreadsList conversation threads~0.6sLow
getThreadRetrieve thread history~0.8sLow
extendThreadExtend thread expiration~0.8sLow

Average Response Time: 2.2s | Success Rate: 100%


๐Ÿ“š Documentation

Getting Started

API Reference

Advanced Topics


๐ŸŒ Supported Platforms

PlatformProduct SyncDiscount CodesWebhooksStatus
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 CategoryLimitTools
Light100 req/minlistThreads, getThread, extendThread
Standard60 req/minsearchProducts, generateLinks
Heavy30 req/minnegotiatePrice, chat
Batch20 req/minnegotiateBatch, 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):

ProviderModelsFeatures
OpenAIGPT-5, GPT-4.1, GPT-4o series (8 models)Best function calling, JSON mode
AnthropicClaude Sonnet 4.5, Opus 4.1, Claude 3.5 (5 models)Best coding, 1M context
GoogleGemini 2.5 Pro, 2.5 Flash, 2.0 Flash (5 models)Best price-performance
MistralMedium 3, Devstral Small, Large/Small (6 models)Multilingual support
CohereCommand A, Aya Expanse (5 models)23 languages
GroqOpenAI 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

ChannelPackageStatus
NPM@unifiedoffer/mcp-serverโœ… v2.0.4
PyPIuop-mcp-serverโœ… v2.0.5
Docker Hubunifiedoffer/mcp-serverโœ… v2.0.0
GitHub MCP Registryio.github.Chris85appding/unified-offer-protocolโœ… v2.0.5
PulseMCPAuto-indexingโณ Pending
MCP.soManual submissionโณ Pending

๐Ÿค Support & Community


๐Ÿ“„ 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