lutris-source-mcp

lutris-source-mcp

Closes the find-download-install loop for lutris-mcp by searching Prowlarr, downloading via qBittorrent, polling until complete, classifying the result, and returning a path for installation.

Category
Visit Server

README

lutris-source-mcp

Source pipeline MCP for lutris-mcp. Closes the find -> download -> install loop: searches Prowlarr, hands off to qBittorrent, polls until done, classifies the resulting tree, returns a path that lutris-mcp's install_from_yaml or install_from_directory consumes directly.

Tools

Tool What it does
prepare_install_source(query, ...) The composite. Search → grab → poll → classify → return path. mutates: true
cancel_pipeline(infohash) Abort an in-flight grab. mutates: true
stop_seeding(infohash) Remove from qBittorrent without deleting on-disk files. mutates: true
pipeline_health() Verify Prowlarr + qBittorrent reachable; surface configured indexers. mutates: false
setup(...) Write ~/.config/lutris-source-mcp/config.toml (first-run). mutates: true

Multi-tracker ranking

Prowlarr aggregates public (1337x, TPB, etc.) and private (Gazelle: RED, OPS, GGn) trackers in one search. The composite ranks across them with this key:

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

indexer_priority comes from the Prowlarr indexer's priority field — set it in Prowlarr's UI per tracker (e.g. private = 1, public = 25). The MCP respects it rather than inventing a separate trust ranking.

Gazelle hygiene

Pass freeleech_only=True (or set policy.freeleech_only = true in TOML) to drop non-freeleech results from Gazelle indexers before ranking. Public results pass through unchanged (freeleech is meaningless there). Auth itself stays in Prowlarr's UI; the MCP never sees Gazelle credentials.

Stall detection

Each poll prints a stdout heartbeat:

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

If downloaded doesn't increase for stall_timeout_seconds (default 5min), the tool returns {ok: false, reason: "stalled"} so the agent can pick another candidate.

Config

~/.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

Every key has a LUTRIS_SOURCE_MCP_<SECTION>_<KEY> env override (e.g. LUTRIS_SOURCE_MCP_PROWLARR_API_KEY, LUTRIS_SOURCE_MCP_POLICY_FREELEECH_ONLY).

Companions

For read-only Prowlarr/qBittorrent inspection, install jmagar/prowlarr-mcp and pickpppcc/qbittorrent-mcp alongside. Three small focused servers, no overlap.

License

MIT.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured