Skip to main content
Glama
revelri

lutris-source-mcp

by revelri

lutris-source-mcp

lutris-mcp를 위한 소스 파이프라인 MCP입니다. 찾기 -> 다운로드 -> 설치 루프를 완료합니다: Prowlarr에서 검색하고, qBittorrent로 전달하고, 완료될 때까지 폴링하고, 결과 트리를 분류하여 lutris-mcp의 install_from_yaml 또는 install_from_directory가 직접 사용할 수 있는 경로를 반환합니다.

도구

도구

기능

prepare_install_source(query, ...)

복합 도구. 검색 → 가져오기 → 폴링 → 분류 → 경로 반환. mutates: true

cancel_pipeline(infohash)

진행 중인 가져오기 작업 중단. mutates: true

stop_seeding(infohash)

디스크 파일 삭제 없이 qBittorrent에서 제거. mutates: true

pipeline_health()

Prowlarr + qBittorrent 연결 가능 여부 확인; 구성된 인덱서 표시. mutates: false

setup(...)

~/.config/lutris-source-mcp/config.toml 작성 (최초 실행 시). mutates: true

멀티 트래커 순위 지정

Prowlarr는 공개(1337x, TPB 등) 및 비공개(Gazelle: RED, OPS, GGn) 트래커를 하나의 검색으로 통합합니다. 복합 도구는 다음 키를 사용하여 순위를 지정합니다:

(indexer_priority,                          # 1 = highest, 50 = lowest
 freeleech_first if freeleech_only else 0,
 -seeders,
 size_bytes)                                # smaller wins as tiebreak

indexer_priority는 Prowlarr 인덱서의 priority 필드에서 가져옵니다. Prowlarr UI에서 트래커별로 설정하십시오(예: 비공개 = 1, 공개 = 25). MCP는 별도의 신뢰 순위를 만드는 대신 이를 존중합니다.

Gazelle 위생

freeleech_only=True를 전달하거나(또는 TOML에서 policy.freeleech_only = true 설정) 순위를 지정하기 전에 Gazelle 인덱서에서 무료 리치(freeleech)가 아닌 결과를 제외합니다. 공개 결과는 변경되지 않고 통과됩니다(공개 트래커에서는 무료 리치가 의미가 없기 때문). 인증 자체는 Prowlarr UI 내에서 유지되며, MCP는 Gazelle 자격 증명을 절대 볼 수 없습니다.

정체 감지

각 폴링은 stdout 하트비트를 출력합니다:

[prepare_install_source] deadbeef dl=12345/100000 (12.3%) peers=8 rate=215.4KiB/s elapsed=14s

downloaded 값이 stall_timeout_seconds(기본값 5분) 동안 증가하지 않으면, 도구는 {ok: false, reason: "stalled"}를 반환하여 에이전트가 다른 후보를 선택할 수 있도록 합니다.

구성

~/.config/lutris-source-mcp/config.toml:

[prowlarr]
base_url = "http://localhost:9696"
api_key  = "..."

[qbittorrent]
base_url     = "http://localhost:8080"
username     = "admin"
password     = "..."
download_dir = "/mnt/games/Downloads"

[policy]
blocklist      = ["fitgirl"]
allow_indexers = []
max_size_gb    = 50
freeleech_only = false
min_seeders    = 1

모든 키는 LUTRIS_SOURCE_MCP_<SECTION>_<KEY> 환경 변수 재정의를 지원합니다(예: LUTRIS_SOURCE_MCP_PROWLARR_API_KEY, LUTRIS_SOURCE_MCP_POLICY_FREELEECH_ONLY).

동반 도구

읽기 전용 Prowlarr/qBittorrent 검사를 위해서는 jmagar/prowlarr-mcppickpppcc/qbittorrent-mcp를 함께 설치하십시오. 중복 없이 세 개의 작고 집중적인 서버가 작동합니다.

라이선스

MIT.

Install Server
A
license - permissive license
B
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Fleet discovery for the cyanheads MCP ecosystem — semantic search + install snippets.

  • Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.

  • OCR, transcription, file extraction, and image generation for AI agents via MCP.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/revelri/lutris-source-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server