Files
printerCentral/README.md
josedario87 5666df4ce0
All checks were successful
build-and-deploy / build-and-deploy (push) Successful in 36s
docs: Actualizar README con comando MCP y endpoints
2025-11-25 13:01:44 -06:00

992 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 printercentral --transport http --url 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