Skip to main content
Glama

Fetch MCP Server

by phpmac

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

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.

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

  1. ツール
    1. 2つの開始方法
      1. 使用法
        1. リソース
          1. 参考文献

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.
              Last updated -
              1
              54,281
              JavaScript
              MIT License
              • Linux
              • Apple
            • A
              security
              A
              license
              A
              quality
              Provides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.
              Last updated -
              4
              125,855
              353
              TypeScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              This server converts webpages into clean, structured Markdown optimized for language model consumption, removing unnecessary content and supporting JavaScript rendering.
              Last updated -
              1
              5
              JavaScript
              MIT License
              • Apple
            • A
              security
              A
              license
              A
              quality
              Enables extracting data from websites using natural language prompts, allowing users to specify exactly what content they want in plain English and returning structured JSON data.
              Last updated -
              1
              1,379
              4
              TypeScript
              MIT License
              • Apple
              • Linux

            View all related MCP servers

            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/phpmac/fetch_mcp'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server