Website Downloader

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Mentioned as one of the installation methods for wget on Windows, which is a prerequisite for the website downloader.

  • Mentioned as one of the page requisites that the downloader includes when downloading websites.

  • Referenced as one of the Linux distributions where wget can be installed via apt-get command.

网站下载器 MCP 服务器

此 MCP 服务器提供使用 wget 下载整个网站的工具。它保留网站结构并将链接转换为本地可用链接。

先决条件

该服务器需要在您的系统上安装wget

安装 wget

macOS

使用 Homebrew:

brew install wget

Linux(Debian/Ubuntu)

sudo apt-get update sudo apt-get install wget

Linux(Red Hat/Fedora)

sudo dnf install wget

视窗

  1. 使用Chocolatey
choco install wget
  1. 或者从以下网址下载二进制文件: https://eternallybored.org/misc/wget/
    • 下载最新的 wget.exe
    • 将其放在 PATH 中的目录中(例如,C:\Windows\System32)

用法

服务器提供了一个名为download_website的工具,其参数如下:

  • url (必填):需要下载的网站的URL
  • outputPath (可选):网站下载的目录。默认为当前目录。
  • depth (可选):递归下载的最大深度级别。默认为无限。设置为 0 表示仅下载指定页面,设置为 1 表示直接下载链接,以此类推。

例子

{ "url": "https://example.com", "outputPath": "/path/to/output", "depth": 2 // Optional: Download up to 2 levels deep }

特征

网站下载器:

  • 无限深度递归下载
  • 包括所有页面必需品(CSS、图像等)
  • 将链接转换为本地工作
  • 为文件添加适当的扩展名
  • 限制下载到同一域
  • 保留网站结构

安装

  1. 构建服务器:
npm install npm run build
  1. 添加到 MCP 设置:
{ "mcpServers": { "website-downloader": { "command": "node", "args": ["/path/to/website-downloader/build/index.js"] } } }

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

提供使用 wget 下载整个网站的工具。它保留网站结构并将链接转换为本地可用链接。

  1. Prerequisites
    1. Installing wget
  2. Usage
    1. Example
  3. Features
    1. Installation
      ID: l1is55m5kz