API Keg — Barcode, QR & Label Sheet Engine
Generate QR codes, GS1-128, Code-128, EAN-13 & UPC-A as SVG/PNG, plus Avery & Zebra label sheets.
사용해야 할까요
품질 및 안전성
발견 사항 (6)
- HIGH
- MEDIUMgenerate_barcode에서
- MEDIUMgenerate_label_sheet에서
- MEDIUMvalidate_gtin_check_digit에서
- MEDIUMaccount_create_checkout에서
- LOWaccount_rotate_api_key에서
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"barcode-pass": {
"url": "https://barcode-pass.apikeg.com/mcp"
}
}
}원격 엔드포인트
https://barcode-pass.apikeg.com/mcpstreamable-http할 수 있는 일
도구 목록
도구 (7)
🟢generate_barcode(format, value, scale, barHeight, quietZone, ...)
Encodes a QR Code, Code-128, GS1-128, EAN-13, or UPC-A symbol, validating/computing GS1 check digits and returning vector SVG and base64 PNG. Pricing: $0.001 USD per generated barcode or QR symbol (SVG + PNG) (x402 instant micropayment). Defaults to HTTP 402 (x402); if your client lacks 402 support, sign in via MCP OAuth or subscribe at https://apikeg.com/account. Pass ?dry_run=true on REST to validate schema free.
입력 스키마
{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"qr",
"code128",
"gs1_128",
"ean13",
"upca"
],
"description": "Symbology format: 'qr' (ISO 18004 v1-v10 UTF-8), 'code128' (Set B/C auto-packed), 'gs1_128' (GS1 Application Identifiers with FNC1), 'ean13' (GTIN-13), or 'upca' (GTIN-12)."
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"description": "Payload to encode (UTF-8 string/URL for QR; printable ASCII for code128; '(01)...' AI string for gs1_128; 12/13 digits for ean13; 11/12 digits for upca)."
},
"scale": {
"type": "integer",
"minimum": 1,
"maximum": 24,
"description": "Pixels per module (defaults to 4 for QR and 2 for 1D linear barcodes)."
},
"barHeight": {
"type": "integer",
"minimum": 20,
"maximum": 400,
"description": "Bar height in pixels for 1D linear barcodes (defaults to 72)."
},
"quietZone": {
"type": "integer",
"minimum": 0,
"maximum": 32,
"description": "Quiet zone margin in modules (defaults to ISO standard: 4 for QR, 9-11 for 1D)."
},
"includeText": {
"type": "boolean",
"description": "Render human-readable text beneath symbol (defaults to true for 1D, false for QR)."
},
"label": {
"type": "string",
"maxLength": 120,
"description": "Optional custom human-readable caption override beneath the barcode."
},
"foreground": {
"type": "string",
"maxLength": 16,
"description": "Foreground bar/module hex color (#RGB or #RRGGBB, default '#000000')."
},
"background": {
"type": "string",
"maxLength": 16,
"description": "Background hex color (#RGB or #RRGGBB, default '#FFFFFF')."
},
"errorCorrection": {
"type": "string",
"enum": [
"L",
"M",
"Q",
"H"
],
"default": "M",
"description": "QR Code error correction level: L (~7%), M (~15%), Q (~25%), H (~30%)."
},
"apiKey": {
"type": "string",
"minLength": 10,
"maxLength": 256,
"description": "Optional API Keg Bearer key (ak_live_... or ak_oauth_...) returned by account_verify_and_checkout when your MCP client does not send an Authorization HTTP header."
}
},
"required": [
"format",
"value"
],
"additionalProperties": false
}🟢generate_label_sheet(template, items, startOffset, includeBarcodeText, includePng, ...)
Batch-encodes up to 200 QR or 1D barcodes into print-ready @page HTML/SVG label sheets formatted for Avery 5160 (30-up US Letter), Zebra 4x6 shipping thermal, or Zebra 2x1 retail/bin tags. Pricing: $0.002 base (up to $0.008 max ($0.002 base + $0.002 per 50 rendered labels, capped at $0.008 for up to 200 labels), x402 variable settlement). Defaults to HTTP 402 (x402); if your client lacks 402 support, sign in via MCP OAuth or subscribe at https://apikeg.com/account. Pass ?dry_run=true on REST to validate schema free.
입력 스키마
{
"type": "object",
"properties": {
"template": {
"type": "string",
"enum": [
"avery_5160",
"zebra_4x6",
"zebra_2x1"
],
"default": "avery_5160",
"description": "Print stock layout: 'avery_5160' (3x10 US Letter 8.5x11in, 30/page), 'zebra_4x6' (4x6in shipping/pallet thermal), or 'zebra_2x1' (2x1in retail/shelf thermal)."
},
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"qr",
"code128",
"gs1_128",
"ean13",
"upca"
],
"description": "Symbology format: 'qr' (ISO 18004 v1-v10 UTF-8), 'code128' (Set B/C auto-packed), 'gs1_128' (GS1 Application Identifiers with FNC1), 'ean13' (GTIN-13), or 'upca' (GTIN-12)."
},
"value": {
"type": "string",
"minLength": 1,
"maxLength": 1024,
"description": "Barcode or QR payload for this label."
},
"title": {
"type": "string",
"maxLength": 120,
"description": "Primary product, bin, pallet, or attendee title printed on the label."
},
"subtitle": {
"type": "string",
"maxLength": 120,
"description": "Secondary line (e.g. price '$24.99', lot/expiry, or warehouse location)."
},
"sku": {
"type": "string",
"maxLength": 64,
"description": "Optional SKU or internal item code."
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 200,
"default": 1,
"description": "Number of identical copies of this label to emit (total sheet labels <= 200)."
},
"errorCorrection": {
"type": "string",
"enum": [
"L",
"M",
"Q",
"H"
],
"default": "M",
"description": "QR Code error correction level: L (~7%), M (~15%), Q (~25%), H (~30%)."
}
},
"required": [
"format",
"value"
],
"additionalProperties": false,
"description": "Single barcode/QR label entry within a print sheet batch."
},
"minItems": 1,
"maxItems": 200,
"description": "1 to 200 barcode/QR label definitions to render onto print-ready sheets."
},
"startOffset": {
"type": "integer",
"minimum": 0,
"maximum": 29,
"default": 0,
"description": "Blank cells to skip on page 1 for partially used Avery 5160 sheets."
},
"includeBarcodeText": {
"type": "boolean",
"description": "Render human-readable text inside each barcode SVG (defaults to true for 1D, false for QR)."
},
"includePng": {
"type": "boolean",
"default": false,
"description": "Also include lossless base64 PNGs alongside each label's inline SVG."
},
"foreground": {
"type": "string",
"maxLength": 16,
"description": "Foreground bar/module hex color (#RGB or #RRGGBB, default '#000000')."
},
"background": {
"type": "string",
"maxLength": 16,
"description": "Background hex color (#RGB or #RRGGBB, default '#FFFFFF')."
},
"apiKey": {
"type": "string",
"minLength": 10,
"maxLength": 256,
"description": "Optional API Keg Bearer key (ak_live_... or ak_oauth_...) returned by account_verify_and_checkout when your MCP client does not send an Authorization HTTP header."
}
},
"required": [
"items"
],
"additionalProperties": false
}🟢validate_gtin_check_digit(value, values, apiKey)
Validates or computes official GS1 Modulo-10 check digits for GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), GTIN-14, GSIN-17, and SSCC-18 identifiers (single value or batch up to 100). Pricing: $0.0005 USD per GTIN/SSCC validation request (up to 100 codes) (x402 instant micropayment). Defaults to HTTP 402 (x402); if your client lacks 402 support, sign in via MCP OAuth or subscribe at https://apikeg.com/account. Pass ?dry_run=true on REST to validate schema free.
입력 스키마
{
"type": "object",
"properties": {
"value": {
"type": "string",
"minLength": 1,
"maxLength": 64,
"description": "Single GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), GTIN-14, GSIN-17, or SSCC-18 string to validate or complete."
},
"values": {
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 64
},
"minItems": 1,
"maxItems": 100,
"description": "Optional batch of 1 to 100 GTIN/SSCC strings to validate in a single call."
},
"apiKey": {
"type": "string",
"minLength": 10,
"maxLength": 256,
"description": "Optional API Keg Bearer key (ak_live_... or ak_oauth_...) returned by account_verify_and_checkout when your MCP client does not send an Authorization HTTP header."
}
},
"additionalProperties": false
}🟡account_send_verification_code(email)
Free ($0.00). Sends a 9-character verification code (AAA-AAA-AAA) to the user's email address to register, sign in, or view their current ak_live_... API key without rotating it. Ask for the email and resulting code using your built-in interactive question tool (AskUserQuestion / ask_question).
입력 스키마
{
"type": "object",
"properties": {
"email": {
"type": "string",
"minLength": 5,
"maxLength": 254,
"description": "User's email address to receive the 9-character verification code."
}
},
"required": [
"email"
],
"additionalProperties": false
}🟡account_verify_and_checkout(email, code, tierId, createCheckout, rotateApiKey)
Free ($0.00). Verifies the 9-character email code from account_send_verification_code, returns the user's current ak_live_... API key on the first call (even if already registered, without rotating their key!), and optionally creates a direct Stripe Checkout URL for "barcode-pass" ($5, $20, or $50/mo).
입력 스키마
{
"type": "object",
"properties": {
"email": {
"type": "string",
"minLength": 5,
"maxLength": 254,
"description": "The same email address passed to account_send_verification_code."
},
"code": {
"type": "string",
"minLength": 9,
"maxLength": 16,
"description": "9-character verification code (AAA-AAA-AAA) from the user's email."
},
"tierId": {
"type": "string",
"enum": [
"starter_5",
"growth_20",
"scale_50"
],
"default": "starter_5",
"description": "Monthly plan for this API: starter_5 ($5/mo = $6 credit), growth_20 ($20/mo = $28 credit), or scale_50 ($50/mo = $80 credit)."
},
"createCheckout": {
"type": "boolean",
"default": true,
"description": "Set false when the user only wants to view their current ak_live_... API key without generating a Stripe Checkout session."
},
"rotateApiKey": {
"type": "boolean",
"default": false,
"description": "Leave false (default) to return the user's existing ak_live_... key unchanged. Set true only if the user explicitly wants to revoke and replace their key."
}
},
"required": [
"email",
"code"
],
"additionalProperties": false
}🟡account_create_checkout(tierId, apiKey)
Free ($0.00). Generates a direct Stripe Checkout URL (https://checkout.stripe.com/...) for "barcode-pass" ($5, $20, or $50/mo) using either the connected Authorization header or an apiKey.
입력 스키마
{
"type": "object",
"properties": {
"tierId": {
"type": "string",
"enum": [
"starter_5",
"growth_20",
"scale_50"
],
"default": "starter_5",
"description": "Monthly plan to activate or upgrade to: starter_5 ($5/mo = $6 credit), growth_20 ($20/mo = $28 credit), or scale_50 ($50/mo = $80 credit)."
},
"apiKey": {
"type": "string",
"minLength": 10,
"maxLength": 256,
"description": "Optional ak_live_... or ak_oauth_... key when no Authorization header is configured on the MCP client."
}
},
"additionalProperties": false
}🔴account_rotate_api_key(apiKey)
Free ($0.00). Rotates the user's ak_live_... API key immediately without requiring an email verification code, authenticating with either the connected Authorization header or the current apiKey.
입력 스키마
{
"type": "object",
"properties": {
"apiKey": {
"type": "string",
"minLength": 10,
"maxLength": 256,
"description": "Current ak_live_... or ak_oauth_... Bearer key when no Authorization header is configured on the MCP client."
}
},
"additionalProperties": false
}커뮤니티
증거