Skip to main content
Glama
p-touch-cube-mcp

p-touch-cube-mcp

by RRYZ09

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PTOUCH_ADDRYesBluetooth address of the P-touch CUBE printer, passed as an environment variable (for example via `claude mcp add --env PTOUCH_ADDR=XX:XX:XX:XX:XX:XX`).
PTOUCH_FONTNoPath to a font file to use for Japanese text if the Japanese font cannot be found.
PTOUCH_CHANNELNoBluetooth SPP channel to use when the default is not correct. For example, the PT-P300B uses channel 2.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
print_label_textA

文字(と、あれば画像)をラベルにして印刷する(PT-P300BT)。改行で複数行(12mm テープは 1 行がおすすめ)。

dry_run=true なら印刷せず、仕上がりの PNG だけ作る(最初は必ずこれで見る)。 tape_mm: 3.5 / 6 / 9 / 12 / 18 / 24。PT-P300BT で使えるのは 3.5〜12。実機で確認済みなのは 12 だけ。 media: laminated(ラミネート)/ non_laminated(布・リボンなど)。font_size 省略で高さに自動で合わせる。 image_path を渡すと、画像と文字を横に並べる。image_position: left(画像→文字)/ right(文字→画像)/ both(画像→文字→画像。画像で文字を挟む)/ between(文字→画像→文字。文字で画像を挟む。後ろの文字は text_after)。 icon_scale: 画像の大きさ 0.2〜1。 font_path: 好きなフォントファイル(かわいいフォントなど)。 latin_font_path: 半角の英数字・記号だけ別のフォントにする(日本語と英語を混ぜるとき)。 segments: 文字ごとにフォントを選ぶ。[{"text": "ラベル", "font_path": "/…/a.ttf"}, {"text": "Label", "font_path": "/…/b.ttf"}] を左から順につなぐ(1 行。text は無視される)。

print_label_imageA

JPEG / PNG の画像ファイルをラベルにして印刷する。白黒に変換され、テープの幅に合わせて縮む。

tape_mm: 3.5 / 6 / 9 / 12 / 18 / 24。実機で確認済みなのは 12 だけ。

rotate: 90 / 180 / 270 で回す(縦長の画像を寝かせるとき)。dither=false で写真でなくロゴ向けの二値化。 dry_run=true なら印刷せず仕上がりの PNG だけ作る。

printer_statusA

プリンタにつないで、テープの幅・種類・エラーの有無を読む(つながるかの確認にも)。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 3 tools

Disambiguation4/5

The three tools mostly target distinct actions: text-label printing, image-label printing, and printer status. However, print_label_text also supports embedding images via image_path/image_position, creating some overlap with print_label_image for image-containing labels.

Naming Consistency4/5

Two tools follow a clear print_label_* pattern, but printer_status breaks the verb-style convention by using a noun phrase. The deviation is minor and still readable.

Tool Count5/5

Three tools are well-scoped for a label printer: one for text labels, one for image labels, and one for status/connection checks. Each tool has a clear role and the set is appropriately minimal.

Completeness4/5

The core label-printing workflow is covered, including dry-run previews, tape sizing, and printer status. Minor gaps exist, such as no explicit tool for listing supported fonts/media or clearing printer errors, but agents can work around these.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues