Skip to main content

Arr Suite MCP Server for Agentic AI!

Project description

Arr Stack - A2A | AG-UI | MCP

PyPI - Version MCP Server PyPI - Downloads GitHub Repo stars GitHub forks GitHub contributors PyPI - License GitHub

GitHub last commit (by committer) GitHub pull requests GitHub closed pull requests GitHub issues

GitHub top language GitHub language count GitHub repo size GitHub repo file count (file type) PyPI - Wheel PyPI - Implementation

Version: 0.2.13

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

GitHub followers GitHub User's stars

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arr_mcp-0.2.13.tar.gz (227.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arr_mcp-0.2.13-py3-none-any.whl (295.6 kB view details)

Uploaded Python 3

File details

Details for the file arr_mcp-0.2.13.tar.gz.

File metadata

  • Download URL: arr_mcp-0.2.13.tar.gz
  • Upload date:
  • Size: 227.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for arr_mcp-0.2.13.tar.gz
Algorithm Hash digest
SHA256 d11832241c29ee6886eaf925b2954f4bfe614230c6cba9979751a36cd9b0b8ed
MD5 12c7cf3cbebe30c953bcc39653770566
BLAKE2b-256 c9258241be7d4c681148007975a090280e455fd814600dc33551f856f236c5e2

See more details on using hashes here.

File details

Details for the file arr_mcp-0.2.13-py3-none-any.whl.

File metadata

  • Download URL: arr_mcp-0.2.13-py3-none-any.whl
  • Upload date:
  • Size: 295.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for arr_mcp-0.2.13-py3-none-any.whl
Algorithm Hash digest
SHA256 54338d254d32be252d91f43989f062baf7694e10db2dcd6141965adab23f3cf6
MD5 746f8b0997e345f3655b7d46e07ede26
BLAKE2b-256 0652d978dcee91b022b83e98d08080f70a5bb509b31c2d096ed8a09b2ec867d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page