Skip to main content
Glama
bestimmaa

@bestimmaa/posprint-mcp

by bestimmaa

@bestimmaa/posprint-mcp

MCP server for POS printer receipts using @bestimmaa/posprint.

The tool is intentionally named print so clients can map natural user phrasing such as "print receipt", "hard copy", or "print this out" to the same operation.

Requirements

  • Node.js 20+

  • A printer reachable via a CUPS URI supported by @bestimmaa/posprint

Related MCP server: Yamato Printer MCP Server

MCP Client Configuration

Add this to your MCP client config. No separate installation step is required — npx fetches the package on first run.

{
  "mcpServers": {
    "posprint": {
      "command": "npx",
      "args": ["-y", "@bestimmaa/posprint-mcp"]
    }
  }
}

Global Install (optional)

npm install -g @bestimmaa/posprint-mcp

After global installation, you can use the shorter form in your MCP client config:

{
  "mcpServers": {
    "posprint": {
      "command": "posprint-mcp"
    }
  }
}

Development

npm install
npm run build
npm test

Run the local server from source:

npm run dev

Run the built server:

npm start

Tool: print

Input:

  • printerUri: string

  • markdown: string

  • mode: "preview" | "confirm"

  • confirmationToken?: string (required when mode="confirm")

  • options?: { copies?: number; timeoutMs?: number }

Two-step confirmation flow

  1. Call print with mode: "preview".

  2. Show the returned snippet to the user and ask for confirmation.

  3. Call print again with mode: "confirm" and the returned confirmationToken.

Preview response includes:

  • requiresConfirmation: true

  • confirmationToken

  • preview.lineCount

  • preview.snippet

  • preview.excessiveLengthWarning (present when markdown is more than 80 lines)

Confirm response shape:

{ "ok": true, "meta": { "printerUri": "...", "durationMs": 20, "printedAt": "...", "jobId": "optional" } }

Error codes:

  • VALIDATION_ERROR

  • PRINTER_ERROR

  • TIMEOUT

Install Server
A
license - permissive license
A
quality
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Tools

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/bestimmaa/posprint-mcp'

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