Skip to main content
Glama
shaktech786

Arr Suite MCP Server

by shaktech786

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.

License: MIT Python 3.10+

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

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 language

  • arr_explain_intent - Understand how your query will be interpreted

  • arr_list_services - Show configured services

  • arr_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 series

  • sonarr_add_series - Add a new series

  • sonarr_get_series - Get all or specific series

  • And 20+ more operations

Radarr Tools

  • radarr_search_movie - Search for movies

  • radarr_add_movie - Add a new movie

  • radarr_get_movies - Get all or specific movies

  • And 20+ more operations

Prowlarr Tools

  • prowlarr_search - Search across indexers

  • prowlarr_get_indexers - List all indexers

  • prowlarr_sync_apps - Sync to applications

  • And 15+ more operations

Plex Tools

  • plex_search - Search Plex media

  • plex_get_libraries - List all libraries

  • plex_get_recently_added - Recently added content

  • plex_get_sessions - Currently playing

  • plex_scan_library - Scan library for new content

  • plex_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

  1. Open the web UI

  2. Settings β†’ General

  3. Security section β†’ API Key

Prowlarr

  1. Open the web UI

  2. Settings β†’ General

  3. Security section β†’ API Key

Bazarr

  1. Open the web UI

  2. Settings β†’ General

  3. Security section β†’ API Key

Overseerr

  1. Open the web UI

  2. Settings β†’ General

  3. 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

  1. API Key Invalid: Double-check your API keys in the web UI

  2. Connection Refused: Ensure services are running and accessible

  3. SSL Errors: Set {SERVICE}_SSL=false for 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

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/shaktech786/arr-suite-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server