MCP E-commerce Load Server

by brazeiro63

226 downloads Not rated yet
GitHub

About

# MCP E-commerce Load Server ## Visão Geral O MCP E-commerce Load Server é uma solução integrada para descoberta, validação e cadastro de lojas de afiliados e seus produtos em um sistema de e-commerce. O sistema utiliza inteligência artificial através do framework CrewAI para automatizar processos de pesquisa…

Explore

- Store discovery using Serper API
- AI‑powered validation via CrewAI
- PostgreSQL/SQLAlchemy for database storage
- Product collection through Serper MCP Server
- Intelligent product prioritization with CrewAI
- Optional human curation via CSV/dashboard interface

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP E-commerce Load Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, install dependencies with pip install -e ., configure environment variables in .env, then run python main.py. The server supports full pipeline execution or selective modes using flags such as --only-discover (store discovery only) and --only-products (product collection only).

from src.app.db.insert_affiliate_stores import insert_affiliate_stores
from src.app.db.insert_products import insert_products

def test_insert_affiliate_store():
sample_store = [{
"name": "Test Store",
"platform": "TestPlatform",
"active": True,
"api_credentials": {"token": "123abc"}
}]
result = insert_affiliate_stores(sample_store)
assert len(result) == 1
assert result[0].name == "Test Store"

def test_insert_product():
sample_product = [{
"external_id": "abc123",
"platform": "TestPlatform",
"title": "Test Product",
"description": "A test product",
"price": 19.99,
"product_url": "http://example.com/product",
"category": "Testing"
}]
result = insert_products(sample_product, affiliate_store_name="Test Store")
assert len(result) == 1
assert result[0].title == "Test Product"

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp e-commerce load server": {
            "mcp_ecommerce_load_server": {
                "command": "python",
                "args": [
                    "main.py"
                ]
            }
        }
    }
}

McpServers

{
    "mcp_ecommerce_load_server": {
        "command": "python",
        "args": [
            "main.py"
        ]
    }
}

Visão Geral

O MCP E-commerce Load Server é uma solução integrada para descoberta, validação e cadastro de lojas de afiliados e seus produtos em um sistema de e-commerce. O sistema utiliza inteligência artificial através do framework CrewAI para automatizar processos de pesquisa, validação e priorização de dados.

Fluxo de Funcionamento

O sistema segue o seguinte fluxo de trabalho:

1. Descoberta de lojas usando Serper API
2. Validação inteligente das lojas usando CrewAI
3. Cadastro das lojas no banco de dados (PostgreSQL/SQLAlchemy)
4. Coleta de produtos via Serper MCP Server
5. Priorização inteligente dos produtos usando CrewAI
6. Curadoria humana opcional (via interface CSV/dashboard)
7. Carga final no banco de dados

Requisitos

- Python 3.12 ou superior
- PostgreSQL
- Chaves de API para serviços externos (OpenAI, Serper, etc.)

Instalação

1. Clone o repositório:

git clone https://github.com/brazeiro63/mcp_ecommerce_load_server.git
cd mcp_ecommerce_load_server

2. Instale as dependências:

pip install -e .

3. Configure as variáveis de ambiente:
```bash
cp .env.example .env

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.