TepraMCP
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TepraMCP18mmテープで「会議室A」とQRコード付きラベルを印刷して"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
TepraMCP
キングジムのラベルプリンター 「テプラ」PRO SR5900P を Wi-Fi/LAN 経由で操作する MCP サーバーです。 Claude などの MCP クライアントから、日本語テキスト・QRコード・画像を載せたラベルを直接印刷できます。
tepra_discover … ネットワーク上のテプラを探す
tepra_status … 電源・カバー・装着テープ幅を確認
tepra_preview … 印刷せずにラベル画像を返す(テープを無駄にしない)
tepra_print … 実際に印刷する動作原理
SR5900P は UDP/9100 を制御チャネル、TCP/9100 をラスターデータの転送に使う独自プロトコルを話します。 本実装はその解析結果(Mine02C4 / hikalium/sr5900p)に基づく 非公式 の再実装です。 公式ドライバやテプラクリエイターのインストールは不要ですが、本体ファームウェアの更新で 動かなくなる可能性がある点はご承知おきください。
印刷解像度は 360dpi。ラベルは 1bpp に二値化され、テープ送り方向に 1 列ずつ転送されます。
Related MCP server: mcp-server-zipcode-jp
セットアップ
npm install && npm run buildMCP クライアントの設定に追加します(claude_desktop_config.json や .mcp.json):
{
"mcpServers": {
"tepra": {
"command": "node",
"args": ["C:/Users/swmr7/Documents/GitHub/TepraMCP/dist/index.js"],
"env": {
"TEPRA_PRINTER_IP": "192.168.1.50"
}
}
}
}TEPRA_PRINTER_IP を設定しておくと毎回 IP を指定せずに済みます。未設定の場合は各ツールの
printer 引数で渡すか、まず tepra_discover で探してください。
環境変数
変数 | 用途 |
| プリンターの IP アドレス(既定値) |
| 使用フォントの CSS スタック。未設定ならシステムの日本語フォントを自動選択 |
| 日本語フォントを持たない環境(コンテナ等)でフォントを読み込むディレクトリ |
使い方
自然言語で頼めば十分です。
「会議室A / 3F 北側」って2行のラベルを18mmテープで印刷して
このURLのQRコード付きラベルをプレビューして
ラベルの指定項目
引数 | 説明 |
| 行の配列。テープ幅いっぱいになるよう自動で文字サイズを決定 |
| 左端に置く QR コードの内容 |
| 貼り込む PNG/JPEG |
| 4/6/9/12/18/24/36。省略時はプリンターから自動検出 |
| ラベル長の固定/最低長の指定 |
| ラベルに余白がある場合の寄せ方向 |
| 前後の余白(既定 2mm) |
| 太字(既定 true) |
| ハーフカット( |
| 同一ラベルの連続印刷枚数( |
制限
印刷は 1 行レイアウト([QR][画像][テキスト])に固定です。枠線や複雑な組版は未対応。
テープカートリッジの色は判別しません(プリンターが幅しか返さないため)。
tepra_discoverは mDNS を使うため、プリンターと同一サブネットにいる必要があります。
ライセンス
Apache-2.0
Available Tools
4 toolstepra_discoverFind TEPRA printersA
Search the local network for TEPRA printers via mDNS and return their IP addresses.
| Name | Required | Description | Default |
|---|---|---|---|
| timeoutMs | No | How long to listen for replies, in ms (default: 3000). |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description is the sole source of transparency. It reveals the network method (mDNS) and result (IP addresses), which is helpful. However, it does not disclose edge cases like no printers found, timeout behavior, or read-only nature. More detail would be beneficial.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, well-structured sentence with no filler. It is front-loaded with the action and target, making it efficient and easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a simple tool with one optional parameter and no output schema, the description covers the primary behavior and return type (IP addresses). It does not explicitly state empty-result behavior or the exact return format, but the core use case is clear. Slightly more detail would make it fully complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% (timeoutMs is described in the schema), so the description needs no additional parameter information. It does not add value beyond the schema, hence the baseline score of 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states a specific action ('Search') with a clear target ('TEPRA printers on local network'), method ('mDNS'), and outcome ('return their IP addresses'). This clearly distinguishes it from sibling tools that operate on an already-discovered printer.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is implied by the purpose—use when you need to discover printer IPs—but the description does not explicitly state when to use this tool vs alternatives or mention prerequisites. No reference to siblings or a typical workflow is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
tepra_previewPreview a TEPRA labelA
Render a label and return it as an image without printing. Use this to check the layout before spending tape.
| Name | Required | Description | Default |
|---|---|---|---|
| qr | No | Payload for a QR code at the left edge. | |
| bold | No | Bold text (default: true). | |
| text | No | Lines of text, stacked top to bottom. Japanese is supported. | |
| align | No | Alignment when the label is longer than its content. | |
| printer | No | Printer IP address. Defaults to the TEPRA_PRINTER_IP env var. | |
| lengthMm | No | Force an exact label length in mm instead of auto-sizing. | |
| marginMm | No | Blank margin at each end, in mm (default: 2). | |
| imagePath | No | Absolute path to a PNG/JPEG to place on the label. | |
| fontFamily | No | CSS font stack, e.g. "Yu Gothic UI". Defaults to a Japanese system stack. | |
| imageBase64 | No | Base64 PNG/JPEG, as an alternative to imagePath. | |
| minLengthMm | No | Pad the label out to at least this length, in mm. | |
| tapeWidthMm | No | Tape width in mm (4/6/9/12/18/24/36). Auto-detected from the printer when omitted. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the behavioral transparency burden. It clearly discloses that the tool does not print and therefore does not consume tape, and that it returns an image. It could go further by detailing the exact return format, but it covers the most important side-effect distinction.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is exactly two sentences, front-loading the core action, output, and primary use case. Every word earns its place, with no redundancy or filler.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 12 parameters but a rich schema, the description covers the essential behavior, the non-printing side effect, and the intended use case. The lack of an output schema means a more explicit return-format note would help, but the description is still largely complete for a preview tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema describes all 12 parameters with 100% coverage, so the description need not repeat parameter details. It correctly stays at the baseline of 3, adding no extra parameter-specific guidance beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Render' and identifies the resource 'a label', clearly stating the output is an image and the action is 'without printing'. This strongly distinguishes it from sibling tools like tepra_print.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explicitly advises using the tool to 'check the layout before spending tape', providing clear context for when to call it. It does not name alternative tools, but the contrast with printing is implied, which is adequate for this tool.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
tepra_printPrint a TEPRA labelA
Render and print a label on the TEPRA SR5900P. Consumes tape — preview first if the layout is uncertain.
| Name | Required | Description | Default |
|---|---|---|---|
| qr | No | Payload for a QR code at the left edge. | |
| bold | No | Bold text (default: true). | |
| text | No | Lines of text, stacked top to bottom. Japanese is supported. | |
| align | No | Alignment when the label is longer than its content. | |
| copies | No | Number of identical labels to print (default: 1). | |
| halfCut | No | Score the backing paper for easy peeling (default: true). | |
| printer | No | Printer IP address. Defaults to the TEPRA_PRINTER_IP env var. | |
| lengthMm | No | Force an exact label length in mm instead of auto-sizing. | |
| marginMm | No | Blank margin at each end, in mm (default: 2). | |
| imagePath | No | Absolute path to a PNG/JPEG to place on the label. | |
| fontFamily | No | CSS font stack, e.g. "Yu Gothic UI". Defaults to a Japanese system stack. | |
| imageBase64 | No | Base64 PNG/JPEG, as an alternative to imagePath. | |
| minLengthMm | No | Pad the label out to at least this length, in mm. | |
| tapeWidthMm | No | Tape width in mm (4/6/9/12/18/24/36). Auto-detected from the printer when omitted. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It discloses the most important behavioral trait: the tool consumes a physical resource (tape). It also warns to preview first if layout is uncertain, which is a significant side-effect disclosure. However, it doesn't mention potential errors, printer connectivity requirements, or whether the operation is blocking.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, concise sentence with no wasted words. It front-loads the purpose ('Render and print') and includes a critical caveat about tape consumption and preview guidance. Every word earns its place.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (14 params) and lack of output schema, the description provides essential context: purpose, resource consumption, and a preview recommendation. It could mention what happens on success/failure or how it interacts with printer discovery, but the core workflow is adequately covered. The schema handles parameter details, so the description remains appropriately scoped.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, with each of the 14 parameters clearly described with types, defaults, and constraints. The tool description itself adds no parameter-specific meaning beyond this. Baseline of 3 is appropriate since the schema does the heavy lifting.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's function: 'Render and print a label on the TEPRA SR5900P.' It uses a specific verb ('render and print') and a specific resource (label on a named printer). This clearly distinguishes it from sibling tools like tepra_preview (preview only) and tepra_status (status check).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description gives clear usage context: 'Consumes tape — preview first if the layout is uncertain.' This implicitly recommends using the preview tool before printing and warns about the cost of misuse. While it doesn't explicitly exclude use cases, it provides a practical guideline for when to print vs. preview.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
tepra_statusTEPRA statusA
Report whether the printer is ready and which tape cartridge is loaded.
| Name | Required | Description | Default |
|---|---|---|---|
| printer | No | Printer IP address. Defaults to the TEPRA_PRINTER_IP env var. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden. It transparently states that the tool reports readiness and tape cartridge, implying a read-only status operation. However, it does not disclose edge-case behavior such as error handling or network requirements, so it is transparent but not exhaustive.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence with no redundant words. It directly states the tool's purpose and is front-loaded with the key action and object.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's low complexity (one optional parameter, no nested objects, no output schema), the description adequately explains what the tool reports. It lacks exact return format details but is still complete enough for a simple status tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The schema fully describes the only parameter (Printer IP address, defaulting to the TEPRA_PRINTER_IP env var). The description adds no parameter information, so it remains at the baseline of 3 given high schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'Report' and names two concrete outputs: printer readiness and loaded tape cartridge. This clearly distinguishes it from sibling tools like tepra_discover, tepra_preview, and tepra_print, which serve different functions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description explains what the tool does but gives no explicit guidance on when to use it versus alternatives. There is no mention of checking status before printing or when not to use it, so usage is only implied from the tool name and description.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
4 tool updates
v0.1.0- First observed
tepra_discover - First observed
tepra_preview - First observed
tepra_print - First observed
tepra_status
TDQS
Each tool has a clear, distinct purpose: discovery, status checking, preview, and printing. There is no overlap; an agent can easily choose the right tool for the task.
All tool names follow a consistent pattern of 'tepra_' followed by a verb (discover, status, preview, print). This makes the tool set predictable and easy to navigate.
Four tools is a well-scoped count for a printer control server. Each tool serves a necessary function in the label printing workflow, and none are redundant.
The tool set covers the full workflow: discovering printers, checking status, previewing the label, and printing. There are no obvious missing operations for the domain.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Japan shipping labels for AI agents: buy Yamato, Sagawa, Japan Post labels and track via Ship&co.
Scan QR codes and go! No more troublesome autos or APIs! Send text messages, images, links, locati…
Preview ZPL labels as PNG, validate ZPL with structured diagnostics, generate barcodes.
Cloud printing integration for AI-assisted app development via ezeep.
Related MCP Servers
- FlicenseNot gradedqualityNot gradedmaintenanceEnables text-to-speech generation through the Omotenashi QR API, supporting multiple languages (Japanese, English, Chinese, Korean) with customizable voice speakers and speed settings.-
- FlicenseBqualityDmaintenanceEnables searching Japanese addresses by 7-digit zip code using the zipcloud API.1-
- -licenseNot gradedqualityCmaintenanceEnables access to Japanese labor and social insurance law data via e-Gov API and official notices from MHLW and JAISH, running as a local MCP server on Windows.-
- AlicenseAqualityCmaintenanceProvides access to Japanese tax law data from official sources via a local web server on Windows.72,575MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/swmr71/TepraMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server