plex-media-server

Manage Plex Media Server libraries, searches, playback sessions, and maintenance via API.

2|Updated Feb 19, 2026
One-click install
npx skills add https://github.com/ddnetters/homelab-agent-skills --skill plex-media-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: plex-media-server
Source: https://github.com/ddnetters/homelab-agent-skills/tree/main/plex-media-server
Command: npx skills add https://github.com/ddnetters/homelab-agent-skills --skill plex-media-server

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill simplifies the management and automation of a Plex Media Server, allowing users to interact with their media library and server settings programmatically.

Core Features & Use Cases

  • Library Management: Scan libraries, refresh metadata, and manage content.
  • Media Search: Find specific movies, shows, or other media within your libraries.
  • Playback Monitoring: Track currently playing sessions and view playback history.
  • Server Maintenance: Optimize the database, clean bundles, and empty trash.
  • Use Case: Automatically trigger a Plex library scan after new media is added by other services like Sonarr or Radarr.

Quick Start

Use the plex-media-server skill to list all libraries on your Plex server.

Frequently Asked Questions about plex-media-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Plex Media Server library scans after new media is added?

Plex media server automation handles library scanning by triggering API requests through this Skill, commonly used to automatically refresh libraries after new media is added by services like Sonarr or Radarr.

How do I monitor active Plex playback sessions and history via the API?

Plex API monitoring tracks currently playing sessions and playback history by querying server endpoints, requiring X-Plex-Token authentication for all operations.

Does this Plex management skill support Docker deployments and webhook notifications?

Yes, Plex media server management supports Docker deployments and webhook notifications for events like new media additions, enabling library scanning and server maintenance tasks via its API.

What Plex server maintenance tasks can I perform programmatically?

Plex server maintenance tasks include optimizing the database, cleaning bundles, and emptying trash via API calls to keep your media library managed and performant.

Do I need an X-Plex-Token to manage my media library and search for content?

Yes, managing your Plex media library, scanning content, and searching for media requires X-Plex-Token authentication for all server API operations.