retail-order-sync-hub
Syncs orders between Odoo ERP and multiple marketplaces, with traceability and incident resolution capabilities.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@retail-order-sync-hubtrace order 12345 to see why it failed to sync to MercadoLibre"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Retail Order Sync Hub — ERP ↔ Marketplaces
Sincroniza órdenes entre un ERP (Odoo) como fuente de verdad y múltiples marketplaces (MercadoLibre sandbox real + un mock de Paris), con outbox pattern, retry/DLQ, observabilidad end-to-end y un MCP server que deja a un agente IA trazar y resolver incidentes de sincronización.
El sistema no solo mueve órdenes: deja a Comercio Exterior preguntarle a un agente "¿por qué la orden 12345 no llegó a MELI?" y obtener el trace completo — y, con los permisos correctos, reintentar el envío.
El escenario (un lunes con Comex)
Un lunes estás con Comercio Exterior viendo por qué las órdenes tardan en aparecer en marketplaces. El martes prototipas una integración con IA. El viernes presentas la solución a quien la pidió.
Este repo es ese escenario, ejecutado end-to-end:
Odoo es la fuente de verdad de las órdenes.
Las órdenes deben aparecer en MercadoLibre y Paris.
Los webhooks vuelven del marketplace y se reconcilian contra Odoo.
Un MCP server con IAM por rol y audit log permite trazar y operar.
Observabilidad (OTel + Grafana), DLQ, retry y bronze/silver/gold incluidos.
Related MCP server: Odoo MCP Server
Arquitectura
Diagrama fuente en docs/diagrams/architecture.mmd.
Odoo ──outbox──▶ adapters ──▶ marketplaces ──webhooks──▶ receiver
│
Pub/Sub events ──▶ subscriber/reconciler ──▶ silver
│ │
DLQ BigQuery (bronze/silver/gold + dbt)
│
Claude Code ◀──MCP──▶ MCP server (read/write · IAM · audit)Stack
Python 3.11 · uv · FastAPI · Pydantic v2 · SQLAlchemy/Alembic · Pub/Sub (emulator → real) · BigQuery + dbt · FastMCP · OpenTelemetry + Grafana + Prometheus + Tempo · Odoo 17 · Docker Compose.
Decisiones clave en adr/.
Quickstart
Placeholder — el quickstart completo de 10 minutos llega en la Fase 11. Por ahora, para validar el repo:
uv sync --dev # instala dependencias (Python 3.11 gestionado por uv)
make check # ruff + mypy + pytestTargets disponibles: make help.
Estado del proyecto
Plan de ejecución por fases (V1, fases 0–11; V2 a GCP). Fase actual: 0 — setup, ADRs y CI.
Fase | Descripción | Estado |
0 | Setup repo, ADRs, CI | 🟡 en curso |
1 | Odoo + Postgres + OTel collector | ⬜ |
2 | MercadoLibre OAuth + paris-mock | ⬜ |
3 | Webhook receiver + idempotencia + bronze | ⬜ |
4 | Adapter + outbox + outbound sync | ⬜ |
5 | Subscriber + reconciliación + silver | ⬜ |
6 | Observabilidad (OTel + Grafana) | ⬜ |
7 | BigQuery + dbt + gold | ⬜ |
8 | MCP read tools | ⬜ |
9 | MCP write tools + IAM + audit | ⬜ |
10 | Tests E2E + chaos | ⬜ |
11 | Docs + narrativa FDE + screencast | ⬜ |
Licencia
MIT (ver LICENSE).
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/JulioPradenas/retail-order-sync-hub'
If you have feedback or need assistance with the MCP directory API, please join our Discord server