• CLEANUP
  • TARGETED
  • MASSIVE
  • HUMAN

How to delete TV show files with your AI

Connect Sonarr to your AI client to manage your media library. You can target specific files or wipe entire series without opening the Sonarr web interface.

Ask AI about this page

Short answer

How can I delete TV show files using my AI?

Your AI uses Sonarr tools to identify and remove files from your storage. You can tell it to delete a single episode or an entire series to clear up space. This breakdown shows how the AI handles those requests.

Storage outcomes

Where your files go

What happens when you give your AI a cleanup command.

CLEANUP

Reclaim disk space

The AI identifies files that are taking up room and removes them. You get your storage back immediately.

TARGETED

Remove specific episodes

Instead of nuking a whole show, the AI finds the exact files you don't want. This keeps the rest of your library intact.

MASSIVE

Wipe entire series

If you're done with a show entirely, the AI can delete every associated file at once. It handles the heavy lifting of finding every episode.

HUMAN

Review before deleting

You decide which files are safe to lose. The AI presents what it found so you can confirm the deletion.

The workflow

What your AI does when the command arrives.

The AI acts as a bridge between your chat interface and your Sonarr library.

  1. Locate the files

    The AI scans your Sonarr library to find the specific show or episode you mentioned.

    list_episode_files
  2. Verify file details

    It checks the specific file path and metadata to ensure it has the right target.

    get_episode_file
  3. Remove an episode

    The AI executes the removal of a single episode file from your storage.

    delete_episode_file
  4. Remove a series

    For larger cleanups, the AI wipes the entire series and all its files from the system.

    delete_series

Try it

Copy these to start.

Use these prompts to begin managing your files.

Starting points

Swap out the show names and episode numbers for your actual library content.

Sonarr Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_xP8SrYZSACuZcECfY2NS6oNfbK8Q1jdoogIlzikr/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Sonarr capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "sonarr-tv-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_xP8SrYZSACuZcECfY2NS6oNfbK8Q1jdoogIlzikr/mcp"
    }
  }
}
Copy into chat04
  • List all the files for the show Succession.

  • Delete the third episode of The Bear.

  • Find the file path for the latest episode of Shogun.

  • Delete the entire series for Breaking Bad.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Sonarr once, then ask.

You only need to link your Sonarr instance to Vinkius once. Your credentials stay encrypted, and you can start managing files through any compatible client immediately.

Connect Sonarr to your AI

FAQ

How this task behaves

  • 01

    Can the AI add new shows to my library?

    No. This specific set of tools is only for finding and deleting existing files.

  • 02

    Will the AI delete files without asking me?

    The AI follows your direct instructions. If you tell it to delete a series, it will proceed with that action.

  • 03

    Can the AI rename my files?

    No. There are no tools available in this connector to rename or move files.

  • 04

    Does the AI see my Sonarr password?

    No. Vinkius manages the connection securely so your login details are never exposed to the AI.

  • 05

    Can I delete just one specific file within an episode?

    No. The tools allow for deleting entire episodes or entire series, but not individual sub-files within an episode.

  • More questions about Sonarr? The Connector page answers them. See everything the Sonarr Connector can do

Connect Sonarr to Claude, Cursor, ChatGPT & more