Metadata-Version: 2.4
Name: mcp-jellyfin
Version: 0.1.0
Summary: An MCP server to interface with the Jellyfin API.
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: mcp
Requires-Dist: httpx
Requires-Dist: python-dotenv
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-asyncio; extra == "dev"

# mcp-jellyfin

An MCP server to interface with the Jellyfin API.

## Features
- Search through Jellyfin libraries (Movies, Series, etc.)
- List active user sessions and playback information

## Setup

### Prerequisites
- Python 3.10+
- `uv` (recommended) or `pip`

### Installation

Using [uv](https://github.com/astral-sh/uv):
```bash
uv sync
```

Using pip:
```bash
pip install -e .
```

### Configuration

Create a `.env` file based on `.env.example`:
```bash
cp .env.example .env
```

Add your Jellyfin credentials to the `.env` file:
- `JELLYFIN_URL`: Your Jellyfin server URL (e.g., `http://192.168.1.10:8096`)
- `JELLYFIN_API_KEY`: Your Jellyfin API key

## Usage

To run the MCP server:
```bash
python src/jellyfin_mcp/server.py
```

## Testing

```bash
pytest
```
