KT

knuckles-team/arr-mcp

Developer tools
6 stars 3 forks Quality 85 Trend 34MIT

Arr related MCP and A2A / AG-UI Agent

Overview

— Installation, deployment, usage across the API, CLI, MCP, and maintained in the official documentation. is a production-grade Agent and Model Context Protocol (MCP) server designed to interface directly with Arr Suite MCP Server for Agentic AI!. - Minimizes token overhead and eliminates tool bloat in LLM contexts by grouping methods into optimized, togglable tool modules. - Complete support for Eunomia policies, OIDC token delegation, and granular execution context tracking. - Out-of-the-box OpenTelemetry exports and native Langfuse tracing. This agent wraps the Arr Suite MCP Server for Agentic AI! API. The operator can interact with it programmatically or via its integrated execution entrypoints. Detailed instructions on how to use the underlying API wrappers, extended schema bindings, and developer SDK references are maintained in docs/index.md. This server use dynamic Action-Routed tools to optimize token overhead and maximize IDE compatibility.

README

Arr Mcp

CLI or API | MCP

Documentation — Installation, deployment, usage across the API, CLI, MCP, and maintained in the official documentation.


Table of Contents


Overview

Arr Mcp is a production-grade Agent and Model Context Protocol (MCP) server designed to interface directly with Arr Suite MCP Server for Agentic AI!.


Key Features

  • Consolidated Action-Routed MCP Tools: Minimizes token overhead and eliminates tool bloat in LLM contexts by grouping methods into optimized, togglable tool modules.
  • Enterprise-Grade Security: Complete support for Eunomia policies, OIDC token delegation, and granular execution context tracking.
  • Native Telemetry & Tracing: Out-of-the-box OpenTelemetry exports and native Langfuse tracing.

CLI or API

This agent wraps the Arr Suite MCP Server for Agentic AI! API. The operator can interact with it programmatically or via its integrated execution entrypoints.

Detailed instructions on how to use the underlying API wrappers, extended schema bindings, and developer SDK references are maintained in docs/index.md.


MCP

This server use dynamic Action-Routed tools to optimize token overhead and maximize IDE compatibility.

Available MCP Tools

The table below is auto-generated from the live server — do not edit by hand.

Condensed action-routed tools (default — MCP_TOOL_MODE=condensed)

MCP Tool Toggle Env Var Description
bazarr_action BAZARRTOOL Execute any Bazarr API action.
chaptarr_action CHAPTARRTOOL Execute any Chaptarr API action.
lidarr_action LIDARRTOOL Execute any Lidarr API action.
prowlarr_action PROWLARRTOOL Execute any Prowlarr API action.
radarr_action RADARRTOOL Execute any Radarr API action.
seerr_action SEERRTOOL Execute any Seerr API action.
sonarr_action SONARRTOOL Execute any Sonarr API action.

Verbose 1:1 API-mapped tools (MCP_TOOL_MODE=verbose or both)

7 action-routed tool(s) (default) · 1123 verbose 1:1 tool(s). Each is enabled unless its TOOL toggle is set false; MCP_TOOL_MODE selects the surface (condensed default · verbose 1:1 · both). Auto-generated — do not edit.

Detailed tool schemas, parameter shapes, and validation constraints are preserved in docs/index.md#mcp-tools.

Dynamic Tool Selection & Visibility

This MCP server supports dynamic toolset selection and visibility filtering at runtime. This allows the operator to restrict the set of exposed tools to prevent blowing up the LLM’s context window.

The operator can configure tool filtering via multiple input channels:

  • CLI Arguments: Pass --tools or --toolsets (or their disabled counterparts --disabled-tools and --disabled-toolsets) during startup.
  • Environment Variables: Define standard environment variables:
    • MCP_ENABLED_TOOLS / MCP_DISABLED_TOOLS
    • MCP_ENABLED_TAGS / MCP_DISABLED_TAGS
  • HTTP SSE Request Headers: Pass custom headers during transport initialization:
    • x-mcp-enabled-tools / x-mcp-disabled-tools
    • x-mcp-enabled-tags / x-mcp-disabled-tags
  • HTTP SSE Request Query Parameters: Append query parameters directly to the operator’s transport connection URL:
    • ?tools=tool1,tool2
    • ?tags=tag1

When query strings or parameters are provided, an LLM-free Knowledge Graph resolution layer (using DynamicToolOrchestrator) matches query intents against known tool tags, names, or descriptions, with safe fallback and automated 24-hour background cache refreshing.


MCP Configuration Examples

Install the connector-focused [mcp] extra. Examples use arr-mcp[mcp] to add FastMCP / FastAPI through scion-sdk; the required Scion SDK core still carries epistemic-graph[full]. The [agent-runtime] extra additionally enables model orchestration.

stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)

{
  "mcpServers": {
    "arr-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "arr-mcp[mcp]",
        "arr-mcp"
      ],
      "env": {
        "MCP_TOOL_MODE": "intent",
        "BAZARRTOOL": "True",
        "BAZARR_API_KEY": "your_bazarr_api_key_here",
        "BAZARR_BASE_URL": "http://localhost:6767",
        "CHAPTARRTOOL": "True",
        "CHAPTARR_BASE_URL": "http://localhost:8006",
        "CHAPTARR_TOKEN": "your_chaptarr_token_here",
        "LIDARRTOOL": "True",
        "LIDARR_BASE_URL": "http://localhost:8686",
        "LIDARR_TOKEN": "your_lidarr_token_here",
        "PROWLARRTOOL": "True",
        "PROWLARR_BASE_URL": "http://localhost:9696",
        "PROWLARR_TOKEN": "your_prowlarr_token_here",
        "RADARRTOOL": "True",
        "RADARR_BASE_URL": "http://localhost:7878",
        "RADARR_TOKEN": "your_radarr_token_here",
        "SEERRTOOL": "True",
        "SEERR_API_KEY": "your_seerr_api_key_here",
        "SEERR_BASE_URL": "http://localhost:5055",
        "SONARRTOOL": "True",
        "SONARR_BASE_URL": "http://localhost:8989",
        "SONARR_TOKEN": "your_sonarr_token_here"
      }
    }
  }
}

Runtime references require an alias-aware launcher such as Arbora. Other launchers must omit those entries and inject the resolved values through their own runtime secret boundary.

Streamable-HTTP Transport (networked / production)

{
  "mcpServers": {
    "arr-mcp": {
      "command": "uvx",
      "args": [
        "--from",
        "arr-mcp[mcp]",
        "arr-mcp",
        "--transport",
        "streamable-http",
        "--port",
        "8000"
      ],
      "env": {
        "TRANSPORT": "streamable-http",
        "HOST": "127.0.0.1",
        "PORT": "8000",
        "MCP_TOOL_MODE": "intent",
        "BAZARRTOOL": "True",
        "BAZARR_API_KEY": "your_bazarr_api_key_here",
        "BAZARR_BASE_URL": "http://localhost:6767",
        "CHAPTARRTOOL": "True",
        "CHAPTARR_BASE_URL": "http://localhost:8006",
        "CHAPTARR_TOKEN": "your_chaptarr_token_here",
        "LIDARRTOOL": "True",
        "LIDARR_BASE_URL": "http://localhost:8686",
        "LIDARR_TOKEN": "your_lidarr_token_here",
        "PROWLARRTOOL": "True",
        "PROWLARR_BASE_URL": "http://localhost:9696",
        "PROWLARR_TOKEN": "your_prowlarr_token_here",
        "RADARRTOOL": "True",
        "RADARR_BASE_URL": "http://localhost:7878",
        "RADARR_TOKEN": "your_radarr_token_here",
        "SEERRTOOL": "True",
        "SEERR_API_KEY": "your_seerr_api_key_here",
        "SEERR_BASE_URL": "http://localhost:5055",
        "SONARRTOOL": "True",
        "SONARR_BASE_URL": "http://localhost:8989",
        "SONARR_TOKEN": "your_sonarr_token_here"
      }
    }
  }
}

Alternatively, connect to a pre-deployed Streamable-HTTP instance by url:

{
  "mcpServers": {
    "arr-mcp": {
      "url": "http://localhost:8000/arr-mcp/mcp"
    }
  }
}

Run a reviewed container image as a least-privilege stdio child (no listener or published port):

docker run -i --rm \
  --read-only \
  --cap-drop=ALL \
  --security-opt=no-new-privileges \
  --pids-limit=256 \
  --tmpfs /tmp:rw,noexec,nosuid,nodev,size=64m \
  -e TRANSPORT=stdio \
  -e MCP_TOOL_MODE=intent \
  -e BAZARRTOOL=True \
  -e BAZARR_API_KEY=your_bazarr_api_key_here \
  -e BAZARR_BASE_URL=http://localhost:6767 \
  -e CHAPTARRTOOL=True \
  -e CHAPTARR_BASE_URL=http://localhost:8006 \
  -e CHAPTARR_TOKEN=your_chaptarr_token_here \
  -e LIDARRTOOL=True \
  -e LIDARR_BASE_URL=http://localhost:8686 \
  -e LIDARR_TOKEN=your_lidarr_token_here \
  -e PROWLARRTOOL=True \
  -e PROWLARR_BASE_URL=http://localhost:9696 \
  -e PROWLARR_TOKEN=your_prowlarr_token_here \
  -e RADARRTOOL=True \
  -e RADARR_BASE_URL=http://localhost:7878 \
  -e RADARR_TOKEN=your_radarr_token_here \
  -e SEERRTOOL=True \
  -e SEERR_API_KEY=your_seerr_api_key_here \
  -e SEERR_BASE_URL=http://localhost:5055 \
  -e SONARRTOOL=True \
  -e SONARR_BASE_URL=http://localhost:8989 \
  -e SONARR_TOKEN=your_sonarr_token_here \
  registry.example.invalid/arr-mcp@sha256: arr-mcp

For containerized network HTTP, supply an authenticated TLS ingress (or direct server TLS), exact MCP_ALLOWED_HOSTS, and an exact trusted-proxy CIDR policy through the operator-owned deployment profile. The generator does not emit an unauthenticated non-loopback listener.

Auto-generated from the code-read env surface (MCP_TOOL_MODE + package vars) — do not edit.

Additional Deployment Options

arr-mcp can run as a local stdio process or container, or behind a remote network boundary. The Deployment guide carries the detailed transport contract.

  • Local container — launch a reviewed immutable image as a least-privilege stdio child with no listener or published port.
  • Remote URL — connect through an operator-supplied authenticated HTTPS ingress. Keep its URL, outbound identity references, trust profile, and exact MCP_ALLOWED_HOSTS in AgentConfig.

Agent

Set credentials

export SONARR_BASE_URL=“http://localhost:8989” export SONARR_TOKEN=“your_value” export RADARR_BASE_URL=“http://localhost:7878” export RADARR_TOKEN=“your_value”

Connector-focused MCP server (includes the shared graph engine)

uv pip install “arr-mcp[mcp]”

Everything (development)

uv pip install “arr-mcp[all]” # or: python -m pip install “arr-mcp[all]”


### Container images (`:mcp`)

One multi-stage `docker/Dockerfile` builds the MCP-only image (`--target mcp`):

| Image tag | Build target | Contents | Entrypoint |
|-----------|--------------|----------|------------|
| `example/arr-mcp:mcp` | `--target mcp` | `arr-mcp[mcp]` — **connector-focused**, includes `epistemic-graph[full]`; no model-orchestration stack | `arr-mcp` |

```bash
docker build --target mcp   -t example/arr-mcp:mcp    docker/   # connector-focused MCP server

agent (immutable agent digest) with a co-located :mcp sidecar.

Knowledge-graph database (epistemic-graph)

Scion SDK core dependency (epistemic-graph[full]). The [mcp] extra keeps deployments can use the bundled engine. For production or shared state, run epistemic-graph as a dedicated database service and configure the runtime to use it. Deployment recipes (single-node + Raft HA), connection configuration, and architecture diagrams are documented in the epistemic-graph deployment guide.


Usage & Quick Start

To start and run arr-mcp services:

1. Starting the MCP Server

Start the MCP server in standard I/O mode (ideal for IDEs):

arr-mcp

Or start it as a Streamable-HTTP server on port 8000:

arr-mcp --transport streamable-http --port 8000
View the full README on GitHub

Install

uvx --from arr-mcp[mcp
New to MCP? Start with the mcpskill.org guide →

Configuration

{ "mcpServers": { "arr-mcp": { "command": "uvx", "args": [ "--from", "arr-mcp[mcp]", "arr-mcp" ], "env": { "MCP_TOOL_MODE": "intent", "BAZARRTOOL": "True", "BAZARR_API_KEY": "your_bazarr_api_key_here", "BAZARR_BASE_URL": "http://localhost:6767", "CHAPTARRTOOL": "True", "CHAPTARR_BASE_URL": "http://localhost:8006", "CHAPTARR_TOKEN": "your_chaptarr_token_here", "LIDARRTOOL": "True", "LIDARR_BASE_URL": "http://localhost:8686", "LIDARR_TOKEN": "your_lidarr_token_here", "PROWLARRTOOL": "True", "PROWLARR_BASE_URL": "http://localhost:9696", "PROWLARR_TOKEN": "your_prowlarr_token_here", "RADARRTOOL": "True", "RADARR_BASE_URL": "http://localhost:7878", "RADARR_TOKEN": "your_radarr_token_here", "SEERRTOOL": "True", "SEERR_API_KEY": "your_seerr_api_key_here", "SEERR_BASE_URL": "http://localhost:5055", "SONARRTOOL": "True", "SONARR_BASE_URL": "http://localhost:8989", "SONARR_TOKEN": "your_sonarr_token_here" } } } }