linkrescue-mcp
LinkRescue MCP Server
MCP server that exposes LinkRescue's broken link scanning, monitoring, and fix suggestion capabilities to AI agents (Claude, Cursor, etc.).
Built with FastMCP 3.x for the Model Context Protocol.
Run Locally
# Install deps
pip install -r requirements.txt
# Run with FastMCP (streamable HTTP for agent access)
fastmcp run main.py --transport streamable-http --port 8000
# Or run directly
python main.pyThe server starts on http://localhost:8000/mcp.
Environment Variables
Variable | Description | Default |
| Your LinkRescue API base URL |
|
| API key for authenticated requests | (empty) |
Without a running LinkRescue API backend, the server returns realistic simulated data — useful for testing and demos.
Connect to Claude Desktop
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"linkrescue": {
"url": "http://localhost:8000/mcp"
}
}
}Connect to Claude Code
claude mcp add linkrescue --transport http http://localhost:8000/mcpTest with FastMCP CLI
# List tools
fastmcp list-tools main.py
# Call a tool
fastmcp call-tool main.py health_check '{}'
fastmcp call-tool main.py check_broken_links '{"url": "https://example.com"}'Deploy to Smithery
Push this repo to GitHub
Go to smithery.ai
Click "Add Server" → paste your GitHub repo URL
Smithery reads
smithery.yamland deploys automatically
One-liner after pushing to GitHub:
npx @anthropic-ai/claude-code mcp add linkrescue --smithery freedomengineers/linkrescue-mcpDeploy to Railway / Fly.io
Use the included Dockerfile:
# Railway
railway up
# Fly.io
fly launch
fly deploySet env vars in the platform dashboard.
Tools
Tool | Description |
| Scan a URL/sitemap for broken links with SEO impact estimates |
| Set up scheduled broken link monitoring |
| Get prioritized remediation steps from a scan report |
| Verify server and API connectivity |
Architecture
Agent (Claude/Cursor)
↓ MCP protocol
LinkRescue MCP Server (this repo)
↓ HTTP API calls
LinkRescue API Backend (your existing app)The MCP server is a thin translation layer. It converts MCP tool calls into LinkRescue API requests and returns structured results agents can act on. If the backend is unreachable, it falls back to simulated data for demo purposes.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/carsonroell-debug/linkrescue-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server