loading…
Search for a command to run...
loading…
Enables AI assistants to manage media automation services like Sonarr, Radarr, Prowlarr, Bazarr, Overseerr, and Plex through natural language commands.
Enables AI assistants to manage media automation services like Sonarr, Radarr, Prowlarr, Bazarr, Overseerr, and Plex through natural language commands.
A comprehensive Model Context Protocol (MCP) server that provides AI assistants with intelligent access to your entire arr suite media automation stack.
The Arr Suite MCP Server is a powerful integration that connects AI assistants like Claude to your media automation infrastructure. It uses intelligent natural language processing to automatically route requests to the appropriate service, making media management feel natural and intuitive.
pip install arr-suite-mcp
git clone https://github.com/shaktech786/arr-suite-mcp-server.git
cd arr-suite-mcp-server
pip install -e .
Create a .env file:
# Sonarr Configuration
SONARR_HOST=localhost
SONARR_PORT=8989
SONARR_API_KEY=your_sonarr_api_key
# Radarr Configuration
RADARR_HOST=localhost
RADARR_PORT=7878
RADARR_API_KEY=your_radarr_api_key
# Prowlarr Configuration
PROWLARR_HOST=localhost
PROWLARR_PORT=9696
PROWLARR_API_KEY=your_prowlarr_api_key
# Bazarr Configuration
BAZARR_HOST=localhost
BAZARR_PORT=6767
BAZARR_API_KEY=your_bazarr_api_key
# Overseerr Configuration
OVERSEERR_HOST=localhost
OVERSEERR_PORT=5055
OVERSEERR_API_KEY=your_overseerr_api_key
arr-suite-mcp
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"arr-suite": {
"command": "arr-suite-mcp",
"env": {
"SONARR_HOST": "localhost",
"SONARR_PORT": "8989",
"SONARR_API_KEY": "your_api_key"
}
}
}
}
The beauty of this MCP server is its natural language understanding. Here are some examples:
"Add Breaking Bad to my collection"
"Search for The Mandalorian"
"List all my TV shows"
"Get episodes for Game of Thrones season 8"
"Monitor The Office for new episodes"
"Add The Matrix to my movies"
"Search for Inception"
"Show all my 4K movies"
"Get details for The Godfather"
"Find movies from 2023"
"Search for Dune across all indexers"
"List all my indexers"
"Test all indexers"
"Sync indexers to Radarr and Sonarr"
"Show indexer statistics"
"Download English subtitles for Dune"
"Search for Spanish subtitles for episode 3"
"Show movies missing subtitles"
"Get subtitle providers"
"Request Avatar 2"
"Show pending requests"
"Approve request 123"
"Search for trending movies"
"Discover new TV shows"
"Search Plex for Breaking Bad"
"Show my Plex libraries"
"What's recently added to Plex?"
"Show what's playing on Plex"
"Get On Deck items"
"Scan my Movies library"
"Mark The Matrix as watched"
"Backup all Sonarr databases"
"Update quality profile in Radarr"
"Configure download client in Prowlarr"
"Get system status for all services"
The server provides both high-level intelligent tools and service-specific tools:
arr_execute - Execute any arr operation using natural languagearr_explain_intent - Understand how your query will be interpretedarr_list_services - Show configured servicesarr_get_system_status - Get health status of all servicesEach service has dedicated tools for precise control:
sonarr_search_series - Search for TV seriessonarr_add_series - Add a new seriessonarr_get_series - Get all or specific seriesradarr_search_movie - Search for moviesradarr_add_movie - Add a new movieradarr_get_movies - Get all or specific moviesprowlarr_search - Search across indexersprowlarr_get_indexers - List all indexersprowlarr_sync_apps - Sync to applicationsplex_search - Search Plex mediaplex_get_libraries - List all librariesplex_get_recently_added - Recently added contentplex_get_sessions - Currently playingplex_scan_library - Scan library for new contentplex_mark_watched - Mark as watchedThe server uses environment variables with prefixes for each service:
# Format: {SERVICE}_{SETTING}
SONARR_HOST=localhost
SONARR_PORT=8989
SONARR_API_KEY=abc123
SONARR_SSL=false
# Global Settings
REQUEST_TIMEOUT=30
MAX_RETRIES=3
LOG_LEVEL=INFO
┌─────────────────────────────────────────┐
│ AI Assistant (Claude) │
└────────────────┬────────────────────────┘
│ MCP Protocol
┌────────────────▼────────────────────────┐
│ Arr Suite MCP Server │
│ ┌─────────────────────────────────┐ │
│ │ Intent Router (NLP) │ │
│ │ - Analyzes natural language │ │
│ │ - Determines service & action │ │
│ └─────────────┬───────────────────┘ │
│ │ │
│ ┌─────────────▼───────────────────┐ │
│ │ Service Clients │ │
│ │ ┌──────────┐ ┌──────────┐ │ │
│ │ │ Sonarr │ │ Radarr │ │ │
│ │ ├──────────┤ ├──────────┤ │ │
│ │ │ Prowlarr │ │ Bazarr │ │ │
│ │ ├──────────┤ ├──────────┤ │ │
│ │ │Overseerr │ │ More... │ │ │
│ │ └──────────┘ └──────────┘ │ │
│ └─────────────────────────────────┘ │
└────────────────┬────────────────────────┘
│ HTTP/REST APIs
┌────────────────▼────────────────────────┐
│ Your Arr Stack Services │
│ Sonarr│Radarr│Prowlarr│Bazarr│etc. │
└─────────────────────────────────────────┘
The server includes utilities for managing arr suite databases:
from arr_suite_mcp.utils.db_manager import ArrDatabaseManager
# Backup all databases
manager = ArrDatabaseManager(config_path="/path/to/arr/configs")
await manager.backup_all()
# Restore a database
await manager.restore("sonarr", "/path/to/backup.db")
# Execute SQL query
result = await manager.execute_query("sonarr", "SELECT * FROM Series")
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run with coverage
pytest --cov=arr_suite_mcp --cov-report=html
# Format code
black arr_suite_mcp
# Lint
ruff check arr_suite_mcp
# Type check
mypy arr_suite_mcp
✅ Series Management (add, update, delete, search) ✅ Episode Management ✅ Quality Profiles ✅ Root Folders ✅ Tags ✅ Queue Management ✅ History ✅ Calendar ✅ Commands (refresh, rescan, rename, backup) ✅ Configuration
✅ Movie Management (add, update, delete, search) ✅ Collections ✅ Quality Profiles ✅ Root Folders ✅ Tags ✅ Queue Management ✅ History ✅ Calendar ✅ Commands (refresh, rescan, rename, backup) ✅ Configuration ✅ Import Lists ✅ Notifications
✅ Indexer Management (add, update, delete, test) ✅ Search across Indexers ✅ Application Management (Sonarr, Radarr connections) ✅ Tags ✅ History ✅ Statistics ✅ Download Clients ✅ Notifications ✅ Configuration ✅ Sync Operations
✅ Series Subtitle Management ✅ Movie Subtitle Management ✅ Subtitle Search ✅ Subtitle Download ✅ History ✅ Languages ✅ Providers ✅ System Status ✅ Settings ✅ Wanted Subtitles ✅ Blacklist
✅ Request Management (create, approve, decline) ✅ Media Search ✅ Discovery (movies, TV) ✅ Trending Content ✅ User Management ✅ Settings (Plex, Radarr, Sonarr) ✅ System Status ✅ Issues
# Test connectivity
curl http://localhost:8989/api/v3/system/status?apikey=YOUR_API_KEY
# Check logs
arr-suite-mcp --log-level DEBUG
{SERVICE}_SSL=false for local deploymentsContributions are welcome! Please see CONTRIBUTING.md for guidelines.
MIT License - see LICENSE for details.
Made with ❤️ for the media automation community
Выполни в терминале:
claude mcp add arr-suite-mcp-server -- npx Безопасность
Низкий рискАвтоматическая эвристика по публичным данным — не гарантия безопасности.