flick
Provides tools for interacting with a Jellyfin media server, enabling agents to search the library, retrieve item metadata, list active playback sessions, view media libraries, and fetch next-up episodes.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@flick search my Jellyfin library for 'matrix'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Flick is an MCP (Model Context Protocol) server that connects AI agents to your Jellyfin media server. Once it's registered with an MCP-capable client, your agent can search the library, look up item details, see what's playing right now, and plan the next movie night — no browser, no hand-rolled API scripts.
What is this?
A small Python package with two parts:
flick/server.py— a FastMCP server exposing five tools:search,info,sessions,libraries,next_up.flick/jellyfin.py— a thin, synchronous HTTP client for the Jellyfin REST API, built on the Python standard library only (urllib). Nohttpx, norequests.
It talks to your existing Jellyfin server over its normal HTTP API; nothing is installed on the server and no files are modified there.
Related MCP server: Emby.MCP
Why?
Jellyfin's REST API is powerful but raw: endpoints, query params, auth headers, paging. Agents are bad at guessing those and good at using small, well-described tools. Flick is that small surface:
one dependency (
mcp), one auth header (X-Emby-Token), five tools;boring, readable, stdlib-only HTTP code you can audit in minutes;
agents get structured JSON back, so they can reason about titles, types, and IDs.
Tools
Tool | Description | Args |
| Search the whole library by title (movies, shows, episodes, …) |
|
| Full metadata for a single library item |
|
| Active playback sessions: who is watching what, on which device | — |
| Top-level media libraries (Movies, TV Shows, …) | — |
| Next unwatched episode of shows you're following |
|
Quickstart
Requires Python 3.10+ and uv (or any venv + pip).
git clone <this-repo> flick
cd flick
uv venv # create .venv
uv pip install -e . # installs mcp + the flick package
# Point at your Jellyfin server
export JELLYFIN_URL=http://localhost:8096
export JELLYFIN_API_KEY=your-key-here
.venv/bin/flick # starts the MCP server over stdioGetting an API key
Open the Jellyfin web UI → Dashboard (hamburger menu → Dashboard).
Go to Advanced → API Keys.
Click New API Key, give it a name (e.g.
flick), and click OK.Copy the generated key — it is shown only once.
The key authenticates every request via the X-Emby-Token header. Keep it out of git
(see .gitignore) and pass it through the environment or your client's env block.
JELLYFIN_URLdefaults tohttp://localhost:8096if unset.JELLYFIN_API_KEYhas no default: the server refuses to start without it.
Client setup examples
Claude Desktop
Edit claude_desktop_config.json (Claude → Settings → Developer → Edit Config):
{
"mcpServers": {
"flick": {
"command": "/absolute/path/to/flick/.venv/bin/flick",
"env": {
"JELLYFIN_URL": "http://localhost:8096",
"JELLYFIN_API_KEY": "your-key-here"
}
}
}
}Cursor
Create/merge .cursor/mcp.json in your project:
{
"mcpServers": {
"flick": {
"command": "/absolute/path/to/flick/.venv/bin/flick",
"env": {
"JELLYFIN_URL": "http://localhost:8096",
"JELLYFIN_API_KEY": "your-key-here"
}
}
}
}Hermes agent
Add a mcp_servers entry to your Hermes config (e.g. ~/.hermes/config.yaml):
mcp_servers:
flick:
command: /home/lappy/repos/flick/.venv/bin/flick
env:
JELLYFIN_URL: http://localhost:8096
JELLYFIN_API_KEY: your-key-hereThen restart the agent and ask: "search my Jellyfin library for 'matrix'" or "what's playing on Jellyfin right now?"
API
Each tool maps to one Jellyfin REST endpoint:
Tool | Endpoint |
|
|
|
|
|
|
|
|
|
|
Auth: every request sends
X-Emby-Token: <api key>.Errors: non-2xx responses and network failures raise
flick.jellyfin.JellyfinErrorwith the HTTP status and reason in the message.The client (
flick/jellyfin.py) is standalone: use it from scripts withJellyfinClient(base_url, api_key)— no MCP required.
Roadmap
Playback control: play / pause / stop on a session
Queue & playlist management (add to playlist, reorder, clear queue)
Library browsing with filters (type, genre, year, sort)
User-scoped queries (
userIdpassthrough fornext_upand friends)Streamable HTTP transport for remote servers
Contributing
PRs are welcome. Keep it boring:
no new runtime dependencies (stdlib
urllibfor HTTP,mcpfor the server);tests use stdlib
unittestwith the HTTP layer mocked — run them with.venv/bin/python -m unittest discover -s tests -v;never commit secrets or real API keys.
License
MIT — see LICENSE. Copyright (c) 2026 Manny7717.
Available Tools
5 toolsinfoA
Return full metadata for a single library item by its Jellyfin item ID.
Inputs: item_id (required). Returns: object
librariesA
List the top-level media libraries (Movies, TV Shows, ...).
Inputs: no named parameters. Returns: result
next_upB
List the next unwatched episode for shows you are following.
Inputs: limit. Returns: result
searchB
Search the Jellyfin library by title. Returns movies, shows, episodes, and more.
Inputs: query (required), limit. Returns: result
sessionsA
List active playback sessions: who is watching what, on which device.
Inputs: no named parameters. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool has a clearly distinct responsibility: searching media, fetching metadata by ID, listing active sessions, listing top-level libraries, and showing next-up episodes. Search and info are related but role-separated by ID lookup, so an agent is unlikely to confuse them.
The names are readable and all lowercase, but they are not pattern-consistent: search is a verb while info, sessions, and libraries are nouns, and next_up uses an underscore while the others do not. A uniform list_/verb_noun convention would make the set more predictable.
Five tools is a well-scoped size for a focused Jellyfin browsing server. Each tool covers a meaningful high-level capability without overwhelming the agent with redundant operations.
The core read-only workflows for a Jellyfin assistant are covered: search, details, library listing, active sessions, and next episodes. Obvious minor gaps include browsing seasons/episodes within a show and playback controls, but these are not severe for the apparent purpose.
Maintenance
Related MCP Connectors
The media memory layer for AI agents and their humans. Your AI client can search your collection, add and log what you've finished, update ratings and lists, and find patterns across everything you've read, watched, played, and listened to.
Web search and page reading for AI agents, including JSON APIs, RSS feeds and YouTube.
YouTube transcripts, IMDb search and podcast search as agent tools.
15 media & data tools for AI agents: search, transcribe, subtitles, voiceover, translate & more.
Related MCP Servers
- FlicenseAqualityBmaintenanceEnables interaction with Jellyseerr media request systems through natural language. Supports searching for media, creating requests, checking request status, and managing your media library workflow.58-
- AlicenseNot gradedqualityDmaintenanceConnects an Emby media server to AI clients like Claude Desktop, enabling natural language control of media playback, library browsing, playlist management, and search across your personal media collection.10GPL 3.0
- FlicenseNot gradedqualityDmaintenanceProvides interaction with Jellyfin media server via the Jellyfin REST API, enabling content management and server configuration through natural language.4-
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to manage a Jellyfin media server, including library scanning, media search, playlist management, scheduled tasks, and server monitoring.-