Skip to main content
Glama
MCP Node Fetch

MCP Node Fetch

by mcollina

MCP 노드 가져오기

Node.js undici 라이브러리를 사용하여 웹 콘텐츠를 가져올 수 있는 MCP 서버입니다.

특징

  • 다양한 HTTP 메서드를 사용하여 모든 URL에서 콘텐츠를 가져옵니다.

  • 헤더 및 요청 본문 지원

  • 다양한 형식(텍스트, JSON, 바이너리, HTML 조각)으로 콘텐츠를 반환합니다.

  • 오류를 우아하게 처리하세요

  • 시간 초과 및 리디렉션 동작 구성

Related MCP server: MCP Server Fetch Python

MCP 도구

이 서버는 다음과 같은 MCP 도구를 제공합니다.

fetch-url

URL에서 콘텐츠를 가져와서 반환합니다.

매개변수:

  • url (문자열, 필수): 가져올 URL

  • method (문자열, 선택 사항): HTTP 메서드(기본값: "GET")

  • headers (객체, 선택 사항): 포함할 HTTP 헤더

  • body (문자열, 선택 사항): POST/PUT 요청에 대한 요청 본문

  • timeout (숫자, 선택 사항): 요청 시간 초과(밀리초)

  • responseType (문자열, 선택 사항): 응답을 구문 분석하는 방법("text", "json", "binary", "html-fragment")

  • fragmentSelector (문자열, 선택 사항): 특정 HTML 조각을 추출하는 CSS 선택기(responseType이 "html-fragment"인 경우)

  • followRedirects (부울, 선택 사항): 리디렉션을 따를지 여부(기본값: true)

extract-html-fragment

CSS 선택기를 사용하여 웹 페이지에서 특정 HTML 콘텐츠를 추출하고 선택적으로 앵커 포인트로 이동합니다.

매개변수:

  • url (문자열, 필수): 가져올 URL

  • selector (문자열, 필수): 추출할 HTML 조각에 대한 CSS 선택기

  • anchorId (문자열, 선택 사항): 특정 조각을 찾기 위한 선택적인 앵커 ID

  • method (문자열, 선택 사항): HTTP 메서드(기본값: "GET")

  • headers (객체, 선택 사항): 포함할 HTTP 헤더

  • body (문자열, 선택 사항): POST 요청에 대한 요청 본문

  • timeout (숫자, 선택 사항): 요청 시간 초과(밀리초)

  • followRedirects (부울, 선택 사항): 리디렉션을 따를지 여부(기본값: true)

check-status

전체 콘텐츠를 다운로드하지 않고도 URL에 접근할 수 있는지 확인합니다.

매개변수:

  • url (문자열, 필수): 확인할 URL

  • timeout (숫자, 선택 사항): 요청 시간 초과(밀리초)

데스크톱 구성을 위한 Claude

Claude for Desktop과 함께 사용하려면 claude_desktop_config.json 에 다음을 추가하세요.

지엑스피1

특허

MIT

Available Tools

3 tools
check-statusB

Check if a URL is accessible (HEAD request)

Inputs: url (required), timeout.

extract-html-fragmentC

Extract a specific HTML fragment from a webpage using CSS selectors

Inputs: url (required), selector (required), anchorId, method, +5 more.

fetch-urlC

Fetch content from a URL

Inputs: url (required), method, headers, body, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose: check-status performs a HEAD request to verify accessibility, extract-html-fragment parses HTML content with CSS selectors, and fetch-url retrieves full content. There is no overlap in functionality, making tool selection straightforward for an agent.

    Naming Consistency4/5

    The tools follow a consistent verb-noun pattern (check-status, extract-html-fragment, fetch-url), with all names using kebab-case. The minor deviation is that 'fetch-url' uses a verb-noun structure while the others are verb-adjective-noun, but the pattern remains readable and predictable.

    Tool Count5/5

    With 3 tools, this server is well-scoped for its purpose of URL fetching and HTML processing. Each tool earns its place by covering distinct aspects: status checking, content fetching, and HTML extraction, without being overly sparse or bloated.

    Completeness4/5

    The tool set covers core workflows for URL interaction: checking accessibility, fetching content, and extracting specific data. A minor gap is the lack of tools for more advanced operations like POST requests or handling different content types, but agents can work around this for basic use cases.

    Related MCP Connectors

    Related MCP Servers