Qrblox

السجل الرسمي التسويق والمبيعات

Create and track QR codes, audio codes, menus, and scan analytics for a Qrblox merchant.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (streamable-http)
Claude Code
claude mcp add --transport http qrblox 'https://api.qrblox.com/mcp/v1' --header 'Authorization: <Bearer token: your sk-qrblox- API key from https://app.qrblox.com/settings>'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "qrblox": {
            "type": "http",
            "url": "https://api.qrblox.com/mcp/v1",
            "headers": {
                "Authorization": "<Bearer token: your sk-qrblox- API key from https://app.qrblox.com/settings>"
            }
        }
    }
}
NPM package qrblox-mcp
Claude Code
claude mcp add qrblox -e 'QRBLOX_API_KEY=<your qrblox_api_key>' -- npx -y qrblox-mcp@0.1.0
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "qrblox": {
            "command": "npx",
            "args": [
                "-y",
                "qrblox-mcp@0.1.0"
            ],
            "env": {
                "QRBLOX_API_KEY": "<your qrblox_api_key>"
            }
        }
    }
}

متغيرات البيئة

  • QRBLOX_API_KEY سري Your sk-qrblox- API key (optional for keyless tools)

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Qrblox MCP
  2. What is it?
  3. Quick start
  4. Tools
  5. Discovery
  6. Errors
  7. Security model
  8. Related
  9. License

Qrblox MCP

The Model Context Protocol server for Qrblox — let any MCP-aware AI agent generate and manage QR codes, audio codes, menus, and loyalty campaigns.

📚 Full reference: docs.qrblox.com/mcp.html 🌐 Endpoint: https://app.qrblox.com/api/mcp 🔑 Mint a key: create.qrblox.com/settings/api-keys 🟢 No-key sandbox: POST https://app.qrblox.com/api/generate-qr-code

This is a public, README-only repo. The MCP server itself is deployed at the endpoint above; the canonical docs live at docs.qrblox.com/mcp.html.


What is it?

qrblox-mcp is a JSON-RPC 2.0 MCP server. Point Claude Desktop, Cursor, Codex, or any MCP client at https://app.qrblox.com/api/mcp, paste in a sk-qrblox- key, and the assistant can immediately draft QR codes (and audio codes, menus, and loyalty campaigns) and read scan analytics on a merchant workspace.

Every code created via the MCP lives on the caller's Qrblox account alongside codes made from the iOS, Android, Canva, and web surfaces.


Quick start

1. Try it free (no signup, no OAuth)
curl -X POST https://app.qrblox.com/api/generate-qr-code \
  -H 'content-type: application/json' \
  -d '{"url":"https://example.com"}'

Returns:

{
  "ok": true,
  "code": {
    "codeId": "…",
    "destinationUrl": "https://example.com",
    "qrImage":    "data:image/png;base64,…",            // inline PNG
    "qrImageUrl": "https://storage.googleapis.com/…",    // hosted PNG
    "claimToken": "…",
    "expiresAt":  "…"
  },
  "upgrade": { "signup": "https://app.qrblox.com", "apiKeys": "https://create.qrblox.com/settings/api-keys" }
}

Sandbox limits: 3 codes / IP / day, codes expire in 7 days.

2. Mint an API key

Sign in to create.qrblox.com → Settings → API keys → New API key. Keys are sk-qrblox-<64 hex chars>, shown once, and revocable anytime.

3. Connect Claude Desktop
// ~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "qrblox": {
      "url": "https://app.qrblox.com/api/mcp",
      "headers": {
        "Authorization": "Bearer sk-qrblox-..."
      }
    }
  }
}

Restart Claude Desktop. Then ask: *"Generate a QR code for https://my-spring-menu.com."*

4. Or Cursor / Codex / curl

Same URL, same Authorization header.

# tools/list — no auth required
curl -X POST https://app.qrblox.com/api/mcp \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

# tools/call — create a code on your account
curl -X POST https://app.qrblox.com/api/mcp \
  -H 'authorization: Bearer sk-qrblox-...' \
  -H 'content-type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call",
       "params":{"name":"qrblox.qr.create",
                 "arguments":{"title":"Spring menu",
                              "destinationUrl":"https://qrblox.com/menu/spring"}}}'

Tools

All tools are merchant-scoped and draft-first — agents propose, the merchant approves before publishing.

ToolDescription
qrblox.pingConfirm reachability + identity.
qrblox.merchant.get_profileThe merchant workspace attached to the key.
qrblox.qr.listList recent QR codes.
qrblox.qr.createCreate a draft QR code (URL, menu, offer, campaign).
qrblox.audio.createDraft an audio code (near-ultrasonic payload).
qrblox.menu.create / .list / .add_itemBuild and extend merchant menus.
qrblox.challenge.createScan streaks, scan-count games, visit-window or loyalty campaigns.
qrblox.analytics.scan_summaryTotal scans + by-day series.

Plus two REST endpoints for non-MCP callers:

EndpointAuthNotes
POST /api/generate-qr-codenone3 / IP / day, sandbox, 7-day expiry.
POST /api/bulk-qr-codesBearer sk-qrblox-...Up to 50 permanent codes per call, written to your merchant workspace.

Discovery

URLWhat it returns
GET https://app.qrblox.com/api/mcpServer info + the full tool list (no auth).
POST https://app.qrblox.com/api/mcp tools/listJSON-RPC tool discovery (no auth).
GET https://app.qrblox.com/api/generate-qr-codePublic manifest: endpoint shape, limits, upgrade path.

Full reference and connect snippets at **docs.qrblox.com/mcp.html**.


Errors

HTTP / JSON-RPCMeaning
400 / -32600Invalid JSON-RPC 2.0 request.
401 / -32001Missing or invalid key. data.code = NO_AUTH / INVALID_API_KEY / INVALID_TOKEN.
403 / -32001Key revoked (data.code = REVOKED).
200 / -32601Unsupported method.
200 / -32602Unknown tool.
200 / -32000Tool handler threw — read error.message.

Security model

  • Merchant-scoped — every API key is tied to one merchant workspace and one owner uid; tools can't reach another merchant's data.
  • Hashed keys — plaintext shown once; Firestore stores only a SHA-256 hash and a short prefix.
  • Audited — every tool call writes an audit entry with the caller, tool name, and status. Arguments and results are not persisted.
  • Draft-first — creation tools produce drafts; publishing, billing, and destructive changes stay with the merchant.


License

© Qrblox / Terahertz Inc.

الأسئلة الشائعة

ما هو Qrblox؟

Create and track QR codes, audio codes, menus, and scan analytics for a Qrblox merchant.

كيف أثبّت Qrblox؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport http qrblox 'https://api.qrblox.com/mcp/v1' --header 'Authorization: <Bearer token: your sk-qrblox- API key from https://app.qrblox.com/settings>'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج Qrblox إلى مفتاح API؟

نعم. يتطلب QRBLOX_API_KEY, Authorization، وتضبطها في إعداداته.

هل Qrblox مفتوح المصدر؟

شيفرته علنية على GitHub، لكن المستودع لا يعلن ترخيصًا قياسيًا.

من يصون Qrblox؟

ينشره Terahertz-Inc. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.