New MCP server for Pinchflat, the YouTube media downloader.
## What it does
Python MCP server (fastmcp + httpx) that wraps the Pinchflat REST API (`/api/v1`) as MCP tools:
**Sources**: list, get, create, update, delete, force_download_pending, force_redownload, force_index, force_metadata_refresh
**Media**: list, search, get, force_download
**Media Profiles**: list, get
**Tasks**: list, get
**Settings/Info**: get_settings, get_app_info
## Files
- `packages/pinchflat-mcp/server.py` — the MCP server (226 lines)
- `packages/pinchflat-mcp/package.nix` — Nix derivation (stdenv + makeWrapper, same pattern as sabnzbd-mcp)
- `packages/default.nix` — registered
## Testing
Tested against the live Pinchflat instance (https://pinchflat.bueso.eu):
- ✅ 28 sources listed
- ✅ Search for "dumpling" returns correct result
- ✅ Media profiles listed
- ✅ App info returned (v2025.9.26, yt-dlp 2026.06.09)
- ✅ MCP stdio initialize handshake works
## Config
Env vars: `PINCHFLAT_URL` (base URL) + `PINCHFLAT_API_TOKEN` (bearer token)
Python MCP server (fastmcp + httpx) that exposes the Pinchflat REST API
as MCP tools. Covers sources, media items, media profiles, tasks, and
settings endpoints.
Tested against live Pinchflat instance — 28 sources, search, app info
all working via stdio transport.
luis
merged commit fa32b4a941 into main2026-07-05 00:10:25 +02:00
luis
deleted branch feat/pinchflat-mcp2026-07-05 00:10:29 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
New MCP server for Pinchflat, the YouTube media downloader.
What it does
Python MCP server (fastmcp + httpx) that wraps the Pinchflat REST API (
/api/v1) as MCP tools:Sources: list, get, create, update, delete, force_download_pending, force_redownload, force_index, force_metadata_refresh
Media: list, search, get, force_download
Media Profiles: list, get
Tasks: list, get
Settings/Info: get_settings, get_app_info
Files
packages/pinchflat-mcp/server.py— the MCP server (226 lines)packages/pinchflat-mcp/package.nix— Nix derivation (stdenv + makeWrapper, same pattern as sabnzbd-mcp)packages/default.nix— registeredTesting
Tested against the live Pinchflat instance (https://pinchflat.bueso.eu):
Config
Env vars:
PINCHFLAT_URL(base URL) +PINCHFLAT_API_TOKEN(bearer token)