Arr Suite MCP Server for Agentic AI!
Project description
Arr Stack - A2A | AG-UI | MCP
Version: 0.2.21
Overview
Arr Stack MCP Server + A2A Server
It includes a Model Context Protocol (MCP) server and an out of the box Agent2Agent (A2A) agent.
This server acts as a unified proxy for the entire Arr stack, providing a single entry point for AI agents to interact with your media management services.
This repository is actively maintained - Contributions are welcome!
Supports:
- Radarr: Movie collection management
- Sonarr: TV series management
- Lidarr: Music collection management
- Prowlarr: Indexer management
- Chaptarr: Book/Audiobook management
- Unified proxy architecture
- Centralized authentication
MCP
MCP Tools
Since this is a proxy server, it exposes all tools available from the connected Arr services.
| Service | Description | Tag(s) |
|---|---|---|
radarr |
Tools for managing movies (add, search, monitor) | movies |
sonarr |
Tools for managing TV shows (add, search, monitor) | tv |
lidarr |
Tools for managing music (add, search, monitor) | music |
prowlarr |
Tools for managing indexers | indexers |
chaptarr |
Tools for managing books and audiobooks | books |
Using as an MCP Server
The MCP Server can be run in two modes: stdio (for local testing) or http (for networked access). To start the server, use the following commands:
Run in stdio mode (default):
arr-mcp --transport "stdio"
Run in HTTP mode:
arr-mcp --transport "http" --host "0.0.0.0" --port "8000"
AI Prompt:
Find the movie Inception
AI Response:
Found movie "Inception" (2010). It is currently monitored and available on disk.
A2A Agent
This package also includes an A2A agent server that can be used to interact with the Arr MCP server.
Architecture:
---
config:
layout: dagre
---
flowchart TB
subgraph subGraph0["Agent Capabilities"]
C["Agent"]
B["A2A Server - Uvicorn/FastAPI"]
D["MCP Tools"]
F["Agent Skills"]
end
C --> D & F
A["User Query"] --> B
B --> C
D --> E["Radarr/Sonarr/etc API"]
C:::agent
B:::server
A:::server
classDef server fill:#f9f,stroke:#333
classDef agent fill:#bbf,stroke:#333,stroke-width:2px
style B stroke:#000000,fill:#FFD600
style D stroke:#000000,fill:#BBDEFB
style F fill:#BBDEFB
style A fill:#C8E6C9
style subGraph0 fill:#FFF9C4
Component Interaction Diagram
sequenceDiagram
participant User
participant Server as A2A Server
participant Agent as Agent
participant Skill as Agent Skills
participant MCP as MCP Tools
participant API as Arr Application
User->>Server: Send Query
Server->>Agent: Invoke Agent
Agent->>Skill: Analyze Skills Available
Skill->>Agent: Provide Guidance on Next Steps
Agent->>MCP: Invoke Tool
MCP->>API: Call API (e.g. Radarr)
API-->>MCP: API Response
MCP-->>Agent: Tool Response Returned
Agent-->>Agent: Return Results Summarized
Agent-->>Server: Final Response
Server-->>User: Output
Usage
MCP CLI
| Short Flag | Long Flag | Description |
|---|---|---|
| -h | --help | Display help information |
| -t | --transport | Transport method: 'stdio', 'streamable-http', or 'sse' [legacy] (default: stdio) |
| -s | --host | Host address for HTTP transport (default: 0.0.0.0) |
| -p | --port | Port number for HTTP transport (default: 8000) |
| --auth-type | Authentication type: 'none', 'static', 'jwt', 'oauth-proxy', 'oidc-proxy', 'remote-oauth' (default: none) | |
| --enable-delegation | Enable OIDC token delegation | |
| --eunomia-type | Eunomia authorization type: 'none', 'embedded', 'remote' (default: none) |
A2A CLI
Endpoints
- Web UI:
http://localhost:8000/(if enabled) - A2A:
http://localhost:8000/a2a(Discovery:/a2a/.well-known/agent.json) - AG-UI:
http://localhost:8000/ag-ui(POST)
| Short Flag | Long Flag | Description |
|---|---|---|
| -h | --help | Display help information |
| --host | Host to bind the server to (default: 0.0.0.0) | |
| --port | Port to bind the server to (default: 9000) | |
| --reload | Enable auto-reload | |
| --provider | LLM Provider: 'openai', 'anthropic', 'google', 'huggingface' | |
| --model-id | LLM Model ID (default: qwen/qwen3-coder-next) | |
| --base-url | LLM Base URL (for OpenAI compatible providers) | |
| --api-key | LLM API Key | |
| --mcp-url | MCP Server URL (default: http://localhost:8000/mcp) | |
| --web | Enable Pydantic AI Web UI |
Agentic AI
arr-mcp is designed to be used by Agentic AI systems. It provides a set of tools that allow agents to manage your media library.
Agent-to-Agent (A2A)
This package also includes an A2A agent server that can be used to interact with the Arr MCP server.
Examples
Run A2A Server
arr-agent --provider openai --model-id gpt-4 --api-key sk-... --mcp-url http://localhost:8000/mcp
Run with Docker
docker run -e CMD=arr-agent -p 8000:8000 arr-mcp
Docker
Build
docker build -t arr-mcp .
Run MCP Server
docker run -p 8000:8000 arr-mcp
Run A2A Server
docker run -e CMD=arr-agent -p 8001:8001 arr-mcp
Deploy MCP Server as a Service
The Arr MCP server can be deployed using Docker, with configurable authentication, middleware, and Eunomia authorization.
Using Docker Run
docker pull knucklessg1/arr-mcp:latest
docker run -d \
--name arr-mcp \
-p 8004:8004 \
-e HOST=0.0.0.0 \
-e PORT=8004 \
-e TRANSPORT=http \
-e AUTH_TYPE=none \
-e CHAPTARR_MCP_URL=http://localhost:8060/mcp \
-e LIDARR_MCP_URL=http://localhost:8061/mcp \
-e PROWLARR_MCP_URL=http://localhost:8062/mcp \
-e RADARR_MCP_URL=http://localhost:8063/mcp \
-e SONARR_MCP_URL=http://localhost:8064/mcp \
knucklessg1/arr-mcp:latest
Using Docker Compose
Create a docker-compose.yml file:
services:
arr-mcp:
image: knucklessg1/arr-mcp:latest
environment:
- HOST=0.0.0.0
- PORT=8004
- TRANSPORT=http
- AUTH_TYPE=none
- CHAPTARR_MCP_URL=http://chaptarr:8060/mcp
- LIDARR_MCP_URL=http://lidarr:8061/mcp
- PROWLARR_MCP_URL=http://prowlarr:8062/mcp
- RADARR_MCP_URL=http://radarr:8063/mcp
- SONARR_MCP_URL=http://sonarr:8064/mcp
ports:
- 8004:8004
Configure mcp.json for AI Integration
{
"mcpServers": {
"arr": {
"command": "uv",
"args": [
"run",
"--with",
"arr-mcp",
"arr-mcp"
],
"env": {
"RADARR_MCP_URL": "http://localhost:8063/mcp",
"SONARR_MCP_URL": "http://localhost:8064/mcp"
},
"timeout": 300000
}
}
}
Install Python Package
python -m pip install arr-mcp
uv pip install arr-mcp
Repository Owners
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file arr_mcp-0.2.21.tar.gz.
File metadata
- Download URL: arr_mcp-0.2.21.tar.gz
- Upload date:
- Size: 151.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d5464d730d3fb7c35602b5cd06bebd1018d1578676ea051a8c89500e37dbab7
|
|
| MD5 |
70de1ab359dfd7f042775f27a0ab1c50
|
|
| BLAKE2b-256 |
17ed23031c7dbe3b56d666e7d4a2aebfe4bce30088fecd84a6a540477194f0f3
|
File details
Details for the file arr_mcp-0.2.21-py3-none-any.whl.
File metadata
- Download URL: arr_mcp-0.2.21-py3-none-any.whl
- Upload date:
- Size: 224.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d28f465914fe3751cfd74b46ba6024e272698e6ab1f05c386dc3e9368281ed65
|
|
| MD5 |
3688dd5dade056bf15b614098babadae
|
|
| BLAKE2b-256 |
ef54ed9fc8d4f001a11b2598568827bba49272c45259419d7e833fc9d961ed1a
|