barcode-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| PORT | No | Port for HTTP server (default: 8787) | |
| MCP_API_KEY | No | Optional API key for Authorization header |
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
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| encode_epcA | Encode an SGTIN-96, SSCC-96 or GIAI-96 EPC for UHF RFID tags from a GS1 company prefix, reference and (for SGTIN) serial. Returns the EPC hex, EPC tag URI and 96-bit binary. This computes the value to write to a tag; it does not program a physical tag. |
| generate_barcodeC | Generate a 1D barcode (Code 128, EAN-13, EAN-8, UPC-A, Code 39, ITF-14) or QR code as a PNG image. |
| generate_qrA | Generate a QR code as a PNG image. Convenience wrapper around generate_barcode for QR. |
| bulk_barcodeA | Generate many barcodes/QR codes at once from a list. Returns one PNG per item (capped at 50). |
| decode_barcodeA | Decode 1D and 2D barcodes (QR, Code 128, EAN, UPC, Code 39, DataMatrix, etc.) from an image supplied as a base64 string or a local file path. Returns the decoded value(s) and format(s). |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 5 tools
Each tool targets a distinct operation: decoding, generating a QR, encoding an EPC, generating a general barcode, and bulk generation. The potential overlap between generate_qr and generate_barcode is explicitly resolved by naming generate_qr as a convenience wrapper.
Most tools follow a clear verb_noun pattern (decode_barcode, generate_qr, encode_epc, generate_barcode). bulk_barcode deviates slightly as an adjective_noun, but it's understandable and not chaotic.
With 5 tools, the server covers a coherent set of barcode operations without being bloated. This is an appropriate scope for a specialized barcode MCP server.
The server provides decoding, generation, bulk generation, and EPC encoding, covering common workflows. However, it lacks generation support for 2D formats other than QR (e.g., DataMatrix), which are decodable, creating a minor gap.