Skip to main content
Glama
systemyuri

Asistente Comercial MCP

by systemyuri

๐Ÿ›’ Asistente Comercial MCP

Python Streamlit LangChain Groq Tests

Sistema de agente de IA para anรกlisis comercial de un e-commerce de productos alimenticios.


๐Ÿ“‘ รndice


Related MCP server: Shop Analytics MCP Server

๐Ÿ“‹ Problema que Resuelve

El asistente ayuda a equipos comerciales y de atenciรณn al cliente a obtener informaciรณn rรกpida y verificable sobre:

  • Clientes: Bรบsqueda, perfil de consumo, identificaciรณn de alto valor

  • Productos: Productos mรกs vendidos, anรกlisis por categorรญa

  • Ventas: Anรกlisis por regiรณn, mรฉtodos de pago

  • Anรกlisis: Clasificaciรณn de clientes (VIP, Premium, Regular)

Usuario principal: Equipo comercial y de atenciรณn al cliente de un e-commerce.

Necesidad: Obtener informaciรณn rรกpida y verificable sobre clientes, ventas, productos y regiones sin necesidad de consultar directamente bases de datos.

Lo que cubre:

  • โœ… Bรบsqueda de clientes por nombre, apellido o regiรณn

  • โœ… Perfil de consumo de clientes

  • โœ… Productos mรกs vendidos

  • โœ… Anรกlisis de ventas por categorรญa y regiรณn

  • โœ… Preferencias de mรฉtodos de pago

  • โœ… Clasificaciรณn de clientes (VIP, Premium, Regular)

Lo que NO cubre:

  • โŒ Modificaciรณn de datos (solo lectura)

  • โŒ Procesamiento de pagos

  • โŒ Gestiรณn de inventario en tiempo real


๐Ÿ—๏ธ Arquitectura del Sistema

Diagrama de Componentes

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   USUARIO                                     โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                        โ”‚
                        โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚               INTERFAZ WEB (Streamlit)                        โ”‚
โ”‚       app_streamlit.py                                        โ”‚
โ”‚       โ€ข Chat interactivo                                      โ”‚
โ”‚       โ€ข Visualizaciรณn de evidencia                            โ”‚
โ”‚       โ€ข Gestiรณn de session_id                                 โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                        โ”‚
                        โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚               AGENTE LANGCHAIN + GROQ                         โ”‚
โ”‚       agent_core.py                                           โ”‚
โ”‚       โ€ข Interpretaciรณn de intenciรณn                           โ”‚
โ”‚       โ€ข Selecciรณn de herramientas                             โ”‚
โ”‚       โ€ข Memoria de corto plazo (InMemorySaver)                โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                        โ”‚
                        โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚           CLIENTE MCP (langchain-mcp-adapters)                โ”‚
โ”‚           โ€ข Descubrimiento de herramientas                    โ”‚
โ”‚           โ€ข Invocaciรณn de tools                               โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                        โ”‚
                        โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚               SERVIDOR MCP (FastMCP)                          โ”‚
โ”‚           mcp_server.py                                       โ”‚
โ”‚           โ€ข Exposiciรณn de 8 herramientas personalizadas       โ”‚
โ”‚           โ€ข Validaciรณn de entradas                            โ”‚
โ”‚           โ€ข Respuestas estructuradas                          โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ฌโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
                        โ”‚
                        โ–ผ
โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚                   BASE DE DATOS (SQLite)                      โ”‚
โ”‚           data/mcp_laboratorio.db                             โ”‚
โ”‚           โ€ข clientes โ€ข ventas โ€ข productos                     โ”‚
โ”‚           โ€ข categorias โ€ข metodos_pago                         โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Arquitectura

graph TD
    A[Usuario] --> B[Streamlit UI]
    B --> C[Agente LangChain + Groq]
    C --> D{ยฟNecesita tool?}
    D -->|Sรญ| E[Cliente MCP]
    D -->|No| F[Respuesta directa]
    E --> G[Servidor MCP FastMCP]
    G --> H[SQLite Database]
    H --> I[Resultado estructurado]
    I --> C
    F --> J[Respuesta final]
    C --> J
    J --> B
    B --> A
    
    style A fill:#B30909,stroke:#fff,stroke-width:2px
    style B fill:#00f,stroke:#fff,stroke-width:2px
    style C fill:#056c5c,stroke:#fff,stroke-width:2px
    style G fill:#f2f,stroke:#fff,stroke-width:2px
    style H fill:#1D7799,stroke:#fff,stroke-width:2px

Flujo de Ejecuciรณn

  1. Usuario escribe una pregunta en Streamlit

  2. Streamlit envรญa la pregunta al agente con session_id

  3. Agente LangChain + Groq interpreta la intenciรณn

  4. Decisiรณn:

    • Si necesita datos โ†’ Invoca tool MCP

    • Si no โ†’ Responde directamente

  5. MCP Server ejecuta la tool contra SQLite

  6. Resultado vuelve al agente

  7. Agente sintetiza respuesta con evidencia

  8. Streamlit muestra respuesta, tools usadas y traza

  9. Memoria guarda contexto para siguiente interacciรณn

Componentes y Responsabilidades

Capa

Tecnologรญa

Archivo

Responsabilidad

Interfaz

Streamlit

app_streamlit.py

Recibir preguntas, mostrar respuesta y evidencia

Orquestaciรณn

LangChain + Groq

agent_core.py

Interpretar intenciรณn, elegir tools, gestionar memoria

MCP

FastMCP

mcp_server.py

Exponer tools personalizadas con contratos claros

Datos

SQLite

data/

Entregar informaciรณn y ejecutar operaciones controladas

Memoria

InMemorySaver

agent_core.py

Mantener contexto de la conversaciรณn por session_id

๐Ÿ› ๏ธ Tecnologรญas Utilizadas

Tecnologรญa

Versiรณn

Propรณsito

Python

3.12.9+

Lenguaje base

Streamlit

1.28+

Interfaz web

LangChain

0.3+

Orquestaciรณn del agente

Groq

-

Modelo de lenguaje (llama-3.3-70b-versatile)

FastMCP

0.3+

Servidor MCP

SQLite

3.x

Base de datos local

Pandas

2.0+

Procesamiento de datos

Pytest

8.0+

Pruebas unitarias

Pytest-Asyncio

0.23+

Pruebas asรญncronas

๐Ÿ”ง Herramientas MCP

Tool

Propรณsito

Entrada

Salida

Riesgo

buscar_clientes

Buscar clientes

texto_busqueda, limite

Lista de clientes

Bajo

perfil_consumo_cliente

Perfil de consumo

cliente_id

Mรฉtricas de consumo

Bajo

clientes_alto_valor

Clientes con alto gasto

gasto_minimo, limite

Top clientes

Bajo

top_productos_vendidos

Productos mรกs vendidos

limite, ordenar_por

Ranking de productos

Bajo

analisis_categoria

Ventas por categorรญa

categoria (opcional)

Mรฉtricas por categorรญa

Bajo

ventas_por_region

Ventas por regiรณn

region (opcional)

Mรฉtricas por regiรณn

Bajo

preferencia_metodo_pago

Preferencias de pago

region (opcional)

Mรฉtricas de pago

Bajo

calcular_nivel_cliente

Clasificar cliente

gasto_total, total_ordenes

Nivel y recomendaciรณn

Bajo

๐Ÿง  Memoria

  • Tipo: Corto plazo (InMemorySaver)

  • Session ID: Identificador รบnico por conversaciรณn

  • Ventana: รšltimos 6-10 mensajes

  • Limitaciรณn: La memoria se pierde al reiniciar el servidor

๐Ÿ” Secretos y Configuraciรณn

Variables de Entorno Requeridas

Variable

Descripciรณn

Dรณnde obtenerla

