QRTap

io.github.IlyaShurf由 GitHub 帳號 IlyaShurf 發布v1.0.4更新於 Oct 25, 2026

Editable QR codes, short links, public pages, reviews and bookings as tools for AI agents.

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理管理 QRTap 工作區:可編輯 QR 碼、短連結、公開頁面、評論、預訂與條件式轉址。

可以做什麼
建立、列出、檢視並重新指向 QR 碼與短連結,支援批次建立與設計範本,並可查看變更歷程與依 QR 碼或群組的掃描統計。建立、讀取與更新公開頁面,讀取或整批取代 Smart Link 條件式轉址規則。列出訪客評論並進行審核,列出預訂或變更預訂狀態。讀取彙總掃描分析,不含個人訪客紀錄。
適用情境
適合讓助理處理 QRTap 的日常工作:為菜單、價目表或分店產生 QR 碼,把已印製的 QR 碼改指向新網址,編輯公開頁面,處理評論與預訂收件匣,或查看掃描數據。
執行需求
需要 Node.js 20 或更新版本,透過 npx 以 stdio 在本機執行。需要由工作區擁有者在 QRTap 後台簽發、僅顯示一次的 QRTAP_API_KEY。QRTAP_API_URL 為選用,預設指向 QRTap 主機。需要連線至 QRTap API 的網路。批次建立需要付費方案。
安裝前請注意
QRTAP_API_KEY 擁有整個工作區的權限,應放在用戶端的 env 設定中,不要寫入提示詞或程式碼儲存庫。多個工具會改變真實客戶看到的內容:變更 QR 碼目標、審核評論、設定預訂狀態與設定 Smart Link 規則。頁面更新與 Smart Link 規則更新會整批取代內容,省略的部分會被清除。呼叫受方案設定的每分鐘與每日額度限制。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 QRTap,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

qrtap-mcp — QRTap for AI agents

An MCP stdio server that lets Claude, or any MCP-compatible assistant, run a QRTap workspace: editable QR codes and short links, public pages, guest reviews, booking requests and conditional redirects.

Русская версия: README.ru.md.

Why it exists

A QRTap code encodes a permanent short link, and the destination behind that link stays editable forever. Print a code on a menu, a price list, a shop window or a business card once — then change where it leads as often as you need. Nothing is reprinted.

That makes the product a good fit for an agent: "put a QR on the summer menu", "point the sticker at the new price list", "issue 120 codes for the branches, one per branch", "are there new bookings?" are all one or two tool calls.

Install

bash
npx -y qrtap-mcp        # run the stdio servernpm i -g qrtap-mcp      # or install the qrtap-mcp binary

Node 20 or newer, and nothing else: the package is compiled JavaScript with zero runtime dependencies, so npx fetches about 22 kB and the server is up — no toolchain download on first run. It speaks MCP on stdin/stdout and logs to stderr only.

Configuration

VariableMeaning
QRTAP_API_KEYRequired. Workspace API key.
QRTAP_API_URLAPI base. Default https://app.qrtap.kg.

Where to get a key. The workspace owner issues it in the QRTap cabinet at app.qrtap.kg/workspace/api. The key is shown once, carries the rights of the whole workspace, and can be revoked there at any time. A key can be issued on any plan, including the free one — you can try the integration before paying. What the plan changes is the budget and the batch endpoints, not the door; see Limits and plans below and app.qrtap.kg/pricing.

Treat the key like a password: keep it in the MCP client's env block, not in a prompt, a repository or a shared document.

Claude Desktop

Settings → Developer → Edit Config, then add to claude_desktop_config.json:

json
{  "mcpServers": {    "qrtap": {      "command": "npx",      "args": ["-y", "qrtap-mcp"],      "env": { "QRTAP_API_KEY": "qrtap_key_XXXX" }    }  }}

Claude Code

bash
claude mcp add qrtap --env QRTAP_API_KEY=qrtap_key_XXXX -- npx -y qrtap-mcp

Cursor, Windsurf, VS Code and other MCP clients

The same entry works anywhere that accepts the standard mcpServers shape — .cursor/mcp.json, .mcp.json at a project root, or the client's own settings file:

json
{  "mcpServers": {    "qrtap": {      "command": "npx",      "args": ["-y", "qrtap-mcp"],      "env": { "QRTAP_API_KEY": "qrtap_key_XXXX" }    }  }}

Tools

Twenty tools over the public REST API v1. Read operations are safe to call freely; the four marked public effect change what real customers see, and their descriptions tell the agent to confirm with the user first.

Codes and short links

ToolMaps to
qrtap_create_code(url, title?, external_ref?, group?, design_template_id?)POST /api/v1/codes
qrtap_create_codes_bulk(items[])POST /api/v1/codes/bulk — up to 500, per-item results
qrtap_list_codes(group?, external_ref?, include_stats?, limit?, offset?)GET /api/v1/codes
qrtap_get_code(codeId)GET /api/v1/codes/{id}
qrtap_change_destination(codeId, url) — public effectPATCH /api/v1/codes/{id}
qrtap_code_history(codeId)GET /api/v1/codes/{id}/history
qrtap_create_short_link(url)POST /api/v1/codes
qrtap_list_design_templates()GET /api/v1/design-templates

Analytics

ToolMaps to
qrtap_code_stats(codeId, from?, to?)GET /api/v1/codes/{id}/stats
qrtap_group_stats(group, from?, to?)GET /api/v1/groups/{group}/stats

Scan analytics are anonymous and aggregate by design: totals, a per-day series and a device split. Bots are excluded, and no visitor IPs or user-agents are stored, so there are no per-person records for an agent to ask for.

Public pages (/a/{slug})

ToolMaps to
qrtap_list_pages()GET /api/v1/pages
qrtap_get_page(slug)GET /api/v1/pages/{slug}
qrtap_create_page(content)POST /api/v1/pages
qrtap_update_page(slug, content)PATCH /api/v1/pages/{slug}

Reviews and bookings

ToolMaps to
qrtap_list_reviews(status?)GET /api/v1/reviews (default pending)
qrtap_moderate_review(reviewId, action) — public effectPOST /api/v1/reviews/{id}/moderate
qrtap_list_bookings(status?)GET /api/v1/bookings
qrtap_set_booking_status(bookingId, status) — public effectPOST /api/v1/bookings/{id}/status

Smart Links (conditional redirects)

ToolMaps to
qrtap_get_smart_rules(codeId)GET /api/v1/codes/{id}/smart-rules
qrtap_set_smart_rules(codeId, rules) — public effectPUT /api/v1/codes/{id}/smart-rules

Two rules an agent should know

Read before you overwrite. qrtap_update_page and qrtap_set_smart_rules replace their payload wholesale — anything you omit is erased. Fetch the current state with qrtap_get_page / qrtap_get_smart_rules, merge your change into it, send the whole object back.

Set external_ref on batches. Creation is idempotent by external_ref, so a retried call returns the existing code instead of minting a duplicate. It is what makes a partly failed batch safe to re-run.

Printable artifacts

png_url and svg_url come back on every code. For a print shop, request a PDF directly — artifact endpoints need the same Bearer key:

bash
curl -H "Authorization: Bearer $QRTAP_API_KEY" \  "https://app.qrtap.kg/api/v1/codes/$CODE_ID/qr?format=pdf" -o code.pdf

format is png | svg | pdf; size sets PNG width (256–3000, ~2000 for print). PNG output is decode-verified before it is returned. Rendering is not exposed as a tool because the result is a binary file rather than text an agent can reason over.

Ready-made agent skills

Step-by-step recipes for the common jobs — a menu you can change without reprinting, a specialist's page in five minutes, one QR for reviews on 2GIS/Google/Yandex, issuing a batch of codes, working the booking inbox — live in skills/ in the repository. Each one is a single self-contained markdown file you can hand to an assistant.

Limits and plans

Two budgets apply to every /api/v1 call: a per-minute brake and a per-day quota, both set by the workspace plan.

PlanPer minutePer dayActive keysBulk and scan webhooks
Free601001no
Standard1205,0003yes
Full30050,00010yes

The free tier exists so a developer or an agent can try the integration before buying: 100 calls a day is enough to build and demo, not to run a business on.

Over a budget the API answers 429 and says which one ran out — {"error":"rate_limited", "scope":"minute"} means wait seconds, {"error":"quota_exceeded","scope":"day"} means wait for UTC midnight. Both carry Retry-After and the X-RateLimit-Limit / -Remaining / -Reset headers, and the tool result surfaces all of it verbatim so an agent can back off instead of hammering.

Two calls are worth preferring on any plan: qrtap_create_codes_bulk over a loop, and qrtap_list_codes(include_stats=true) over per-code stats requests.

qrtap_create_codes_bulk needs a paid plan. On a free workspace it answers 402 plan_required with the current plan and an upgrade URL; the fallback is a loop of qrtap_create_code within the daily quota. Current plan limits live in one place in the platform — API_PLAN_LIMITS — and the table above tracks it.

Errors

API failures come back as ordinary tool results with isError: true, carrying the HTTP status and the response body as text, so the agent can read and explain them rather than crash. Only an unknown tool name is a JSON-RPC error (-32602).

StatusMeaning
401Key missing, invalid or revoked
402 plan_requiredThe request is valid, the plan does not cover it (bulk, scan webhooks)
404No such object in your workspace — another tenant's id looks identical to a typo, deliberately
422Content rejected: a page with no contact, or a QR caption with promo wording
429Budget exhausted; read scope and honour Retry-After

Licence and terms — where the line is

The client code in this package is MIT-licensed: read it, fork it, vendor it, ship it inside your own product. The LICENSE file is the whole of the grant.

That licence covers this thin client and nothing else. Access to the QRTap API is a separate matter, governed by your QRTap plan and the QRTap terms of use: the service, the hosted platform and the data in your workspace remain QRTap's. An MIT licence on the client is not an entitlement to the API — you still need a valid key on a plan that includes API access, and the usual limits and terms apply.

Development

All commands run from this package directory, in the monorepo and in the public mirror alike:

bash
npm install          # first time onlynpm test             # vitest: tool→HTTP mapping and MCP dispatchnpm run typecheck

Smoke test by hand — one JSON-RPC message per line:

bash
npm run build    # dist/ must exist firstQRTAP_API_KEY=qrtap_key_XXXX node bin/qrtap-mcp.mjs <<'EOF'{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"smoke","version":"0"}}}{"jsonrpc":"2.0","method":"notifications/initialized"}{"jsonrpc":"2.0","id":2,"method":"tools/list"}EOF

The published package is compiled JavaScript in dist/ and has zero runtime dependencies — npx -y qrtap-mcp downloads about 22 kB and starts on plain Node, with no toolchain to fetch first. prepack rebuilds dist/ on every npm pack and npm publish, so an unbuilt or stale package cannot be shipped.

bash
npm run build     # tsc -p tsconfig.build.json → dist/

TypeScript sources live in src/ in the repository (MIT, see below) but are not in the tarball. The MCP stdio protocol is implemented directly in src/server.ts; imports carry explicit .js extensions because tsc does not rewrite specifiers and the emitted ESM has to resolve under plain Node.

About this repository

This is the published source of the qrtap-mcp npm package: the server, its tests and the agent skills. The rest of the QRTap platform (web app, API, database) is closed and lives in a private repository, so the history here starts at the first public release rather than at the first commit.

One test is intentionally absent. plan-limits.test.ts reads the plan grid out of the platform's database package and checks that the numbers in this README match what is actually sold; it can only run where both halves exist, so it stays in the private repository.

Issues and pull requests about the server, the skills or the docs are welcome here.

Links

MIT © 2026 QRTap (ИП Шуренков И.П., Kyrgyz Republic)

來源:README.md,提交 2288971

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

3
  1. v1.0.4最新Oct 16, 2026
  2. v1.0.3Oct 16, 2026
  3. v1.0.2Oct 15, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分