
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.
概览
本地 MCP 服务器,让助手管理 QRTap 工作区:可编辑二维码、短链接、公开页面、评价、预订和条件跳转。
- 可以做什么
- 创建、列出、查看并重新指向二维码和短链接,支持批量创建和设计模板,并可查看变更历史与按二维码或分组的扫码统计。创建、读取和更新公开页面,读取或整体替换 Smart Link 条件跳转规则。列出访客评价并进行审核,列出预订或更改预订状态。读取聚合扫码分析,不含个人访客记录。
- 适用场景
- 适合让助手处理 QRTap 的日常事务:为菜单、价目表或门店生成二维码,把已印刷的二维码改指向新地址,编辑公开页面,处理评价和预订收件箱,或查看扫码数据。
- 运行要求
- 需要 Node.js 20 或更高版本,通过 npx 以 stdio 在本地运行。需要工作区所有者在 QRTap 后台签发、仅显示一次的 QRTAP_API_KEY。QRTAP_API_URL 可选,默认指向 QRTap 主机。需要访问 QRTap API 的网络。批量创建需要付费套餐。
安装
在 SourceWeft 中
- 打开 控制台中的 QRTap,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
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
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:
Claude Code
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:
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
Analytics
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})
Reviews and bookings
Smart Links (conditional redirects)
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:
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.
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).
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:
Smoke test by hand — one JSON-RPC message per line:
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.
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
- API reference and keys — app.qrtap.kg/developers
- OpenAPI spec — app.qrtap.kg/openapi.json
- Plans and limits — app.qrtap.kg/pricing
- Issues — github.com/IlyaShurf/qrtap-mcp/issues
MIT © 2026 QRTap (ИП Шуренков И.П., Kyrgyz Republic)
来源:README.md,提交 2288971
工具
0版本历史
3- v1.0.4最新Oct 16, 2026
- v1.0.3Oct 16, 2026
- v1.0.2Oct 15, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分