Model Context Protocol // Streamable HTTP

QR Code 42 MCP Server

Connect AI coding assistants and agents directly to QR Code 42 to validate GS1 identifiers, claim GTINs, manage dynamic product links, export dual UPC + QR labels, publish hosted landing pages, and query scan analytics.

ENDPOINT https://qrcode42.com/mcp · TRANSPORT Streamable HTTP · PROTOCOL 2025-03-26
Zero-auth tryout + scoped org access: Tool discovery (tools/list) and validate_gs1_identifier work immediately with no API key. To manage products, links, labels, short links, landing pages, or analytics, mint a scoped API key in Dashboard → API Keys and pass Authorization: Bearer qr42_live_... (120 req/min per key).

Install in your AI app

Replace qr42_live_YOUR_KEY with an API key from qrcode42.com/dashboard → API Keys (or omit the Authorization header if you only want to test validate_gs1_identifier).

Claude Code

Add directly from your terminal:

claude mcp add --transport http qr42 https://qrcode42.com/mcp \
  --header "Authorization: Bearer qr42_live_YOUR_KEY"

Google Antigravity (agy)

Run in your terminal (or add to ~/.gemini/config/mcp_config.json):

agy mcp add \
  --header "Authorization: Bearer qr42_live_YOUR_KEY" \
  qr42 https://qrcode42.com/mcp

Cursor

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "qr42": {
      "url": "https://qrcode42.com/mcp",
      "headers": {
        "Authorization": "Bearer qr42_live_YOUR_KEY"
      }
    }
  }
}

Claude Desktop

Use mcp-remote in claude_desktop_config.json (or add https://qrcode42.com/mcp under Settings → Connectors):

{
  "mcpServers": {
    "qr42": {
      "command": "npx",
      "args": [
        "-y", "mcp-remote",
        "https://qrcode42.com/mcp",
        "--header",
        "Authorization: Bearer qr42_live_YOUR_KEY"
      ]
    }
  }
}

VS Code / GitHub Copilot

Add to .vscode/mcp.json in your workspace:

{
  "servers": {
    "qr42": {
      "type": "http",
      "url": "https://qrcode42.com/mcp",
      "headers": {
        "Authorization": "Bearer qr42_live_YOUR_KEY"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

{
  "mcpServers": {
    "qr42": {
      "serverUrl": "https://qrcode42.com/mcp",
      "headers": {
        "Authorization": "Bearer qr42_live_YOUR_KEY"
      }
    }
  }
}

Try it right now with curl (no key needed)

curl -X POST https://qrcode42.com/mcp \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "validate_gs1_identifier",
      "arguments": { "identifier": "00000012345007" }
    }
  }'

Available MCP tools (19)

Every org tool enforces the exact same API key scopes, rate limits, cross-org isolation, and GS1 check-digit validation as our REST API (OpenAPI 3.1).

ToolRequired scopeWhat it does
validate_gs1_identifierNone (public)Validates GTIN-14, GLN-13, GIAI, GRAI, or SSCC-18 check digits and returns its canonical GS1 Digital Link path.
get_orgAny valid keyInspects your org, granted scopes, and live plan quotas.
list_claimsgtins:readLists claimed GS1 identifiers and their verification status.
claim_identifiergtins:writeClaims a GTIN, GLN, GIAI, GRAI, or SSCC on a shared or custom brand host.
list_productsgtins:readLists all products and identifiers in your organization.
upsert_productgtins:writeCreates or updates a product's name and brand.
list_product_linkslinks:readLists all GS1 Digital Link destinations for a product.
add_product_linklinks:writeAdds and publishes a link (with optional language, country, lot, serial, or mediaType routing).
update_product_linklinks:writeUpdates an existing product link and republishes immediately.
delete_product_linklinks:writeRemoves a link and republishes the updated linkset.
export_product_labelgtins:readExports dual QR + UPC-A/EAN-13 SVG artwork and GS1 minimum print sizes in mm.
bulk_import_linkslinks:writeBatch-imports CSV rows onto verified claims.
list_short_linksshortlinks:readLists dynamic short links (qr42.link/{code} or custom domain).
create_short_linkshortlinks:writeCreates and publishes a dynamic short link.
update_short_linkshortlinks:writeUpdates a short link's destination URL, expiry, or active status.
delete_short_linkshortlinks:writeDeactivates a short link (410 Gone) while keeping the code reserved.
list_landing_pageslandingpages:readLists hosted white-label /l/{slug} landing pages.
publish_landing_pagelandingpages:writeCreates or updates a white-label /l/{slug} mobile landing page.
get_scan_analyticsanalytics:readReads aggregate scan counts by UTC day, link type, and country (zero IPs stored).

Looking for raw HTTP endpoints or HMAC-SHA256 webhooks? Read the REST API guide, download openapi.json, or inspect /llms.txt.

Cookie settings

Choose which cookies we may use. You can change this at any time from the footer. See the privacy policy.