URL 가져오기 MCP
Claude나 LLM이 URL에서 콘텐츠를 가져올 수 있도록 하는 깔끔한 MCP(Model Context Protocol) 구현입니다.
특징
모든 URL에서 콘텐츠 가져오기
다양한 콘텐츠 유형(HTML, JSON, 텍스트, 이미지) 지원
요청 매개변수(헤더, 시간 초과) 제어
깔끔한 오류 처리
Claude Code와 Claude Desktop 모두에서 작동합니다.
저장소 구조
지엑스피1
설치
용법
서버 실행
Claude Desktop에 설치
Claude Desktop을 설치하는 방법은 세 가지가 있습니다.
방법 1: 직접 설치
url_fetcher.py 파일에는 다음이 포함되어 있습니다.
방법 2: 설치 프로그램 스크립트 사용
scripts/install_desktop.py 스크립트:
방법 3: CLI 명령 사용
핵심 구현
주요 MCP 구현은 src/url_fetch_mcp/main.py 에 있습니다.
도구 기능
페치_URL
URL에서 콘텐츠를 가져와 텍스트로 반환합니다.
매개변수:
url(필수): 가져올 URLheaders(선택 사항): 요청과 함께 보낼 추가 헤더timeout(선택 사항): 요청 시간 초과(초)(기본값: 10)
페치_이미지
URL에서 이미지를 가져와 이미지로 반환합니다.
매개변수:
url(필수): 이미지를 가져올 URLtimeout(선택 사항): 요청 시간 초과(초)(기본값: 10)
페치_제이슨
URL에서 JSON을 가져와서 구문 분석하고 포맷된 형태로 반환합니다.
매개변수:
url(필수): JSON을 가져올 URLheaders(선택 사항): 요청과 함께 보낼 추가 헤더timeout(선택 사항): 요청 시간 초과(초)(기본값: 10)
예시
examples 디렉토리에는 예제 스크립트가 포함되어 있습니다.
quick_test.py: MCP 서버의 빠른 테스트simple_usage.py: 클라이언트 API 사용 예interactive_client.py: 테스트를 위한 대화형 CLI
테스트
기본 기능을 테스트하려면:
특허
MIT
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Claude나 다른 LLM이 URL에서 콘텐츠를 가져올 수 있도록 하는 MCP(Model Context Protocol) 서버로, 구성 가능한 요청 매개변수를 통해 HTML, JSON, 텍스트 및 이미지를 지원합니다.
Related MCP Servers
- Asecurity-licenseAqualityA Model Context Protocol (MCP) server for web research. Bring real-time info into Claude and easily research any topic.Last updated -315,704280MIT License
- Asecurity-licenseAqualityModel Context Protocol server for fetching web content and processing images. This allows Claude Desktop (or any MCP client) to fetch web content and handle images appropriately.Last updated -15,34130MIT License
- Asecurity-licenseAqualityModel Context Protocol server that enables Claude Desktop (or any MCP client) to fetch web content and process images appropriately.Last updated -1106MIT License
- Asecurity-licenseAqualityA server that implements the Model Context Protocol (MCP) standard, enabling LLMs like Claude to interact with selected Postman API requests through generated JavaScript tools.Last updated -4