GROQ_API_KEY

API Key de Groq

console.groq.com

GROQ_MODEL

Modelo a usar

llama-3.3-70b-versatile

MCP_SERVER_URL

URL del MCP Server

Local: http://127.0.0.1:8000/mcp

Configuraciรณn Local (.env)

  1. Copia el archivo de ejemplo:

cp .env.example .env
  1. Edita .env con tus valores:

GROQ_API_KEY=gsk_tu_api_key_aqui
GROQ_MODEL=llama-3.3-70b-versatile
MCP_SERVER_URL=http://127.0.0.1:8000/mcp

Configuraciรณn para Streamlit Cloud (Secrets)

En la interfaz de Streamlit Cloud, agrega estos secretos:

GROQ_API_KEY = "gsk_tu_api_key_aqui"
GROQ_MODEL = "llama-3.1-8b-instant"
MCP_SERVER_URL = "https://tu-mcp-server.onrender.com/mcp"

๐Ÿš€ Instalaciรณn Local

  1. Clonar el repositorio

git clone https://github.com/systemyuri/agente-mcp-groq.git
cd agente-mcp-groq
  1. Crear y activar entorno virtual

python -m venv .venv
#source .venv/bin/activate  # Linux/Mac
.venv\Scripts\activate   # Windows
  1. Instalar dependencias

pip install -r requirements.txt
  1. Configurar variables de entorno

cp .env.example .env
# Edita .env con tu GROQ_API_KEY
  1. Preparar datos

# Coloca tus archivos CSV en la carpeta data/
python load_data.py
  1. Ejecutar el MCP Server (Terminal 1)

python mcp_server.py

Salida esperada:

๐Ÿš€ Iniciando MCP Server...
   Base de datos: data/mcp_laboratorio.db
   โœ… Con validaciรณn de tipos para parรกmetros

๐Ÿ“‹ Tools disponibles:
   - buscar_clientes
   - perfil_consumo_cliente
   - clientes_alto_valor
   - top_productos_vendidos
   - analisis_categoria
   - ventas_por_region
   - preferencia_metodo_pago
   - calcular_nivel_cliente

๐ŸŒ Servidor HTTP escuchando en http://127.0.0.1:8000
   Endpoint MCP: http://127.0.0.1:8000/mcp
  1. Ejecutar Streamlit (Terminal 2)

streamlit run app_streamlit.py

๐Ÿงช Pruebas

El proyecto incluye pruebas unitarias para todas las herramientas MCP y el agente completo.

๐Ÿ“Š Cobertura de Pruebas

Componente

Pruebas

Estado

Tools MCP

9 pruebas

โœ… Todas pasan

Agente LangChain

5 pruebas

โœ… Todas pasan

Conexiรณn MCP

1 prueba

โœ… Todas pasan

Total

15 pruebas

โœ… 100% pasan

๐Ÿ”ง Pruebas de Herramientas MCP

Prueba

Descripciรณn

Estado

test_buscar_clientes

Bรบsqueda por regiรณn, nombre y validaciรณn de tipos

โœ…

test_perfil_consumo_cliente

Perfil de cliente existente e inexistente

โœ…

test_clientes_alto_valor

Filtrado por gasto mรญnimo y lรญmite

โœ…

test_top_productos_vendidos

Orden por cantidad e ingresos

โœ…

test_analisis_categoria

Todas las categorรญas y especรญfica

โœ…

test_ventas_por_region

Todas las regiones y especรญfica

โœ…

test_preferencia_metodo_pago

Todos los mรฉtodos y por regiรณn

โœ…

test_calcular_nivel_cliente

Clasificaciรณn VIP, Premium, Regular

โœ…

test_mcp

Conexiรณn al MCP Server

โœ…

๐Ÿง  Pruebas del Agente

Prueba

Descripciรณn

Estado

test_system_prompt

Verifica que el prompt estรก definido

โœ…

test_agent_creation

Creaciรณn del agente LangChain

โœ…

test_simple_query

Consulta simple sin tools

โœ…

test_tool_query

Consulta que usa herramientas MCP

โœ…

test_memory

Memoria entre turnos de conversaciรณn

โœ…

test_error_handling

Manejo de errores y casos extremos

โœ…

๐Ÿš€ Ejecutar Pruebas

1. Instalar dependencias de pruebas

pip install pytest pytest-cov pytest-asyncio

2. Asegurar que el MCP Server estรก corriendo

# En una terminal separada
python mcp_server.py

3. Ejecutar todas las pruebas

python -m pytest tests/ -v --asyncio-mode=auto

4. Ejecutar pruebas con cobertura

python -m pytest tests/ -v --cov=. --cov-report=html --asyncio-mode=auto
# Abrir htmlcov/index.html en el navegador

5. Ejecutar pruebas especรญficas

# Solo herramientas MCP
python -m pytest tests/test_tools.py -v
# Solo agente
python -m pytest tests/test_agent.py -v --asyncio-mode=auto
# Solo conexiรณn
python -m pytest tests/test_connection.py -v --asyncio-mode=auto

๐Ÿ“Š Resultado Esperado


============================================= test session starts =============================================
collected 15 items
tests/test_agent.py::test_system_prompt PASSED                                                           [  6%]
tests/test_agent.py::test_agent_creation PASSED                                                          [ 13%]
tests/test_agent.py::test_simple_query PASSED                                                            [ 20%]
tests/test_agent.py::test_tool_query PASSED                                                              [ 26%]
tests/test_agent.py::test_memory PASSED                                                                  [ 33%]
tests/test_agent.py::test_error_handling PASSED                                                          [ 40%]
tests/test_connection.py::test_mcp PASSED                                                                [ 46%]
tests/test_tools.py::test_buscar_clientes PASSED                                                         [ 53%]
tests/test_tools.py::test_perfil_consumo_cliente PASSED                                                  [ 60%]
tests/test_tools.py::test_clientes_alto_valor PASSED                                                     [ 66%]
tests/test_tools.py::test_top_productos_vendidos PASSED                                                  [ 73%]
tests/test_tools.py::test_analisis_categoria PASSED                                                      [ 80%]
tests/test_tools.py::test_ventas_por_region PASSED                                                       [ 86%]
tests/test_tools.py::test_preferencia_metodo_pago PASSED                                                 [ 93%]
tests/test_tools.py::test_calcular_nivel_cliente PASSED                                                  [100%]
=========================================== 15 passed in 3.42s ===========================================

๐Ÿ› Soluciรณn de Problemas en Pruebas

Error

Soluciรณn

ModuleNotFoundError: No module named 'langchain'

Activar entorno virtual: .venvScriptsactivate

async def functions are not natively supported

Instalar: pip install pytest-asyncio

MCP Server no detectado

Ejecutar python mcp_server.py en otra terminal

Error de conexiรณn

Verificar URL en .env: MCP_SERVER_URL=http://127.0.0.1:8000/mcp

๐ŸŒ Despliegue

En Streamlit Community Cloud

  1. Sube el cรณdigo a GitHub


git add .
git commit -m "feat: Asistente Comercial MCP con Groq"
git push origin main
  1. Ve a share.streamlit.io

  2. Conecta tu repositorio

    • Selecciona GitHub

    • Elige el repositorio y rama main

    • Archivo principal: app_streamlit.py

  3. Configura los Secretos
    En la secciรณn "Secrets", agrega:

    
    GROQ_API_KEY = "gsk_tu_api_key_aqui"
    GROQ_MODEL = "llama-3.1-8b-instant"
    MCP_SERVER_URL = "https://tu-mcp-server.onrender.com/mcp"
  4. Despliega

    • Haz clic en "Deploy"

    • Espera ~5 minutos

    • ยกObtendrรกs tu URL pรบblica!

MCP Server Remoto

Opciรณn 1: Render.com (Recomendado)

