Fetch MCP Server

by phpmac
Verified

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Enables fetching web content and converting it to Markdown format, allowing for structured text representation of online resources.

MCPサーバーを取得する

英語|中国語

この MCP サーバーは、HTML、JSON、プレーン テキスト、Markdown など、さまざまな形式で Web コンテンツを取得する機能を提供します。

ツール

  • フェッチ_html
    • ウェブサイトのコンテンツを取得し、HTMLとして返す
    • 入力パラメータ:
      • url (文字列、必須): 取得するウェブサイトのURL
      • headers (オブジェクト、オプション): リクエストに含めるカスタムヘッダー
    • ウェブページの生のHTMLコンテンツを返します
  • フェッチ_json
    • URLからJSONファイルを取得する
    • 入力パラメータ:
      • url (文字列、必須): 取得するJSONのURL
      • headers (オブジェクト、オプション): リクエストに含めるカスタムヘッダー
    • 解析されたJSONコンテンツを返します
  • フェッチ_txt
    • ウェブサイトのコンテンツを取得し、プレーンテキスト(HTML なし)として返します
    • 入力パラメータ:
      • url (文字列、必須): 取得するウェブサイトのURL
      • headers (オブジェクト、オプション): リクエストに含めるカスタムヘッダー
    • HTMLタグ、スクリプト、スタイルを削除したウェブページのテキストコンテンツを返します
  • フェッチマークダウン
    • ウェブサイトのコンテンツを取得し、Markdown として返す
    • 入力パラメータ:
      • url (文字列、必須): 取得するウェブサイトのURL
      • headers (オブジェクト、オプション): リクエストに含めるカスタムヘッダー
    • ウェブページのコンテンツをMarkdown形式に変換して返します

2つの開始方法

  1. パン
bun i bun start
  1. ドッカー
docker compose up --build -d

使用法

{ "mcpServers": { "fetch-mcp": { "transport": "sse", "url": "http://localhost:3000/sse", "headers": { "Authorization": "Bearer your-token-here", "X-Custom-Header": "custom-value" }, "useNodeEventSource": true } } }

リソース

このサーバーは永続的なリソースを提供しません。オンデマンドでWebコンテンツを取得および変換するように設計されています。

参考文献

-
security - not tested
F
license - not found
-
quality - not tested

シンプルな API 呼び出しを通じて、さまざまな形式 (HTML、JSON、プレーン テキスト、Markdown) の Web コンテンツを取得および変換する機能を提供します。

  1. Tools
    1. 2 Ways to Start
      1. Usage
        1. Resources
          1. References
            ID: 9le2w2zfe7