Installation¶
jellyfin-mcp is a standard Python package and a prebuilt container image. Pick the
path that matches how you want to run it.
Requirements¶
- Python 3.11 – 3.14.
- A reachable Jellyfin media server — see Backing Platform to deploy one locally.
From PyPI (recommended)¶
The base install already includes the FastMCP MCP-server runtime
(agent-utilities[mcp]), so the jellyfin-mcp console script is ready immediately.
Optional extras¶
Install an extra only when you need the integrated agent or the test tooling:
| Extra | Install | Pulls in |
|---|---|---|
| (base) | pip install jellyfin-mcp |
FastMCP MCP-server runtime (agent-utilities[mcp]) |
agent |
pip install "jellyfin-mcp[agent]" |
Pydantic-AI agent + Logfire tracing (agent-utilities[agent,logfire]) |
all |
pip install "jellyfin-mcp[all]" |
MCP server and the agent runtime |
test |
pip install "jellyfin-mcp[test]" |
pytest, pytest-asyncio, pytest-cov, pytest-xdist |
From source¶
git clone https://github.com/Knuckles-Team/jellyfin-mcp.git
cd jellyfin-mcp
pip install -e ".[all]" # editable install with the agent runtime
With uv:
Prebuilt Docker image¶
A multi-stage, slim image is published on every release (installs
jellyfin-mcp[all], entrypoint jellyfin-mcp):
docker pull knucklessg1/jellyfin-mcp:latest
docker run --rm -i \
-e JELLYFIN_URL=http://your-jellyfin:8096 \
-e JELLYFIN_API_KEY=your_api_key \
knucklessg1/jellyfin-mcp:latest # stdio transport (default)
For an HTTP server with a published port, and for the agent server, see Deployment.
Verify the install¶
Next steps¶
- Deployment — run it as a long-lived MCP server (and agent) behind Caddy + DNS.
- Usage — call the tools, the
Apiclient, and the agent CLI. - Configuration — every environment variable.