MCP Server Fetch TypeScript

by tatn

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

  • The server provides tools to convert web content to Markdown format and extract Markdown summaries of web content

  • The server is implemented in TypeScript as indicated by its name 'mcp-server-fetch-typescript'

  • The server can retrieve raw text content from XML files

mcp-server-fetch-typescript MCP 서버

웹 콘텐츠 가져오기 및 변환 기능을 제공하는 모델 컨텍스트 프로토콜 서버입니다. 이 서버는 다양한 형식과 렌더링 방식을 지원하는 포괄적인 웹 콘텐츠 검색 시스템을 구현하여 간단한 데이터 추출부터 정교한 웹 스크래핑까지 다양한 작업에 이상적입니다.

특징

도구

  • get_raw_text - URL에서 직접 원시 텍스트 콘텐츠를 검색합니다.
    • 텍스트 기반 리소스를 가리키는 필수 매개변수로 url 사용합니다.
    • 브라우저 렌더링 없이 처리되지 않은 텍스트 콘텐츠를 반환합니다.
    • JSON, XML, CSV, TSV 또는 일반 텍스트 파일에 이상적입니다.
    • 소스 콘텐츠에 빠르고 직접 액세스해야 할 때 가장 잘 사용됩니다.
  • get_rendered_html - 완전히 렌더링된 HTML 콘텐츠 가져오기
    • url 필수 매개변수로 사용합니다.
    • JavaScript 실행 후 전체 HTML 콘텐츠를 반환합니다.
    • 헤드리스 브라우저 렌더링을 위해 Playwright를 사용합니다.
    • 최신 웹 애플리케이션 및 SPA에 필수
  • get_markdown - 웹 콘텐츠를 Markdown 형식으로 변환
    • url 필수 매개변수로 사용합니다.
    • 구조적 요소를 보존하는 잘 포맷된 Markdown을 반환합니다.
    • 표와 정의 목록을 지원합니다
    • 콘텐츠 보관 및 문서화에 권장됨
  • get_markdown_summary - 주요 콘텐츠 추출 및 변환
    • url 필수 매개변수로 사용합니다.
    • 주요 내용에 초점을 맞춘 깔끔한 마크다운을 반환합니다.
    • 탐색, 헤더, 푸터를 자동으로 제거합니다.
    • 기사 및 블로그 게시물 추출에 적합합니다.

설치

글로벌 패키지로서

지엑스피1

프로젝트 종속성으로서

npm install mcp-server-fetch-typescript

용법

Claude Desktop과 함께 사용

Claude Desktop과 함께 사용하려면 서버 구성을 추가하세요.

MacOS의 경우: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows의 경우: %APPDATA%/Claude/claude_desktop_config.json

"mcpServers": { "mcp-server-fetch-typescript": { "command": "npx", "args": [ "-y", "mcp-server-fetch-typescript" ] } }

또는 다음 구성을 추가합니다.

git clone https://github.com/tatn/mcp-server-fetch-typescript.git cd mcp-server-fetch-typescript npm install npm run build
"mcpServers": { "mcp-server-fetch-typescript": { "command": "node", "args": [ "/path/to/mcp-server-fetch-typescript/build/index.js" ] } }

디버깅

MCP 서버를 디버깅하려면:

npx @modelcontextprotocol/inspector npx -y mcp-server-fetch-typescript
npx @modelcontextprotocol/inspector node /path/to/mcp-server-fetch-typescript/build/index.js

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

웹 콘텐츠 가져오기 및 변환 기능을 제공하는 모델 컨텍스트 프로토콜 서버입니다.

  1. Features
    1. Tools
  2. Installation
    1. As a Global Package
    2. As a Project Dependency
  3. Usage
    1. Using with Claude Desktop
    2. Debugging
ID: iyfpvfkgyx