diff --git a/README.md b/README.md index 25b5821..5e7bdd0 100644 --- a/README.md +++ b/README.md @@ -1,75 +1,50 @@ -# Nuxt Minimal Starter +# PrinterCentral -Look at the [Nuxt documentation](https://nuxt.com/docs/getting-started/introduction) to learn more. +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): + +```bash +claude mcp add printercentral --transport http --url https://printercentral.nucleoriofrio.com/api/mcp --header "Authorization: Bearer " +``` + +--- ## Setup -Make sure to install dependencies: - ```bash -# npm npm install - -# pnpm -pnpm install - -# yarn -yarn install - -# bun -bun install ``` -## Development Server - -Start the development server on `http://localhost:3000`: +## Development ```bash -# npm npm run dev - -# pnpm -pnpm dev - -# yarn -yarn dev - -# bun -bun run dev ``` ## Production -Build the application for production: - ```bash -# npm npm run build - -# pnpm -pnpm build - -# yarn -yarn build - -# bun -bun run build ``` -Locally preview production build: +## API Endpoints -```bash -# npm -npm run preview +### Impresoras +- `GET /api/printers` - Listar impresoras +- `POST /api/printers` - Crear impresora +- `POST /api/printers/select` - Seleccionar impresora activa -# pnpm -pnpm preview +### Templates +- `GET /api/templates` - Listar templates +- `POST /api/templates` - Crear template -# yarn -yarn preview +### Impresion +- `POST /api/print` - Imprimir operaciones +- `POST /api/print/template` - Imprimir template con variables +- `POST /api/print/raw` - Imprimir operaciones con variables -# bun -bun run preview -``` - -Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information. +### MCP +- `POST /api/mcp` - Endpoint JSON-RPC para agentes IA