@bestimmaa/posprint-mcp 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/src/cli.js CHANGED
File without changes
@@ -8,7 +8,7 @@ export function createServer() {
8
8
  name: "posprint-mcp",
9
9
  version: "0.1.0"
10
10
  });
11
- server.tool("print", "Print markdown content to a POS printer via CUPS URI. Use this when the user asks to print, print a receipt, make a hard copy, or print something out. Call with mode=preview first, then call again with mode=confirm and confirmationToken.", {
11
+ server.tool("print", "Print markdown content to a POS printer via CUPS URI. Use this tool when the user asks to print, print out, print a receipt/report/ticket/invoice/bill/label, make a hard copy, get a physical copy, send to printer, or output to paper. Call with mode=preview first, then call again with mode=confirm and confirmationToken.", {
12
12
  printerUri: z.string(),
13
13
  markdown: z.string(),
14
14
  mode: z.enum(["preview", "confirm"]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bestimmaa/posprint-mcp",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "MCP server for printing markdown receipts on POS printers.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -28,7 +28,7 @@
28
28
  "access": "public"
29
29
  },
30
30
  "scripts": {
31
- "build": "rm -rf dist && tsc -p tsconfig.build.json",
31
+ "build": "rm -rf dist && tsc -p tsconfig.build.json && chmod +x dist/src/cli.js",
32
32
  "prepare": "npm run build",
33
33
  "start": "node dist/src/cli.js",
34
34
  "dev": "tsx src/cli.ts",