Add pinchflat-mcp package #4
Reference in New Issue
Block a user
Delete Branch "feat/pinchflat-mcp"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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)