Cover image
Try Now
2025-04-01

MCP服务器,用于在Sonarr和Radarr设置中有效管理和自动化电视节目和电影。使用AI驱动的见解和命令简化媒体库管理。

3 years

Works with Finder

2

Github Watches

1

Github Forks

3

Github Stars

GPTDARR - Sonarr & Radarr MCP Server

Description

GPTDARR is an AI tool server using Model Context Protocol (MCP) that integrates with Sonarr and Radarr. It helps AI assistants search, add, and manage TV shows and movies in your media library.

Features

  • Search for TV shows and movies across Sonarr and Radarr
  • Add TV series to Sonarr
  • Add movies to Radarr
  • Comprehensive logging system for debugging and monitoring (sorry about the litter, this is very much a work in progress application)

Current Limitations

  • Works best with movies; TV show support is more limited
  • Does not support individual season and episode file checks
  • Monitoring toggles are not implemented (unmonitored items are ignored)
  • Prone to hallucinating tool-usage, make sure it runs the tool.

Todo

  • Implement individual season and episode file checks
  • Add support for toggling monitoring status
  • Improve TV show support to match movie functionality
  • Override quality profile through natural language
  • Improve tool naming and descriptions so the LLM doesn't hallucinate tool calls (looking for expert advice here)
  • Improve LLM system prompt to reduce hallucinations (looking for expert advice here too)

Getting Started

Prerequisites

  • Node.js 18 or higher
  • Sonarr and Radarr set up and running
  • An MCP-compatible chat client (e.g., 5ire, Claude)

Installation & Setup

  1. Run the interactive configuration wizard:

    npx gptdarr setup
    
  2. The wizard will guide you through setting up:

    • Sonarr URL and API key
    • Radarr URL and API key
    • Quality profiles for both services
    • Root folders for media storage
    • Logging preferences
  3. After completing the setup, the wizard will generate an NPX command (recommended). Copy this command.

  4. In your MCP-compatible chat client (e.g., 5ire):

    • Go to Tools > New > Command
    • Paste the copied command
    • The chat client will now be able to start and communicate with the GPTDarr MCP server
  5. Important: System Prompt

    • After setting up the tool, make sure to use the provided system prompt located in llm_system_prompt.txt
    • This prompt contains essential instructions for the AI assistant to properly interact with Radarr and Sonarr
    • The prompt ensures consistent handling of movie and TV show requests, proper status reporting, and efficient content management

The server provides the following tools:

  • lookup-content: Search for TV shows and movies

    • Parameters:
      • title: The title to search for
      • year (optional): Release year to refine search
  • add-series: Add TV series to Sonarr

    • Parameters:
      • items: List of TV series to add, each with:
        • seriesName: Name of the TV series
        • seriesYear (optional): Year of the TV series
  • add-movies: Add movies to Radarr

    • Parameters:
      • items: List of movies to add, each with:
        • title: Title of the movie
        • year (optional): Year of the movie

Logging

The logs are mostly for development, and we suggest disabling them when running setup.

  • Content lookups
  • Series and movie additions
  • API requests and responses
  • Errors and exceptions

Logs are stored in your home directory in a .gptdarr folder.

Contributing

Contributions are welcome! Please read our Contributing Guide for more information.

License

This project is licensed under the MIT License.

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Yasir Eryilmaz
  • AI scriptwriting assistant for short, engaging video content.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • albert tan
  • Japanese education, creating tailored learning experiences.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • pontusab
  • 光标与风浪冲浪社区,查找规则和MCP

  • rahulc0dy
  • 测试您的MCP服务器。

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • GeyserMC
  • 与Minecraft客户端/服务器通信的库。

  • Mintplex-Labs
  • 带有内置抹布,AI代理,无代理构建器,MCP兼容性等的多合一桌面和Docker AI应用程序。

  • awslabs
  • AWS MCP服务器 - 将AWS最佳实践直接带入您的开发工作流程的专门MCP服务器

    Reviews

    5 (1)
    Avatar
    user_DvwOIqk9
    2025-04-16

    As a dedicated MCP app user, I recently tried GPTDARR by csmit195. It is an impressive project available on GitHub that showcases innovative features and solid performance. The user interface is intuitive, making it easy to navigate and utilize its capabilities. Highly recommend checking it out! Visit: https://github.com/csmit195/gptdarr