Files
printerCentral/README.md
josedario87 f20acbd1dd
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 36s
fix: Corregir sintaxis del comando mcp add
2025-11-25 13:03:29 -06:00

986 B

PrinterCentral

Sistema central para gestión de impresoras Epson ePOS.

MCP Server para Claude Code

Agregar el MCP a tu proyecto (token desde Authentik > Directory > Tokens):

claude mcp add --transport http printercentral https://printercentral.nucleoriofrio.com/api/mcp --header "Authorization: Bearer <AUTHENTIK_TOKEN>"

Setup

npm install

Development

npm run dev

Production

npm run build

API Endpoints

Impresoras

  • GET /api/printers - Listar impresoras
  • POST /api/printers - Crear impresora
  • POST /api/printers/select - Seleccionar impresora activa

Templates

  • GET /api/templates - Listar templates
  • POST /api/templates - Crear template

Impresion

  • POST /api/print - Imprimir operaciones
  • POST /api/print/template - Imprimir template con variables
  • POST /api/print/raw - Imprimir operaciones con variables

MCP

  • POST /api/mcp - Endpoint JSON-RPC para agentes IA