AgenticCartAbandonmentRecoveryOrchestrator
Monitors abandoned checkout sessions in Meta Muse and enables diagnosis of friction causes, synthesis of margin-preserving win-back offers, and recovery message generation for Meta commerce.
Monitors abandoned checkout sessions in Shopify and enables diagnosis of friction causes, synthesis of dynamic incentive vouchers, and multi-channel win-back message generation for Shopify carts.
Generates WeChat Work recovery message copy for cart abandonment outreach and win-back campaigns.
Monitors abandoned checkout sessions in WhatsApp Commerce and generates WhatsApp-native cart abandonment recovery messages and offers.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
genpark-agentic-cart-abandonment-recovery-orchestrator-skill
Autonomous Agentic Cart Abandonment Recovery Orchestrator. Monitors abandoned checkout sessions in Meta Muse, Shopify, and WhatsApp Commerce, diagnoses friction causes (shipping cost shock, size doubt, payment hesitation), crafts margin-preserving dynamic incentive vouchers, and synthesizes multi-channel win-back messages.
๐ Key Features
100% Zero External Dependencies: Runs entirely on the Python 3.9+ standard library.
Model Context Protocol (MCP) Standard: Native support for JSON-RPC 2.0
initialize,tools/list, andtools/call.Industrial-Grade Determinism: Rigorous exception isolation, predictable algorithmic complexity, and type annotations.
Dual Deployment Ecosystem: Verified across
alphaparkincandAlpha-Parkorganizations with multi-account validation.
Related MCP server: @marketbasketanalysis/mcp
๐ Quick Start
1. Direct Python SDK Usage
"""Example usage for AgenticCartAbandonmentRecoveryOrchestrator."""
import sys
import json
from client import AgenticCartAbandonmentRecoveryOrchestrator
sys.stdout.reconfigure(encoding='utf-8')
def main():
print("=== Agentic Commerce Cart Abandonment Win-Back Orchestrator Demo ===")
orchestrator = AgenticCartAbandonmentRecoveryOrchestrator()
abandoned_session = {
"cart_id": "CART-MUSE-89410",
"customer_name": "Sarah Connor",
"cart_total_usd": 150.00,
"shipping_cost_usd": 30.00,
"exit_step": "SHIPPING",
"dwell_time_seconds": 75.0,
"items": ["Smart Noise-Canceling Earbuds", "Protective Leather Case"]
}
# 1. Diagnose abandonment friction cause
print("\n--- 1. Diagnosing Drop-off Friction ---")
diagnosis = orchestrator.diagnose_abandonment_friction(abandoned_session)
print(f"Friction Code: {diagnosis['friction_code']}")
print(f"Recommended Strategy: {diagnosis['recommended_strategy']}")
# 2. Synthesize profit-margin preserving win-back voucher
print("\n--- 2. Synthesizing Dynamic Incentive Voucher ---")
offer = orchestrator.synthesize_winback_offer(abandoned_session, profit_margin_pct=45.0)
print(f"Voucher Code: {offer['voucher_code']} (Discount: {offer['discount_percentage']}%, Free Shipping: {offer['free_shipping_granted']})")
print(f"Total Customer Savings: ${offer['customer_savings_usd']:.2f}")
# 3. Generate WhatsApp and WeChat Work recovery message copy
print("\n--- 3. Generating Channel-Native Outreach Copy ---")
wa_msg = orchestrator.generate_recovery_message(abandoned_session, channel="WHATSAPP", offer=offer)
print(f"[WhatsApp]:\n{wa_msg['recovery_message_text']}")
if __name__ == "__main__":
main()
2. Run as Model Context Protocol (MCP) Server
Start standard JSON-RPC 2.0 server over stdio:
python mcp_server.pyExecute embedded test harness:
python mcp_server.py --test๐ ๏ธ MCP Tool Specification
Inspect skill.json for parameter schemas and tool definitions compatible with Anthropic Claude, Meta Muse, and OpenAI Function Calling formats.
๐ License
Licensed under the MIT License. Copyright ยฉ 2026 GenPark AI.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
Related MCP Connectors
Ask questions across Shopify, Klaviyo, GA4 and 20+ e-commerce sources in plain English.
Brand audits, visual catalogs, AI proposals & checkout for LATAM SMBs. Full funnel via MCP.
Co-purchase intelligence and merchant ops tools for AI shopping, ecommerce, and B2B agents
Ad campaigns, profit, forecasts and product catalogue for your ecommerce brands, for AI assistants.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables AI shopping agents to search products, check stock, apply promotions, manage cart sessions, and create cryptographically signed checkout sessions on e-commerce storefronts, while giving merchants analytics into agent intent and catalog demand gaps.MIT
- FlicenseAqualityBmaintenanceEnables AI agents to access real co-purchase intelligence and merchant operations tooling from an ecommerce store's order history, including product recommendations, bundle analysis, insights, replenishment forecasts, and merchant ops workflows.1958 npm1-
- AlicenseNot gradedqualityBmaintenanceEnables agents to analyze cart items and intent, compute product complementary affinity scores, respect merchant margin constraints, and synthesize personalized discount bundles for cross-sell recommendations.7MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables analysis of cart items and shopper intent, computation of complementary product affinity scores, enforcement of merchant margin constraints, and synthesis of personalized discount bundles and cross-sell recommendations via MCP.MIT