Fetch MCP Server
MCP 서버 가져오기

이 MCP 서버는 HTML, JSON, 일반 텍스트, 마크다운을 포함한 다양한 형식의 웹 콘텐츠를 가져오는 기능을 제공합니다.
구성 요소
도구
페치_html
웹사이트를 가져와서 HTML로 콘텐츠를 반환합니다.
입력:
url(문자열, 필수): 가져올 웹사이트의 URLheaders(객체, 선택 사항): 요청에 포함할 사용자 정의 헤더
웹 페이지의 원시 HTML 콘텐츠를 반환합니다.
페치_제이슨
URL에서 JSON 파일 가져오기
입력:
url(문자열, 필수): 가져올 JSON의 URLheaders(객체, 선택 사항): 요청에 포함할 사용자 정의 헤더
구문 분석된 JSON 콘텐츠를 반환합니다.
페치_텍스트
웹사이트를 가져와서 HTML이 아닌 일반 텍스트로 콘텐츠를 반환합니다.
입력:
url(문자열, 필수): 가져올 웹사이트의 URLheaders(객체, 선택 사항): 요청에 포함할 사용자 정의 헤더
HTML 태그, 스크립트 및 스타일이 제거된 웹 페이지의 텍스트 콘텐츠를 반환합니다.
페치_마크다운
웹사이트를 가져와서 Markdown으로 콘텐츠를 반환합니다.
입력:
url(문자열, 필수): 가져올 웹사이트의 URLheaders(객체, 선택 사항): 요청에 포함할 사용자 정의 헤더
웹페이지의 내용을 마크다운 포맷으로 변환하여 반환합니다.
자원
이 서버는 영구적인 리소스를 제공하지 않습니다. 필요에 따라 웹 콘텐츠를 가져와서 변환하도록 설계되었습니다.
Related MCP server: Fetch MCP Server
시작하기
저장소를 복제합니다
종속성 설치:
npm install서버 빌드:
npm run build
용법
서버를 사용하려면 다음과 같이 직접 실행하면 됩니다.
지엑스피1
이렇게 하면 stdio에서 Fetch MCP 서버가 실행됩니다.
데스크톱 앱 사용
이 서버를 데스크톱 앱과 통합하려면 앱의 서버 구성에 다음을 추가하세요.
{
"mcpServers": {
"fetch": {
"command": "node",
"args": [
"{ABSOLUTE PATH TO FILE HERE}/dist/index.js"
]
}
}
}특징
최신 Fetch API를 사용하여 웹 콘텐츠를 가져옵니다.
요청에 대한 사용자 정의 헤더를 지원합니다.
HTML, JSON, 일반 텍스트, 마크다운 등 다양한 형식으로 콘텐츠를 제공합니다.
HTML 구문 분석 및 텍스트 추출을 위해 JSDOM을 사용합니다.
HTML을 Markdown으로 변환하기 위해 TurndownService를 사용합니다.
개발
npm run dev실행하여 감시 모드에서 TypeScript 컴파일러를 시작합니다.npm test사용하여 테스트 모음을 실행하세요.
특허
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다.
Available Tools
4 toolsfetch_htmlC
Fetch a website and return its unmodified contents as HTML
Inputs: url (required), headers, max_length, start_index.
fetch_jsonC
Fetch a JSON file from a URL
Inputs: url (required), headers, max_length, start_index.
fetch_markdownC
Fetch a website and return its contents converted content to Markdown
Inputs: url (required), headers, max_length, start_index.
fetch_txtA
Fetch a website, convert the content to plain text (no HTML)
Inputs: url (required), headers, max_length, start_index.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: fetch_html returns raw HTML, fetch_json retrieves JSON files, fetch_markdown converts to Markdown, and fetch_txt extracts plain text. There is no ambiguity or overlap in functionality, making it easy for an agent to select the correct tool based on the desired output format.
All tool names follow a consistent verb_noun pattern with 'fetch_' prefix and descriptive suffixes (html, json, markdown, txt). This predictable naming scheme enhances readability and usability, allowing agents to intuitively understand each tool's function without confusion.
With 4 tools, the server is well-scoped for its purpose of fetching and converting web content. Each tool earns its place by covering distinct output formats (HTML, JSON, Markdown, plain text), avoiding bloat while providing comprehensive coverage for common web data retrieval needs.
The tool set provides complete coverage for the domain of fetching web content in various formats. It includes raw HTML, structured JSON, and converted formats (Markdown and plain text), leaving no obvious gaps. Agents can handle a wide range of web data retrieval scenarios without dead ends.
Maintenance
Related MCP Connectors
Fetch any URL as clean markdown, HTML, or a screenshot for AI agents.
Fetch public web pages live and get clean Markdown, text or HTML.
Fetch public web pages live and get clean Markdown, text or HTML.
Fetch public web pages live and get clean Markdown, text or HTML.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown.4117,041 npm2MIT
- AlicenseBqualityDmaintenanceProvides functionality to fetch web content in various formats, including HTML, JSON, plain text, and Markdown with support for custom headers.43MIT
- AlicenseNot gradedqualityCmaintenanceProvides functionality to fetch and transform web content in various formats (HTML, JSON, plain text, and Markdown) through simple API calls.117,041 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables fetching and converting web content into various formats including HTML, JSON, plain text, and Markdown. It supports custom request headers and provides specialized tools for on-demand web data retrieval and transformation.MIT