Crea render.yaml:


services:
  - type: web
    name: mcp-server
    env: python
    buildCommand: pip install -r requirements.txt
    startCommand: python mcp_server.py
    envVars:
      - key: GROQ_API_KEY
        sync: false

Opciรณn 2: ngrok (Para pruebas rรกpidas)


# Terminal 1
python mcp_server.py
# Terminal 2 (nueva terminal)
ngrok http 8000
# Copia la URL https://xxxx.ngrok.io
# Actualiza MCP_SERVER_URL con esta URL + /mcp

๐Ÿ“ Estructura del Proyecto


agente_mcp_groq/
โ”œโ”€โ”€ app_streamlit.py            # Interfaz web
โ”œโ”€โ”€ agent_core.py               # Lรณgica del agente (Groq, MCP, memoria)
โ”œโ”€โ”€ mcp_server.py               # Servidor MCP con 8 herramientas
โ”œโ”€โ”€ load_data.py                # Script para cargar datos
โ”œโ”€โ”€ check_db.py                 # Verificaciรณn de base de datos
โ”œโ”€โ”€ test_connection.py          # Prueba de conexiรณn MCP
โ”œโ”€โ”€ requirements.txt            # Dependencias
โ”œโ”€โ”€ README.md                   # Documentaciรณn
โ”œโ”€โ”€ .gitignore                  # Archivos a ignorar
โ”œโ”€โ”€ .env.example                # Ejemplo de variables de entorno
โ”œโ”€โ”€ data/ # Datos
โ”‚ โ”œโ”€โ”€ clientes.csv
โ”‚ โ”œโ”€โ”€ ventas.csv
โ”‚ โ”œโ”€โ”€ productos.csv
โ”‚ โ”œโ”€โ”€ categorias.csv
โ”‚ โ””โ”€โ”€ metodos_pago.csv
โ”œโ”€โ”€ tests/ # Pruebas unitarias
โ”‚ โ”œโ”€โ”€ __init__.py
โ”‚ โ”œโ”€โ”€ test_tools.py             # 8 pruebas de herramientas MCP
โ”‚ โ”œโ”€โ”€ test_agent.py             # 5 pruebas del agente
โ”‚ โ””โ”€โ”€ test_connection.py        # 1 prueba de conexiรณn
โ””โ”€โ”€ .streamlit/
  โ””โ”€โ”€ secrets.toml.example      # Ejemplo de secretos

๐Ÿ”— Enlaces

Producciรณn y Repositorio

Documentaciรณn Oficial


๐Ÿ‘ฅ Equipo

  • Desarrollador: David Yurivilca

  • Curso: Estrategias de Integracion

  • Fecha de Entrega: 19/07/2026


๐Ÿ“„ Licencia

MIT - Libre para uso educativo.


๐Ÿ™ Agradecimientos

  • Groq por el modelo de lenguaje de alto rendimiento

  • LangChain por la orquestaciรณn del agente

  • FastMCP por el servidor de herramientas

  • Streamlit por la interfaz web

  • Guรญa del Curso por la estructura y requisitos

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants like Claude to query, analyze, and summarize local SQLite e-commerce databases using natural language through 11 tools, schema resources, and pre-built analytical prompts.
  • F
    license
    A
    quality
    C
    maintenance
    Enables AI agents to answer analytical questions about an online store's SQLite database through specialized read-only tools, without any risk of modifying the underlying data.
    8
  • F
    license
    A
    quality
    C
    maintenance
    Enables AI agents to safely inspect and query an SQLite e-commerce database with tools for listing tables, describing schemas, and running read-only SQL queries while blocking destructive operations.
    4
  • F
    license
    A
    quality
    B
    maintenance
    Gives AI agents read-only analytical access to an e-commerce SQLite database (customers, orders, order_items, products) via SQL queries, table listing, and schema inspection.
    3

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/systemyuri/agente-mcp-groq'

If you have feedback or need assistance with the MCP directory API, please join our Discord server