Arr Suite MCP Server
Enables AI assistants to manage media automation services like Sonarr, Radarr, Prowlarr, Bazarr, Overseerr, and Plex through natural language commands.
README
Arr Suite MCP Server
A comprehensive Model Context Protocol (MCP) server that provides AI assistants with intelligent access to your entire arr suite media automation stack.
Overview
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.
Supported Services
- Sonarr - TV Series management
- Radarr - Movie management
- Prowlarr - Indexer management and search
- Bazarr - Subtitle management
- Overseerr - Media request and discovery
- Plex - Media Server management and playback
- Jackett - Alternative indexer proxy (coming soon)
Key Features
- 🧠 Intelligent Intent Recognition: Uses natural language understanding to automatically determine which service to use
- 🎯 Unified Interface: Single API for all arr services
- 🔌 Easy Integration: Simple environment variable configuration
- 🛡️ Type-Safe: Built with Pydantic for robust validation
- ⚡ Async-First: Built on httpx for high-performance async operations
- 📝 Comprehensive: Full API coverage for all supported services
- 🎨 Natural Language: Talk to your media server like a human
Installation
From PyPI (recommended)
pip install arr-suite-mcp
From Source
git clone https://github.com/shaktech786/arr-suite-mcp-server.git
cd arr-suite-mcp-server
pip install -e .
Quick Start
1. Configure Environment
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
2. Run the Server
arr-suite-mcp
3. Configure Claude Desktop
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"
}
}
}
}
Usage Examples
The beauty of this MCP server is its natural language understanding. Here are some examples:
TV Shows (Sonarr)
"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"
Movies (Radarr)
"Add The Matrix to my movies"
"Search for Inception"
"Show all my 4K movies"
"Get details for The Godfather"
"Find movies from 2023"
Indexers (Prowlarr)
"Search for Dune across all indexers"
"List all my indexers"
"Test all indexers"
"Sync indexers to Radarr and Sonarr"
"Show indexer statistics"
Subtitles (Bazarr)
"Download English subtitles for Dune"
"Search for Spanish subtitles for episode 3"
"Show movies missing subtitles"
"Get subtitle providers"
Requests (Overseerr)
"Request Avatar 2"
"Show pending requests"
"Approve request 123"
"Search for trending movies"
"Discover new TV shows"
Plex Media Server
"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"
Advanced Operations
"Backup all Sonarr databases"
"Update quality profile in Radarr"
"Configure download client in Prowlarr"
"Get system status for all services"
MCP Tools
The server provides both high-level intelligent tools and service-specific tools:
Intelligent 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 services
Service-Specific Tools
Each service has dedicated tools for precise control:
Sonarr Tools
sonarr_search_series- Search for TV seriessonarr_add_series- Add a new seriessonarr_get_series- Get all or specific series- And 20+ more operations
Radarr Tools
radarr_search_movie- Search for moviesradarr_add_movie- Add a new movieradarr_get_movies- Get all or specific movies- And 20+ more operations
Prowlarr Tools
prowlarr_search- Search across indexersprowlarr_get_indexers- List all indexersprowlarr_sync_apps- Sync to applications- And 15+ more operations
Plex Tools
plex_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 watched- And more...
Configuration
Environment Variables
The 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
Finding API Keys
Sonarr/Radarr
- Open the web UI
- Settings → General
- Security section → API Key
Prowlarr
- Open the web UI
- Settings → General
- Security section → API Key
Bazarr
- Open the web UI
- Settings → General
- Security section → API Key
Overseerr
- Open the web UI
- Settings → General
- API Key section
Architecture
┌─────────────────────────────────────────┐
│ 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. │
└─────────────────────────────────────────┘
Database Management
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")
Development
Running Tests
# Install dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run with coverage
pytest --cov=arr_suite_mcp --cov-report=html
Code Quality
# Format code
black arr_suite_mcp
# Lint
ruff check arr_suite_mcp
# Type check
mypy arr_suite_mcp
API Coverage
Sonarr
✅ Series Management (add, update, delete, search) ✅ Episode Management ✅ Quality Profiles ✅ Root Folders ✅ Tags ✅ Queue Management ✅ History ✅ Calendar ✅ Commands (refresh, rescan, rename, backup) ✅ Configuration
Radarr
✅ 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
Prowlarr
✅ Indexer Management (add, update, delete, test) ✅ Search across Indexers ✅ Application Management (Sonarr, Radarr connections) ✅ Tags ✅ History ✅ Statistics ✅ Download Clients ✅ Notifications ✅ Configuration ✅ Sync Operations
Bazarr
✅ Series Subtitle Management ✅ Movie Subtitle Management ✅ Subtitle Search ✅ Subtitle Download ✅ History ✅ Languages ✅ Providers ✅ System Status ✅ Settings ✅ Wanted Subtitles ✅ Blacklist
Overseerr
✅ Request Management (create, approve, decline) ✅ Media Search ✅ Discovery (movies, TV) ✅ Trending Content ✅ User Management ✅ Settings (Plex, Radarr, Sonarr) ✅ System Status ✅ Issues
Troubleshooting
Connection Issues
# Test connectivity
curl http://localhost:8989/api/v3/system/status?apikey=YOUR_API_KEY
# Check logs
arr-suite-mcp --log-level DEBUG
Common Issues
- API Key Invalid: Double-check your API keys in the web UI
- Connection Refused: Ensure services are running and accessible
- SSL Errors: Set
{SERVICE}_SSL=falsefor local deployments
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
License
MIT License - see LICENSE for details.
Acknowledgments
- Built with MCP by Anthropic
- Powered by the amazing arr suite projects
- Inspired by the home media automation community
Support
Roadmap
- [ ] Jackett full integration
- [ ] Lidarr support (music)
- [ ] Readarr support (books)
- [ ] Whisparr support (adult content)
- [ ] Advanced filtering and sorting
- [ ] Batch operations
- [ ] Custom scripts integration
- [ ] WebSocket support for real-time updates
- [ ] Metrics and monitoring
- [ ] Multi-instance support
Made with ❤️ for the media automation community
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。