feat: initial MCP server for printing markdown to Epson TM-m30
Single tool `print(markdown, title?, timestamp?, qr_urls?, cut?)`. Hand-rolled line-by-line markdown parser translates headings/bold/code/lists/blockquotes/ HR/links to ESC/POS, then sends raw bytes via TCP to 192.168.0.184:9100. Mirrors mcp-gemma4 layout (stdio server, single server.py, mcp package).
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
[project]
|
||||
name = "mcp-pos-print"
|
||||
version = "0.1.0"
|
||||
description = "MCP server that prints markdown to the Epson TM-m30 receipt printer (192.168.0.184)."
|
||||
requires-python = ">=3.10"
|
||||
dependencies = [
|
||||
"mcp>=1.0.0",
|
||||
"python-escpos>=3.0",
|
||||
"qrcode>=7.0",
|
||||
]
|
||||
|
||||
[tool.setuptools]
|
||||
py-modules = ["server"]
|
||||
Reference in New Issue
Block a user