Skip to main content
Glama
piedraprog

MCP RifaExpress Backend

by piedraprog

MCP RifaExpress Backend

MCP Server para interactuar con el backend de RifaExpress (PostgreSQL + API REST).

Variables de Entorno

Crea un archivo .env en la raíz del proyecto:

# PostgreSQL Connection
DB_HOST=localhost
DB_PORT=5432
DB_NAME=rifaexpress
DB_USER=postgres
DB_PASSWORD=tu_password

# API REST (opcional)
API_URL=http://localhost:3000/api
API_TOKEN=tu_jwt_token

Instalación

npm install
npm run build

Uso

npm start

Tools Disponibles

Base de Datos

  • rifaexpress_query_db - Ejecutar queries SELECT en PostgreSQL

  • rifaexpress_inspect_table - Ver schema de una tabla

  • rifaexpress_list_tables - Listar todas las tablas

Entidades

  • rifaexpress_get_companies - Obtener companies con filtros

  • rifaexpress_get_users - Obtener users con filtros

  • rifaexpress_get_plans - Obtener plans

  • rifaexpress_get_subscriptions - Obtener subscriptions (cuando exista la tabla)

Utilidades

  • rifaexpress_health_check - Verificar conexión a BD y API

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

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/piedraprog/mcp_rifaexpress'

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