🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

sonarr-mcp

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sonarr-mcp

This is a [Model Context Protocol](https://modelcontextprotocol.org) (MCP) server for accessing Sonarr. It provides a set of tools for interacting with Sonarr programmatically and it's awesome!

Source
npmnpm
Version
1.4.0
Version published
Weekly downloads
14
-53.33%
Maintainers
1
Weekly downloads
 
Created
Source

Sonarr MCP Server

This is a Model Context Protocol (MCP) server for accessing Sonarr. It provides a set of tools for interacting with Sonarr programmatically and it's awesome!

Available Tools

The following tools are available:

  • add-series: Add a series to Sonarr
  • find-episodes: Find episodes in Sonarr
  • get-logs: Get paginated logs from Sonarr
  • list-recent-downloads: List recent downloads from Sonarr
  • list-upcoming-episodes: List upcoming episodes from Sonarr
  • search-series: Search for a TV series by term

Available Resources

The following resources are available:

  • episode: Retrieve information about a specific episode by ID
  • quality-definition: List quality definitions used by Sonarr
  • quality-profiles: List quality profiles configured in Sonarr
  • series: Retrieve information about a specific series by ID

Usage

To add this server to your MCP config, add the following:

{
  "mcpServers": {
    "sonarr": {
      "command": "npx",
      "args": ["-y", "sonarr-mcp"],
      "env": {
        "SONARR_URL": "http://localhost:8989",
        "SONARR_API_KEY": "<your-sonarr-api-key>"
      }
    }
  }
}

You can get your sonarr api key from the sonarr web ui under Settings > API > API Key.

Here's a diagram of how the tools and resources can be used:

flowchart LR
    subgraph User
      U((User/Agent))
    end

    subgraph Tools
      A[Search Series]
      B[Find Episodes]
      D[List Upcoming Episodes]
      E[Add Series]
      G[List Downloads]
      I[Get Logs]
    end

    subgraph Resources
      C[Episode Resource]
      F[Series Resource]
      H[Quality Profiles]
    end

    U --> A
    U --> B
    U --> D
    U --> E
    U --> G
    U --> I

    A --> B
    B --> C
    D --> C
    E --> F
    G --> H
    I

FAQs

Package last updated on 09 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts