Skip to main content
Glama

MCP NPX 페치

npm 버전 라이센스: MIT 타입스크립트 모델 컨텍스트 프로토콜

웹 콘텐츠를 다양한 형식(HTML, JSON, 마크다운, 일반 텍스트)으로 손쉽게 가져와 변환할 수 있는 강력한 MCP 서버입니다.

설치 • 기능 • 사용 • 문서 • 기여


🚀 특징

  • 🌐 범용 콘텐츠 페칭 : HTML, JSON, 일반 텍스트 및 마크다운 형식을 지원합니다.

  • 🔒 사용자 정의 헤더 지원 : 요청에 인증 및 사용자 정의 헤더를 추가합니다.

  • 🛠 내장 변환 : 형식 간 자동 변환

  • ⚡ 고성능 : 최신 JavaScript 기능으로 구축되었으며 속도에 최적화되었습니다.

  • 🔌 MCP 호환 : Claude Desktop 및 기타 MCP 클라이언트와 완벽하게 통합됩니다.

  • 🎯 Type-Safe : 전체 유형 정의를 사용하여 TypeScript로 작성됨

Related MCP server: webfetch-camouflage

📦 설치

NPM 글로벌 설치

지엑스피1

NPX와 직접 사용

npx @tokenizin/mcp-npx-fetch

📚 문서

사용 가능한 도구

fetch_html

모든 URL에서 원시 HTML 콘텐츠를 가져와서 반환합니다.

{
  url: string;     // Required: Target URL
  headers?: {      // Optional: Custom request headers
    [key: string]: string;
  };
}

fetch_json

모든 URL에서 JSON 데이터를 가져와서 구문 분석합니다.

{
  url: string;     // Required: Target URL
  headers?: {      // Optional: Custom request headers
    [key: string]: string;
  };
}

fetch_txt

HTML 태그와 스크립트를 제거하고 깨끗한 일반 텍스트 콘텐츠를 가져와서 반환합니다.

{
  url: string;     // Required: Target URL
  headers?: {      // Optional: Custom request headers
    [key: string]: string;
  };
}

fetch_markdown

콘텐츠를 가져와서 잘 구성된 마크다운으로 변환합니다.

{
  url: string;     // Required: Target URL
  headers?: {      // Optional: Custom request headers
    [key: string]: string;
  };
}

🔧 사용법

CLI 사용법

MCP 서버를 직접 시작합니다.

mcp-npx-fetch

또는 npx를 통해:

npx @tokenizin/mcp-npx-fetch

Claude 데스크톱 통합

  1. Claude Desktop 구성 파일을 찾으세요.

    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    • 윈도우: %APPDATA%/Claude/claude_desktop_config.json

    • 리눅스: ~/.config/Claude/claude_desktop_config.json

  2. mcpServers 개체에 다음 구성을 추가합니다.

{
  "mcpServers": {
    "fetch": {
      "command": "npx",
      "args": ["-y", "@tokenizin/mcp-npx-fetch"],
      "env": {}
    }
  }
}

💻 지역 개발

  1. 저장소를 복제합니다.

git clone https://github.com/tokenizin-agency/mcp-npx-fetch.git
cd mcp-npx-fetch
  1. 종속성 설치:

npm install
  1. 개발 모드 시작:

npm run dev
  1. 테스트 실행:

npm test

🛠 기술 스택

🤝 기여하기

기여를 환영합니다! 풀 리퀘스트를 제출해 주세요. 주요 변경 사항의 경우, 먼저 이슈를 열어 변경 사항을 논의해 주세요.

  1. 저장소를 포크하세요

  2. 기능 브랜치를 생성합니다( git checkout -b feature/AmazingFeature )

  3. 변경 사항을 커밋합니다( git commit -m 'Add some AmazingFeature' )

  4. 브랜치에 푸시( git push origin feature/AmazingFeature )

  5. 풀 리퀘스트 열기

📄 라이센스

이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.


Available Tools

4 tools
fetch_htmlC

Fetch a website and return the content as HTML

Inputs: url (required), headers.

fetch_jsonC

Fetch a JSON file from a URL

Inputs: url (required), headers.

fetch_markdownC

Fetch a website and return the content as Markdown

Inputs: url (required), headers.

fetch_txtA

Fetch a website, return the content as plain text (no HTML)

Inputs: url (required), headers.

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    A3.6/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose based on the output format (HTML, JSON, Markdown, plain text), with no overlap in functionality. The descriptions explicitly differentiate them by content type, making tool selection straightforward for an agent.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern with 'fetch_' prefix and suffix indicating the output format (e.g., fetch_html, fetch_json). The naming is perfectly uniform and predictable across all four tools.

    Tool Count5/5

    With 4 tools, this server is well-scoped for fetching content in different formats. Each tool earns its place by covering a distinct output type, and the count is neither too thin nor excessive for the domain of URL-based content retrieval.

    Completeness4/5

    The toolset covers the core fetching operations for common content types (HTML, JSON, Markdown, plain text), with no dead ends. A minor gap exists in not handling other formats like XML or binary data, but agents can work around this for most use cases.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers