Torrent Search MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| YGG_PASSKEY | No | Your YggTorrent passkey for interacting with the API. Found in 'Mon compte' -> 'Mes paramètres' on the YggTorrent website. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"subscribe": false,
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| available_sourcesB | Get the list of available torrent sources. |
| search_torrentsB | Perform an advanced torrent search across multiple providers. Result Analysis & Ranking:
Response Requirements:
|
| popular_torrentsB | Get the most popular torrents right now across providers with an official top listing. Output is grouped per source (thepiratebay.org, uindex.org, 1337x.to, eztvx.to,
yts.vg, nyaa.si), keeping up to Response Requirements:
|
| get_torrentA | Get the magnet link for a specific torrent by id. The result is wrapped in the untrusted-data fence: the magnet is the fenced value itself, the notice and tag lines are not part of the link. |
| authorize_webappA | Authorize a browser on the Torrent Search webapp via its pairing code. The code comes from an user interaction on the webapp: they click "Open in Telegram", scan the QR code, or copy the prompt message, which sends "Authorize for Torrent Search" to you. Take the code from that message and call this tool with it and the user's Telegram chat id. Codes are single-use and expire after 5 minutes. After approval the user MUST go back to the webapp: the browser polls and completes the authentication there (it shows "Access granted" and unlocks the app permanently). |
| forward_torrentA | Send a torrent (filename + magnet) to the user's Telegram chat. The forward goes through the Torrent Search REST API, which owns the Telegram bot token; when PRUNE_MAGNET_LINKS is enabled the magnet is pruned to 'magnet:?xt=urn:btih:HASH&dn=' before sending. Requires TORRENT_SEARCH_API_KEY (same value as the API server) and TORRENT_SEARCH_API_URL. Forwards are rate-limited per chat (20/min). |
| torrent_webappA | Present the Torrent Search webapp and its Telegram pairing access system. Returns the webapp URL and how to get authorized by you. Tell the user to open the URL: on first visit the site shows a pairing dialog with a QR code and buttons ("Open in Telegram", "t.me" fallback, "Copy Prompt"). Ask the user to scan the QR code, click "Open in Telegram", or copy the prompt message and send it to you in the Telegram chat. That message ("Authorize for Torrent Search") carries the code; when it arrives, extract it and call authorize_webapp with it and the user's Telegram chat id. Codes expire after 5 minutes. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Most tools have clearly distinct roles: search_torrents is keyword search, popular_torrents is a ranked top listing, get_torrent resolves an id to a magnet, and forward_torrent pushes to Telegram. The only mild overlap is search_torrents vs popular_torrents, since both return ranked torrent lists, but the 'discovery vs query' distinction is spelled out. torrent_webapp vs authorize_webapp are related but clearly separated into presentation and pairing flows.
All names are snake_case and readable, with most following a verb_noun pattern (search_torrents, get_torrent, authorize_webapp, forward_torrent). Three tools deviate as bare noun phrases (available_sources, popular_torrents, torrent_webapp), so the pattern is not fully predictable. The deviation is systematic and non-confusing rather than chaotic.
Seven tools is well-scoped for a torrent search server, covering search, discovery, retrieval, sharing, and webapp authorization without filler. Each tool maps to a concrete step in the user workflow and none appear redundant.
The core lifecycle is covered: discover sources, search or browse popular results, fetch a magnet, and forward it to the chat, with an auth flow for the webapp. Minor gaps exist, such as no way to add/configure sources (available_sources is read-only) and no category or quality filtering exposed as a dedicated operation, but agents can work around these via search keywords.