linkbreakers-mcp

中文文档
1.190.0发布于 2026/11/04MITES Module构建来源已验证

Local stdio bridge to the Linkbreakers MCP server (https://mcp.linkbreakers.com) for MCP clients that only run local servers.

原始使用文档
文档目录5 节
  1. How it works
  2. Setup
  3. Authentication
  4. Releases
  5. License

linkbreakers-mcp

An MCP server that lets AI agents create and track QR codes. Connect Claude, Cursor, VS Code or any MCP client to Linkbreakers and your agent can create a dynamic QR code and its short link, style the code, put a lead capture form between the scan and the destination and read back every scan: device, country, city and time, visitors and analytics.

npx -y linkbreakers-mcp

Sign in with OAuth on the first request, nothing to paste. Works on every Linkbreakers plan, Free included.

What an agent can ask for, and the tools it uses:

AskTools
"Make a QR code for our spring poster that opens example.com/spring"links_create
"Make one code per store from this list"links_create_bulk
"Make the code navy with rounded dots"qrcodedesigns_update
"Ask for an email before the redirect"workflow_steps_create
"Who scanned the poster this week, and from where?"events_list, visitors_list
"How many scans did the workspace get?"metrics_workspace

In clients that render MCP Apps (Claude, ChatGPT), links_create, links_get, visitors_list and metrics_workspace answer with an interactive card.

How it works

This package is a local stdio bridge to the hosted server at https://mcp.linkbreakers.com, for MCP clients that can only start local (stdio) servers. If your client supports remote MCP servers, connect it to https://mcp.linkbreakers.com directly instead. See the setup guide.

Tools, resources and their schemas come from the hosted server: this package forwards every request unchanged, so it always matches what https://mcp.linkbreakers.com serves.

Setup

{
  "mcpServers": {
    "linkbreakers": {
      "command": "npx",
      "args": ["-y", "linkbreakers-mcp"]
    }
  }
}

Authentication

On the first request, your browser opens the Linkbreakers sign-in. Once you approve, the tools appear. Tokens are stored in ~/.config/linkbreakers/mcp-oauth.json and refreshed automatically.

The MCP server accepts OAuth only: dashboard API tokens are refused, so there is nothing to paste. API tokens are for the REST API, the SDKs and the CLI.

VariableDefaultPurpose
LINKBREAKERS_MCP_URLhttps://mcp.linkbreakers.comServer to forward to
LINKBREAKERS_MCP_CALLBACK_PORT47823Local port for the OAuth redirect

Requires Node.js 18 or later.

Releases

Each API release dispatches update-sdk to this repo. The release workflow sets the package to the API version, checks that the server answers an MCP initialize over stdio, publishes to npm through trusted publishing and tags v<version>.

License

MIT

版本与发布记录

linkbreakers-mcp 共发布 45 个版本,首次发布于 2026/10/11;过去 12 个月发布了 45 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
1.190.0latest2026/11/041 天前
1.189.02026/11/041 天前
1.188.52026/11/031 天前
1.188.42026/11/032 天前
1.188.32026/11/032 天前
1.188.22026/11/023 天前

关于 linkbreakers-mcp 的常见问题

linkbreakers-mcp 是什么?

Local stdio bridge to the Linkbreakers MCP server (https://mcp.linkbreakers.com) for MCP clients that only run local servers.

如何安装 linkbreakers-mcp?

在项目目录运行 npm install linkbreakers-mcp,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 linkbreakers-mcp,可以用 npx linkbreakers-mcp 直接运行。

linkbreakers-mcp 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/linkbreakers-mcp 是否存在。

linkbreakers-mcp 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

linkbreakers-mcp 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

linkbreakers-mcp 可以商用吗?

linkbreakers-mcp 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

linkbreakers-mcp 还在维护吗?

最新版本 1.190.0 发布于 2026/11/04(1 天前);至今共发布 45 个版本,其中过去 12 个月发布了 45 个;首次发布于 2026/10/11。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。