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.
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).
| Tool | Required scope | What it does |
|---|---|---|
validate_gs1_identifier | None (public) | Validates GTIN-14, GLN-13, GIAI, GRAI, or SSCC-18 check digits and returns its canonical GS1 Digital Link path. |
get_org | Any valid key | Inspects your org, granted scopes, and live plan quotas. |
list_claims | gtins:read | Lists claimed GS1 identifiers and their verification status. |
claim_identifier | gtins:write | Claims a GTIN, GLN, GIAI, GRAI, or SSCC on a shared or custom brand host. |
list_products | gtins:read | Lists all products and identifiers in your organization. |
upsert_product | gtins:write | Creates or updates a product's name and brand. |
list_product_links | links:read | Lists all GS1 Digital Link destinations for a product. |
add_product_link | links:write | Adds and publishes a link (with optional language, country, lot, serial, or mediaType routing). |
update_product_link | links:write | Updates an existing product link and republishes immediately. |
delete_product_link | links:write | Removes a link and republishes the updated linkset. |
export_product_label | gtins:read | Exports dual QR + UPC-A/EAN-13 SVG artwork and GS1 minimum print sizes in mm. |
bulk_import_links | links:write | Batch-imports CSV rows onto verified claims. |
list_short_links | shortlinks:read | Lists dynamic short links (qr42.link/{code} or custom domain). |
create_short_link | shortlinks:write | Creates and publishes a dynamic short link. |
update_short_link | shortlinks:write | Updates a short link's destination URL, expiry, or active status. |
delete_short_link | shortlinks:write | Deactivates a short link (410 Gone) while keeping the code reserved. |
list_landing_pages | landingpages:read | Lists hosted white-label /l/{slug} landing pages. |
publish_landing_page | landingpages:write | Creates or updates a white-label /l/{slug} mobile landing page. |
get_scan_analytics | analytics:read | Reads 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.