anysearch
API key for higher rate limits. Anonymous access available with lower rate limits.
Use this skill when the user asks to inspect, diagnose, or directly operate a configured Emby, Jellyfin, Plex, ZSpace, UGREEN, TrimeMedia, or Navidrome server. It discovers provider capabilities on demand and supports libraries, native movie/music search, episode coverage,
Claude Code
$ npx -y skills add jxxghp/moviepilot --skill mediaserver-operation --agent claude-code
Codex
$ npx skills add jxxghp/moviepilot --skill mediaserver-operation -a codex -y
Cursor
$ npx skills add jxxghp/moviepilot --skill mediaserver-operation -a cursor -y
Gemini CLI
$ npx skills add jxxghp/moviepilot --skill mediaserver-operation -a gemini-cli -y
GitHub Copilot
$ npx skills add jxxghp/moviepilot --skill mediaserver-operation -a github-copilot -y
OpenCode
$ npx skills add jxxghp/moviepilot --skill mediaserver-operation -a opencode -y
Windsurf
$ npx skills add jxxghp/moviepilot --skill mediaserver-operation -a windsurf -y
name: mediaserver-operation version: 3 description: >- Use this skill when the user asks to inspect, diagnose, or directly operate a configured Emby, Jellyfin, Plex, ZSpace, UGREEN, TrimeMedia, or Navidrome server. It discovers provider capabilities on demand and supports libraries, native movie/music search, episode coverage, recent media, resume state, playback sessions, statistics, scans, metadata refreshes, and provider play URLs without adding permanent tools. allowed-tools: execute_command
Use `scripts/mp-mediaserver.py`. The helper reads MoviePilot's local server configuration and credentials itself. Never request, print, or pass a host, username, password, API key, token, Cookie, or arbitrary URL.
Run the bundled copy from the MoviePilot program directory with its project runtime, for example:
cd <MOVIEPILOT_ROOT> python skills/mediaserver-operation/scripts/mp-mediaserver.py instances
The Agent command environment routes `python` to the project-specific `moviepilot-python` entry when available and falls back to the project or Docker `VENV_PATH` Python otherwise. Media-server connections may depend on macOS local-network permissions, so use the provided `python` command for every operation.
The runtime sets `MOVIEPILOT_ROOT` for copied skills. If you run a copied script directly from `<CONFIG_PATH>/agent/skills/`, set that variable to the program directory first; otherwise the helper returns a clear relocation error. Do not use a system `python3` when it does not meet MoviePilot's required Python version.
aggregates configured servers and applies MoviePilot media identity and music matching rules.
library browsing, scans, and metadata refreshes.
or history fact. Use the appropriate MoviePilot API for those workflows.
Do not routinely call `instances` or `capabilities` before an operation. This Skill already contains the full action contract, and the helper performs instance resolution, provider support checks, complete argument validation, and the action in one `call` invocation.
`--server` and call the action immediately.
only enabled media server.
server name. Reuse that list for the next direct call; do not add a separate `instances` call unless the user explicitly asks to inspect instances.
JSON object from the contract below before calling.
The helper rejects unknown fields and reports all detectable argument errors in one response before connecting to the provider, so correct every reported field together instead of retrying one field at a time.
python skills/mediaserver-operation/scripts/mp-mediaserver.py instances python skills/mediaserver-operation/scripts/mp-mediaserver.py capabilities python skills/mediaserver-operation/scripts/mp-mediaserver.py capabilities --server "living-room"
The complete action and argument contract is documented below. Use `capabilities` only to confirm which documented actions a configured provider supports. For a compact machine-readable copy of one action's same contract:
python skills/mediaserver-operation/scripts/mp-mediaserver.py capabilities \ --server "living-room" \ --action items.season_episodes
Do not inspect the helper source to discover arguments and do not guess a provider-specific action. `capabilities` is optional and should be used only when the configured provider itself is unknown or support must be diagnosed.
python skills/mediaserver-operation/scripts/mp-mediaserver.py call \
--server "living-room" \
--action activity.latest \
--arguments '{"limit":20}'The `--arguments` value must be one JSON object. List reads default to 50 items and cap at 200.
External MCP clients do not receive this `SKILL.md` and cannot use the hidden `execute_command` tool. MoviePilot therefore exposes a separate admin-only MCP tool named `mediaserver_operation`. Its `tools/list` `inputSchema` contains one `oneOf` branch for every action below, including the function description, supported providers, effect, field types, required/default values, enums, nested `metadata.refresh` item fields, and cross-field rules. The external client should select the matching branch and make one `tools/call`; it does not need to call a discovery tool first.
The default schema mode is `full`. Clients explicitly sending `X-MCP-Schema-Mode: compact` receive a best-effort projection for oversized schemas, without action-specific branches. Use this contract or the full `GET /api/v1/mcp/tools/{tool_name}/schema` response for exact arguments; call-time validation and authorization are unchanged.
MCP call arguments use the same contract without shell quoting:
{
"server": "living-room",
"action": "items.season_episodes",
"arguments": {
"item_id": "exact-series-id",
"season": 2
}
}`server` may be omitted when only one media server is enabled. If multiple instances remain ambiguous, the result lists the valid server names.
This is the complete Media Server Operation action contract. It comes directly from the script `ACTIONS` registry and matches the external MCP `tools/list` oneOf branches. A field name ending in `*` is required. Put every action parameter in the `arguments` object.
| action | Purpose and
API key for higher rate limits. Anonymous access available with lower rate limits.
Use this skill when the user asks the agent to open, browse, inspect, extract content from, click through, fill forms on,…
Use this skill when the user sends a slash command or asks to run a MoviePilot system or plugin command in natural language.…
Use this skill when the user asks to create, modify, debug, validate, or scaffold a MoviePilot local plugin. Covers version-aware…
Use this skill when the user asks to create, scaffold, update, or review a MoviePilot agent skill. This includes adding a new…
Use this skill when you need to inspect, query, maintain, or carefully modify the MoviePilot database. This skill uses the…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…