Linkrescue Mcp

io.github.carsonroell-debug由 GitHub 账号 carsonroell-debug 发布v0.1.1更新于 Oct 24, 2026

Broken link detection with affiliate tracking, revenue loss estimation, and fixes

概览

AI 生成的概览

LinkRescue MCP 让 AI 助手扫描网站中的失效及丢失跟踪参数的联盟链接、设置定期监控,并获得按优先级排序的修复建议。

可以做什么
扫描 URL 或站点地图中的失效链接,返回明细与汇总统计,并报告虽能打开但丢失跟踪参数、点击后不产生收益的联盟链接(仅统计暴露数量,不估算收入)。为网站设置按指定频率重复执行的链接监控。根据扫描报告或原始失效链接列表生成按优先级排序的修复建议。检查服务器与后端 API 的连通性。
适用场景
适合联盟站点站长和网站管理员,让助手审计链接健康状况、发现静默的跟踪失效,并把扫描结果整理成按优先级排列的修复清单,或对站点进行持续监控。
运行要求
以本地 Python 进程运行(pip install linkrescue-mcp),也可使用托管的远程端点。需要访问 LinkRescue 后端的网络;LINKRESCUE_API_BASE_URL 指定端点,LINKRESCUE_API_KEY 用于请求认证。API 密钥仅在 Pro 和 Agency 套餐提供。LINKRESCUE_DEMO_MODE=1 可在本地测试时返回带标记的示例数据。
安装前请注意
会把被扫描的站点 URL 和结果发送给第三方 LinkRescue 后端。LINKRESCUE_API_KEY 是密钥,请勿放入共享配置。完整爬虫、修复建议、监控和站点地图爬取受付费套餐限制,使用可能产生费用。监控会在服务端创建持久化的计划任务。不要在真实站点上启用 LINKRESCUE_DEMO_MODE,因为它返回的是模拟数据。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Linkrescue Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

LinkRescue MCP Server

[PyPI] [License: MIT] [MCPize]

Find broken affiliate links fast, prioritize by impact, and generate fix suggestions your AI agent can act on.

One call. 38+ affiliate networks checked. Silent tracking failures caught.

One-click install: Install on MCPize | pip install linkrescue-mcp

LinkRescue MCP exposes broken-link scanning, monitoring, and remediation workflows through the Model Context Protocol (MCP), so tools like Claude and Cursor can run link-health operations directly.

What You Get

  • check_broken_links: scan a URL (or sitemap) and return a structured broken-link report
  • monitor_links: set up recurring monitoring for a website
  • get_fix_suggestions: generate prioritized remediation recommendations
  • health_check: verify MCP server and backend API connectivity

If the LinkRescue backend API is unreachable, tools raise an error naming the endpoint they could not reach. They never return invented findings. For local testing, set LINKRESCUE_DEMO_MODE=1 to get sample data — every simulated payload carries "simulated": true and an explicit warning.

Hosted endpoint (no install)

LinkRescue runs a remote MCP server at https://www.linkrescue.io/api/mcp (streamable HTTP). Get a free API key at linkrescue.io/signup, then point any remote-capable MCP client at it:

json
{  "mcpServers": {    "linkrescue": {      "url": "https://www.linkrescue.io/api/mcp",      "headers": { "Authorization": "Bearer lr_your_api_key" }    }  }}

The hosted server exposes check_links, start_site_scan, get_scan and get_fix_suggestions. It never returns simulated data. The stdio package below is for local and offline use.

Quick Start

json
{  "mcpServers": {    "linkrescue": {      "command": "linkrescue-mcp"    }  }}

Then ask your AI agent:

"Scan example.com for broken affiliate links"

Free vs Pro

ToolFreeProAgency
health_checkYesYesYes
check_broken_links (up to 50 pages)YesYesYes
check_broken_links (up to 2,000 pages)-YesYes
check_broken_links (unlimited + sitemap crawl)--Yes
get_fix_suggestions-YesYes
monitor_links (daily)-YesYes
monitor_links (hourly + webhooks)--Yes
Multi-site monitoring-5 sites25 sites

