sharecut-mcp
sharecut-mcp
ShareCut 的 MCP 服务器 —— 通过 Claude、Cursor 或任何 MCP 客户端生成二维码并创建可追踪的短链接。
二维码生成完全免费,且无需注册账号。
安装
使用远程服务器,无需安装:
claude mcp add --transport http sharecut https://sharecut.site/mcp或通过 stdio 运行本包:
npx sharecut-mcp{
"mcpServers": {
"sharecut": {
"command": "npx",
"args": ["-y", "sharecut-mcp"],
"env": { "SHARECUT_API_KEY": "sc_live_..." }
}
}
}SHARECUT_API_KEY 是可选的 —— 省略它,create_qr 依然可用。
Related MCP server: OpenQR
工具
create_qr —— 免费,无需 API 密钥
将任意 URL 或文本渲染为二维码。返回 SVG;如果你指定 format: "png",还会返回 PNG 数据 URL。可选 color 参数,使用十六进制值。
这种二维码是静态的:目标地址被编码在二维码图案本身中,因此一经打印,便永远指向那里。
shorten_url —— 需要 API 密钥
在创建者造一个 ShareCut 短链接,以及一个指向该短链接的二维码。由于二维码编码的是短链接而非最终目标地址,因此你可以在打印之后更改它指向的位置,并且每次扫描都会被记录下来 —— 国家/地区、设备、来源。
这种差异正是关键所在。海报、菜单、名片或产品标签的寿命往往比印刷在其上的 URL 更长;静态的二维码更换场景链接在网站迁移或营销活动变更后无法继续保持,而这种二维码可以。
接收 url 参数,以及一个可选的 customCode。在创建链接之前,目标地址会经过 Google 安全浏览的筛查。
API key
只有 shorten_url 需要 API key. 请在
sharecut.site/p/profile 创建 —— API 访问是 Business 计划的一部分 —— 然后以 SHARECUT_API_KEY 的方式传入。
没有程序化注册流程:密钥需要由真人创建。完整的认证协议见 auth.md。
工作原理
这个包是连接 https://sharecut.site/mcp 的一个薄薄的 stdio 桥。它把换行分隔的 JSON-RPC 消息传送到该端点而后取回响应,这意味着零依赖(npx 启动非常快),也不用追逐升级:工具都运行在服务器端,因此服务器上的更新会直接生效,你无需改动任何配置。
把 SHARECUT_MCP_URL 指向其他地方,即可接入不同的部署。
OpenAPI —— https://sharecut.site/openapi.json
服务器卡片 —— https://sharecut.site/.well-known/mcp/server-card.json
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Dynamic, editable QR codes + short links with scan analytics and branded QR rendering.
Create QR codes, re-point printed dynamic codes, name links on your domain, read scan analytics.
Short links and trackable QR codes: editable after printing, device routing, scan stats.
191
Related MCP Servers
- AlicenseAqualityDmaintenanceGenerate styled QR codes, manage dynamic short links with click analytics, and publish micro-landing pages via AI agents.1940 npm1MIT
- AlicenseNot gradedqualityAmaintenanceGenerate QR codes and create, edit and track dynamic (editable) QR codes with scan analytics, folders, style themes and branded subdomain management. Free REST API with an OpenAPI spec alongside; every tool takes a free API key.12AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables AI clients to generate QR codes for URLs, WiFi networks, contacts, text and email, and to list saved codes and read scan analytics by time range, device, OS and approximate location. Connects over a remote streamable HTTP endpoint with no installation required, though the analytics and account tools require an API key.MIT
- AlicenseNot gradedqualityCmaintenanceLets an AI assistant create QR codes and short links, re-point or pause them, inspect scan counts and analytics, and read the contents of a QR image you supply. It connects to a hosted workspace over Streamable HTTP, so codes can be managed and tracked without leaving the chat.MIT