HLS / IPTV MCP Server — AI Video Streaming
Under maintenancePricing
Pay per usage
Go to Apify Store

HLS / IPTV MCP Server — AI Video Streaming
Under maintenanceMCP server for video streaming workflows. Convert videos to HLS, transcode, create thumbnail strips, check stream health, compress, trim, watermark, create GIFs, extract audio, and more — all via natural language. Powered by ffmpeg.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Kritsana
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
HLS / IPTV MCP Server
MCP server for video streaming — AI controls ffmpeg to create HLS streams, transcode, generate thumbnails, compress videos, and more.
Quick Start
pip install -e .python -m hls_mcp_server --transport sse --port 8000
Apify Actor
$apify push
Tools
HLS Streaming
| Tool | Description |
|---|---|
video_to_hls | Convert video to multi-bitrate HLS (.m3u8 + .ts) |
hls_to_mp4 | Convert HLS stream back to MP4 |
generate_master_playlist | Create master playlist from variant definitions |
stream_health_check | Check HLS stream availability and segment health |
Thumbnails
| Tool | Description |
|---|---|
create_thumbnail_strip | Generate thumbnail sprite sheet |
extract_thumbnail | Capture single frame at timestamp |
Processing
| Tool | Description |
|---|---|
video_metadata | Get codec, resolution, bitrate, duration, audio tracks |
compress_video | Compress video (CRF-based) |
trim_video | Cut a segment |
change_resolution | Resize/scale video |
add_watermark | Overlay text watermark |
concat_videos | Merge multiple videos |
create_gif | Convert clip to animated GIF |
extract_audio | Extract audio track (mp3/aac/wav/ogg/flac) |
live_transcode_status | Server capabilities and encoder availability |
Environment Variables
| Variable | Default | Description |
|---|---|---|
MCP_TRANSPORT | stdio | stdio or sse |
MCP_PORT | 8000 | Port for SSE |
Claude Desktop Config
{"mcpServers": {"hls": {"command": "python","args": ["-m", "hls_mcp_server"],"env": {}}}}
Example
User: Convert video.mp4 to HLS with 1080p, 720p, 480p variantsAI:→ video_to_hls("video.mp4", "/output", resolutions="1080,720,480")✅ Master playlist: /output/master.m3u83 variants, 45 segments generatedUser: Make a thumbnail strip every 10 secondsAI:→ create_thumbnail_strip("video.mp4", "/output/strip.jpg", interval=10)✅ Thumbnails saved: /output/strip.jpg (120 KB)
Requirements
- ffmpeg (auto-installed in Docker image)
- Python 3.11+
License
MIT