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 分