Free tier gives you single-page broken-link checks. Pro unlocks the full crawler + fix suggestions + recurring monitoring. Agency adds hourly checks, webhooks, and unlimited site count.

Current pricing lives at linkrescue.io/pricing — that page is the single source of truth. Install on MCPize.

Install

MCPize (Recommended)

One-click install with managed hosting: Install on MCPize

PyPI

bash
pip install linkrescue-mcplinkrescue-mcp

From source

bash
git clone https://github.com/carsonroell-debug/linkrescue-mcp.gitcd linkrescue-mcppip install -r requirements.txtpython main.py

MCP endpoint:

  • http://localhost:8000/mcp

Configuration

VariableDescriptionDefault
LINKRESCUE_API_BASE_URLBase URL for LinkRescue APIhttps://www.linkrescue.io/api/v1
LINKRESCUE_API_KEYAPI key for authenticated requestsempty
LINKRESCUE_DEMO_MODEReturn labelled sample data instead of erroring when the API is unreachable. Off by default — never enable against a real site.empty (off)

Example:

bash
export LINKRESCUE_API_BASE_URL="https://www.linkrescue.io/api/v1"export LINKRESCUE_API_KEY="your-api-key"linkrescue-mcp

Get an API key at linkrescue.io/settings/api (Pro and Agency tiers only).

Running Options

Run via the installed entry point:

bash
linkrescue-mcp

Run directly from source:

bash
python main.py

Run via FastMCP CLI:

bash
fastmcp run main.py --transport streamable-http --port 8000

Connect an MCP Client

Claude Desktop

Add this to claude_desktop_config.json:

json
{  "mcpServers": {    "linkrescue": {      "command": "linkrescue-mcp"    }  }}

Claude Code

bash
claude mcp add linkrescue --transport http http://localhost:8000/mcp

Try It

bash
fastmcp list-tools main.pyfastmcp call-tool main.py health_check '{}'fastmcp call-tool main.py check_broken_links '{"url":"https://example.com"}'

Tool Inputs and Outputs

check_broken_links

Inputs:

  • url (required): site URL to scan
  • sitemap_url (optional, Agency tier): crawl from sitemap
  • max_depth (optional, default 3): crawl depth

Returns scan metadata, broken-link details, and summary statistics. Affiliate links that resolve but have lost their tracking parameters are reported as exposure — a count of links that earn nothing when clicked. LinkRescue does not estimate lost revenue; multiply by your own RPM.

monitor_links

Inputs:

  • url (required)
  • frequency_hours (optional, default 24; Agency tier supports 1)

Returns monitoring ID, schedule details, and status. Free tier returns a simulated monitor (no persistence).

get_fix_suggestions

Input:

  • full report from check_broken_links, or
  • raw broken_links array, or
  • JSON string of either format

Returns prioritized actions and suggested remediation steps. Pro and Agency tiers only.

health_check

No input. Returns server status and backend API reachability.

Deployment

Smithery

This repo includes smithery.yaml and smithery.json.

  1. Push repository to GitHub
  2. Create/add server in Smithery
  3. Point Smithery to this repository

Docker / Hosting Platforms

A Dockerfile is included for Railway, Fly.io, and other container hosts.

bash
# Railwayrailway up
# Fly.iofly launchfly deploy

Set LINKRESCUE_API_BASE_URL and LINKRESCUE_API_KEY in your host environment.

Architecture

text
Agent (Claude, Cursor, etc.)  -> MCPLinkRescue MCP Server (this repo)  -> HTTP APILinkRescue Backend API (linkrescue.io)

This server is a translation layer between MCP tool calls and LinkRescue API operations.

License

MIT — Built by Freedom Engineers

Related

Additional README Variants

  • Developer-focused version: README.dev.md
  • Marketplace-focused version: README.marketplace.md

来源:README.md,提交 213d6cd

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v0.1.1最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分