PW

pskill9/website-downloader

Productivity workflow

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

157 stars 32 forks 品質 48 トレンド 16

pskill9/website-downloaderは、https://github.com/pskill9/website-downloader.からインポートされたMCPサーバー候補です。

概要

pskill9/website-downloaderは、https://github.com/pskill9/website-downloader.からインポートされたMCPサーバー候補です。

概要(AI 翻訳)

このMCPサーバーはwgetを使ってウェブサイト全体をダウンロードするツールを提供します。ウェブサイトの構造を保持し、リンクをローカルで動作させるように変換します。

前提条件

サーバーはあなたのシステムにwgetをインストールする必要があります。

wgetのインストール中

macOS

ホームブリューの使用:

Linux(Debian/Ubuntu)

Linux(レッドハット/フェドラ)

ウィンドウズ

  1. チョコレートの使い方:

  2. または以下からバイナリをダウンロードする: https://eternallybored.org/misc/wget/

  • 最新wget.exeをダウンロード
  • PATH内のディレクトリ(例:C:\Windows\System32)に配置する

使用法

サーバーは以下のパラメータを持つdownload_websiteというツールを提供します:

  • url(必須):ダウンロード可能なウェブサイトのURLです
  • outputPath(任意):ウェブサイトをダウンロードすべきディレクトリ。現在のディレクトリにデフォルトで設定されます。
  • depth(任意):再帰ダウンロードの最大深度レベル。デフォルトは無限。指定されたページのみを0に、直接リンクを1に設定。

例

特徴

ウェブサイトのダウンロード者:

  • 無限深度の再帰的なダウンロード
  • すべてのページ要件(CSS、画像など)を含みます
  • リンクをローカルに変換する
  • ファイルに適切な拡張子を追加する

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

Website Downloader MCP Server

This MCP server provides a tool to download entire websites using wget. It preserves the website structure and converts links to work locally.

Prerequisites

The server requires wget to be installed on your system.

Installing wget

macOS

Using Homebrew:

brew install wget

Linux (Debian/Ubuntu)

sudo apt-get update
sudo apt-get install wget

Linux (Red Hat/Fedora)

sudo dnf install wget

Windows

  1. Using Chocolatey:
choco install wget
  1. Or download the binary from: https://eternallybored.org/misc/wget/
    • Download the latest wget.exe
    • Place it in a directory that’s in your PATH (e.g., C:\Windows\System32)

Usage

The server provides a tool called download_website with the following parameters:

  • url (required): The URL of the website to download
  • outputPath (optional): The directory where the website should be downloaded. Defaults to the current directory.
  • depth (optional): Maximum depth level for recursive downloading. Defaults to infinite. Set to 0 for just the specified page, 1 for direct links, etc.

Example

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

Features

The website downloader:

  • Downloads recursively with infinite depth
  • Includes all page requisites (CSS, images, etc.)
  • Converts links to work locally
  • Adds appropriate extensions to files
  • Restricts downloads to the same domain
  • Preserves the website structure

Installation

  1. Build the server:
npm install
npm run build
  1. Add to MCP settings:
{
  "mcpServers": {
    "website-downloader": {
      "command": "node",
      "args": ["/path/to/website-downloader/build/index.js"]
    }
  }
}
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →