网站下载器 MCP 服务器
此 MCP 服务器提供使用 wget 下载整个网站的工具。它保留网站结构并将链接转换为本地可用链接。
先决条件
该服务器需要在您的系统上安装wget
。
安装 wget
macOS
使用 Homebrew:
Linux(Debian/Ubuntu)
Linux(Red Hat/Fedora)
视窗
使用Chocolatey :
或者从以下网址下载二进制文件: https://eternallybored.org/misc/wget/
下载最新的 wget.exe
将其放在 PATH 中的目录中(例如,C:\Windows\System32)
用法
服务器提供了一个名为download_website
的工具,其参数如下:
url
(必填):需要下载的网站的URLoutputPath
(可选):网站下载的目录。默认为当前目录。depth
(可选):递归下载的最大深度级别。默认为无限。设置为 0 表示仅下载指定页面,设置为 1 表示直接下载链接,以此类推。
例子
特征
网站下载器:
无限深度递归下载
包括所有页面必需品(CSS、图像等)
将链接转换为本地工作
为文件添加适当的扩展名
限制下载到同一域
保留网站结构
安装
构建服务器:
添加到 MCP 设置:
local-only server
The server can only run on the client's local machine because it depends on local resources.
Tools
提供使用 wget 下载整个网站的工具。它保留网站结构并将链接转换为本地可用链接。
Related MCP Servers
- AsecurityAlicenseAqualityEnables web content scanning and analysis by fetching, analyzing, and extracting information from web pages using tools like page fetching, link extraction, site crawling, and more.Last updated -611MIT License
- AsecurityAlicenseAqualityThis server enables users to download entire websites and their assets for offline access, supporting configurable depth and concurrency settings.Last updated -15MIT License
- AsecurityAlicenseAqualityProvides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.Last updated -4365595MIT License
- AsecurityFlicenseAqualityProvides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.Last updated -4105,4182