FlixBridge
FlixBridge is an MCP server that bridges AI assistants with media management services (Sonarr, Radarr, SABnzbd) for monitoring, managing, and automating TV shows and movies.
Service Discovery:
list_servicesto identify all configured media services and downloadersSystem Health:
system_statusfor health, version info, and performance metrics per service;server_metricsfor FlixBridge-level monitoringQueue Management:
queue_listfor progress tracking,queue_grabto force retry downloads,queue_diagnosticsto diagnose/auto-fix stuck itemsMedia Search & Addition:
searchfor new series or movies,add_newto add them with quality profiles and root foldersLibrary Management:
quality_profilesto list quality configs,root_foldersfor storage info,import_issuesto detect stuck imports,history_detailfor download/import historyMulti-Service Diagnostics:
all_services_diagnosticsto run diagnostics across all instances simultaneouslyUnified Download Status:
download_statusfor a combined cross-service overviewContent Removal:
remove_contentfor safe removal of queue, library, or downloader items with dry-run preview support
Provides comprehensive movie management capabilities including adding new movies, managing quality profiles, monitoring download queues, running diagnostics, and accessing system health information
Enables TV show management through tools for adding series, configuring quality profiles, monitoring downloads, managing libraries, and performing automated diagnostics and troubleshooting
Click on "Install 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., "@FlixBridgecheck my download queue status"
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.
FlixBridge
Media Management MCP Server
Connect your AI assistant to TV shows and movie management services
FlixBridge is a Model Context Protocol (MCP) server that bridges AI assistants with media management services. It provides a unified interface for monitoring downloads, managing libraries, and automating media workflows.
โจ Key Features
๐ฌ Multi-Service Support - TV shows, movies, and download clients
๐ Real-Time Monitoring - Queue status, system health, and diagnostics
๐ค Smart Automation - Auto-fix stuck downloads and optimize workflows
๐ข Multi-Instance Ready - Quality tiers, content types, environments
๐ Intelligent Search - Find and add new content with smart quality profiles
๐ Unified Dashboard - Single view across all your services
๐ Advanced Debugging - Comprehensive logging and diagnostics
โก High Performance - Efficient, lightweight, TypeScript-first
Related MCP server: Apifox MCP Server
๐ฆ Installation
From npm (Recommended)
# Install globally
npm install -g @thesammykins/flixbridge
# Or install locally in your project
npm install @thesammykins/flixbridge๐ฆ View on npm
From Source
# Clone the repository
git clone https://github.com/thesammykins/FlixBridge.git
cd FlixBridge
# Install dependencies and build
npm install && npm run build๐ Quick Start
# 1. Configure your services via environment variables
export SONARR_URL="http://localhost:8989"
export SONARR_API_KEY="your-sonarr-api-key"
export RADARR_URL="http://localhost:7878"
export RADARR_API_KEY="your-radarr-api-key"
# Optional downloader
export SABNZBD_URL="http://localhost:8080"
export SABNZBD_API_KEY="your-sabnzbd-api-key"
# 2. Build and run
npm run build
npm startOr with slug-based configuration for multiple instances:
# Multiple Sonarr instances
export SONARR_HD_URL="http://localhost:8989"
export SONARR_HD_API_KEY="your-hd-sonarr-key"
export SONARR_4K_URL="http://localhost:8990"
export SONARR_4K_API_KEY="your-4k-sonarr-key"
# Multiple Radarr instances
export RADARR_MAIN_URL="http://localhost:7878"
export RADARR_MAIN_API_KEY="your-main-radarr-key"
export RADARR_UHD_URL="http://localhost:7879"
export RADARR_UHD_API_KEY="your-uhd-radarr-key"
npm startโ๏ธ Configuration
FlixBridge v0.3.x uses environment-only configuration with slug-based discovery. No config files and no JSON-in-env mapping required.
Slug-based multiple instances
Sonarr:
SONARR_<SLUG>_URL,SONARR_<SLUG>_API_KEY,SONARR_<SLUG>_NAME(optional)Radarr:
RADARR_<SLUG>_URL,RADARR_<SLUG>_API_KEY,RADARR_<SLUG>_NAME(optional)SABnzbd:
SABNZBD_<SLUG>_URL,SABNZBD_<SLUG>_API_KEY,SABNZBD_<SLUG>_NAME(optional)Prefixed aliases are also accepted:
FLIX_BRIDGE_SONARR_<SLUG>_URLwith_KEYor_API_KEY.Single-instance prefixed aliases are accepted too, e.g.
FLIX_BRIDGE_SABNZBD_URLwithFLIX_BRIDGE_SABNZBD_KEY.
Single-instance fallback variables
SONARR_URLSONARR_API_KEYRADARR_URLRADARR_API_KEYSABNZBD_URLSABNZBD_API_KEY
Multi-Instance Example
# Sonarr
export SONARR_MAIN_URL="http://sonarr-main:8989"
export SONARR_MAIN_API_KEY="{{SONARR_MAIN_KEY}}"
export SONARR_4K_URL="http://sonarr-4k:8989"
export SONARR_4K_API_KEY="{{SONARR_4K_KEY}}"
# Radarr
export RADARR_MAIN_URL="http://radarr-main:7878"
export RADARR_MAIN_API_KEY="{{RADARR_MAIN_KEY}}"
export RADARR_UHD_URL="http://radarr-uhd:7878"
export RADARR_UHD_API_KEY="{{RADARR_UHD_KEY}}"
# SABnzbd (optional)
export SABNZBD_MAIN_URL="http://sab-main:8080"
export SABNZBD_MAIN_API_KEY="{{SAB_MAIN_KEY}}"Notes:
Service names default to
sonarr-<slug>/radarr-<slug>(slug lowercased,_โ-).If you set
<KIND>_<SLUG>_NAME, that overrides the final name (ensure it contains "sonarr"/"radarr" to pass current detection).Single-instance fallback (SONARR_URL/RADARR_URL/SABNZBD_URL) still works for simple setups.
๐ ๏ธ Available Tools
โ ๏ธ Important: Always call
list_servicesfirst to discover available services before using any other tools.
Service Discovery
list_services - Discover all configured services and downloaders
Core Operations
system_status - Health and version information
queue_list - Download queue with progress tracking
queue_grab - Force retry/grab specific downloads
queue_diagnostics - Analyze stuck items; pass
autoFix:falsefor read-only checksremove_content - Preview and remove queue, library, or downloader items with confirmation
root_folders - Storage locations and free space
Media Management
search - Find new series/movies to add
add_new - Add media with intelligent quality profiles
quality_profiles - List available quality configurations
history_detail - Download and import history
import_issues - Detect stuck downloads and import problems
Multi-Service Tools
all_services_diagnostics - Run diagnostics across all instances
download_status - Unified status across services and downloaders
server_metrics - Local operation metrics and health status
Production Safety:
queue_diagnosticsandall_services_diagnosticsdefault toautoFix:true; explicitly passautoFix:falsefor read-only production baselines. Useremove_contentwithdryRun:truefirst and execute only with the returnedconfirmationTokenafter checking the preview.
๐ง MCP Client Setup
Copy/Paste Agent Install Prompt
Use this prompt with your coding agent to install FlixBridge and return a ready-to-paste MCP config:
Install and configure FlixBridge MCP for me.
Requirements:
1) Install package: @thesammykins/flixbridge
2) Generate MCP config for Claude Desktop using command "npx" and args ["@thesammykins/flixbridge"]
3) Include these env vars in the config with my values:
- SONARR_URL
- SONARR_API_KEY
- RADARR_URL
- RADARR_API_KEY
- SABNZBD_URL (optional)
- SABNZBD_API_KEY (optional)
4) Return only:
- exact install command(s)
- exact claude_desktop_config.json snippet
- a 3-step verification checklist
5) After setup, remind me to call list_services first.If you use slug-based multi-instance setup, ask the agent to use SONARR_<SLUG>_*, RADARR_<SLUG>_*, and SABNZBD_<SLUG>_* variables.
Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"flixbridge": {
"command": "npx",
"args": ["@thesammykins/flixbridge"],
"env": {
"SONARR_URL": "http://localhost:8989",
"SONARR_API_KEY": "your-sonarr-api-key",
"RADARR_URL": "http://localhost:7878",
"RADARR_API_KEY": "your-radarr-api-key"
}
}
}
}Alternative: Global Installation
# Install globally for easier usage
npm install -g @thesammykins/flixbridgeThen use with Claude Desktop by providing environment variables (standard or via mapping):
{
"mcpServers": {
"flixbridge": {
"command": "flixbridge",
"env": {
"SONARR_URL": "http://localhost:8989",
"SONARR_API_KEY": "your-sonarr-api-key",
"RADARR_URL": "http://localhost:7878",
"RADARR_API_KEY": "your-radarr-api-key",
"SABNZBD_URL": "http://localhost:8080",
"SABNZBD_API_KEY": "your-sabnzbd-api-key"
}
}
}
}Single Instance Setup (Alternative)
export SONARR_URL="http://localhost:8989"
export SONARR_API_KEY="your-sonarr-api-key"
export RADARR_URL="http://localhost:7878"
export RADARR_API_KEY="your-radarr-api-key"
export SABNZBD_URL="http://localhost:8080"
export SABNZBD_API_KEY="your-sabnzbd-api-key"๐ Debugging
Enable comprehensive debug logging:
FLIX_BRIDGE_DEBUG=1 npm run dev๐งช Testing
# Basic functionality test
npm run smoke
# Test with debug output
FLIX_BRIDGE_DEBUG=1 npm run smoke๐ Documentation
Installation & Setup - Requirements and installation
Configuration Guide - All configuration methods
Usage Guide - MCP client setup and workflows
API Reference - Complete tool documentation
Multi-Instance Setup - Advanced multi-instance patterns
Troubleshooting - Common issues and solutions
Architecture Guide - Technical architecture for developers
๐ค Contributing
Read the Architecture Guide
Follow engineering principles in
AGENTS.mdMaintain TypeScript strict mode
Add tests for new features
Run
npm run smokebefore submitting
๐ License
MIT - see LICENSE file for details
๐ Need Help?
Check the troubleshooting guide
Run diagnostics:
npm run smokeEnable debug mode:
FLIX_BRIDGE_DEBUG=1Review logs from your media management services
Made with โค๏ธ for the home media automation community
Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/thesammykins/FlixBridge'
If you have feedback or need assistance with the MCP directory API, please join our Discord server