PT

philogicae/torrent-search-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

43 stars 9 forks 품질 82 트렌드 26MIT

MCP/API/WebUI 토렌트 프로그램

개요

이 저장소는 Python API/WebUI 및 MCP (Model Context Protocol) 서버를 제공하여 , , , , , , , 및 . 그것은 다른 신청 또는 서비스에 쉽게 통합을 허용합니다. 일반 DNS 문제를 우회하기 위해 Docker로 실행 - , , , , , , , , 및 . - 표준화된 커뮤니케이션을 위한 MCP 서버 공용영역 (스트dio, sse, streamable http). - API 서버 인터페이스 대안 HTTP 액세스 (예, 직접 API 호출 또는 테스트). - 빠른 원오프를 위한 CLI 모드는 맨끝에서 직접 검색합니다. - popular torrents는 웹 UI 납품을 위해 2 분 동안 시동했습니다; 수색은 결코 시동되지 않습니다 (동일한 동시 요구는 탄화합니다) 그래서 새로운 결과는 즉시 나타납니다. - In-memory 1 시간, 5000 엔트리 토런트 캐시는 re-scraping없이 get torrent를 통해 자석 링크를 해결하는 데 사용됩니다. - 자석 링크는 항상 내부에 저장됩니다. MCP는 INCLUDE LINKS=true가 아닌 그들을 숨깁니다. - 환경 변수를 통해 필터링하는 구성 소스.

개요(AI 번역)

이 저장소는 Python API/WebUI 및 MCP(모델 콘텍스트 프로토콜) 서버를 제공합니다. ** ThePirateBay**, 1337x, Nyaa, YTS, EZTV, FitGirl, SubsPlease 및 UIndex. 그것은 다른 신청 또는 서비스에 쉽게 통합을 허용합니다.

퀵스타트

MCP 클라이언트와 함께 사용하는 방법

일반 DNS 문제를 우회하기 위해 Docker와 함께 실행

명령줄에서 직접 검색

내용 표

  • 특징
  • 지원되는 근원
  • 설치
  • 필수
  • 구성
  • 설치
  • PyPI에서 설치 (추천)
  • 지역 개발
  • Docker를 위해
  • 사용
  • CLI로
  • Python 래퍼로
  • MCP 서버로
  • API 서버로
  • MCP 클라이언트를 통해
  • Devin 예제
  • 변경 로그
  • 기여
  • 라이센스

특징

-ThePirateBay, 1337x, Nyaa, YTS, EZTV, FitGirl, SubsPlease 및 UIndex.

  • MCP 서버 인터페이스 (FastMCP 4) 제공 2026-07-28] stdio] 또는 스트리밍 HTTP ([T2]]]), 이전의 핸디케이 개정 및 레거시 수송 별칭의 자동 협상 ([T3]], sse).
  • 대안 HTTP 액세스를 위한 API 서버 인터페이스 (e.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Torrent Search MCP/API/WebUI

This repository provides a Python API/WebUI and an MCP (Model Context Protocol) server to find torrents programmatically on ThePirateBay, 1337x, Nyaa, YTS, EZTV, FitGirl, SubsPlease and UIndex. It allows for easy integration into other applications or services.

Quickstart

How to use it with MCP Clients

Run it with Docker to bypass common DNS issues

Search directly from the command line

uvx torrent-search-mcp --mode cli "sample show"

# MCP server over stdio (default)
uvx torrent-search-mcp --mode stdio

# MCP server over streamable HTTP (port 8000, endpoint /mcp)
uvx torrent-search-mcp --mode http

# MCP server over SSE (port 8000, endpoint /sse, legacy)
uvx torrent-search-mcp --mode sse

# Standalone API server (port 8000)
uvx torrent-search-mcp --mode api

Table of Contents

Features

  • API wrapper for ThePirateBay, 1337x, Nyaa, YTS, EZTV, FitGirl, SubsPlease and UIndex.
  • MCP server interface (FastMCP 4) serving the 2026-07-28 protocol revision over stdio or streamable HTTP (http), with automatic negotiation of older handshake revisions and legacy transport aliases (streamable-http, sse).
GitHub에서 전체 README 보기

설치

uvx torrent-search-mcp
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { ... # with stdio (only requires uv) "torrent-search-mcp": { "command": "uvx", "args": [ "torrent-search-mcp" ] }, # with streamable-http transport (Docker compose: MCP on port 8001; standalone server: 8000) "torrent-search-mcp": { "serverUrl": "http://127.0.0.1:8001/mcp" }, # with sse transport (legacy; requires running server) "torrent-search-mcp": { "serverUrl": "http://127.0.0.1:8001/sse" }, ... } }