Skip to main content
Glama
nuvio-mcp

nuvio-mcp

by wiktorekdev

Features

  • Manage profiles, addons and plugins

  • Update TV, mobile and desktop settings

  • Manage collections, library, watch progress and history

  • Manage provider credentials and trackers

  • Export backups

  • Undo and redo reversible changes

  • Two-step confirmation for irreversible operations

  • stdio and remote HTTP transports

nuvio_capabilities lists every tool at runtime.

Related MCP server: jellyfin-api

Installation

Add it to your MCP client with add-mcp:

npx add-mcp nuvio-mcp -g \
  --env "NUVIO_EMAIL=you@example.com" \
  --env "NUVIO_PASSWORD=your-password"

Or run the server directly over stdio:

npx -y nuvio-mcp

From source:

git clone https://github.com/wiktorekdev/nuvio-mcp
cd nuvio-mcp
npm ci
npm run build
cp .env.example .env
node dist/index.js

Configuration

Set these in your MCP client's env or in .env:

Variable

Description

NUVIO_EMAIL

Nuvio account email

NUVIO_PASSWORD

Nuvio account password

NUVIO_REFRESH_TOKEN

Alternative to email/password

NUVIO_BACKEND_TIMEOUT_MS

Backend request timeout (ms)

NUVIO_TRANSPORT

stdio (default) or http

NUVIO_HTTP_TOKEN

Bearer token for the HTTP mode

See .env.example for the rest (HTTP limits, snapshot retention, OAuth).

Remote MCP

NUVIO_TRANSPORT=http \
NUVIO_HTTP_HOST=0.0.0.0 \
NUVIO_HTTP_PORT=3333 \
NUVIO_HTTP_TOKEN="$(openssl rand -hex 32)" \
npx -y nuvio-mcp
  • MCP endpoint: POST /mcp

  • Health: GET /health

  • A non-loopback bind requires authentication

Docker:

docker build -t nuvio-mcp .
docker run --rm -p 3333:3333 \
  -e NUVIO_EMAIL=you@example.com \
  -e NUVIO_PASSWORD=your-password \
  -e NUVIO_HTTP_TOKEN=change-me \
  -v nuvio-mcp-data:/data \
  nuvio-mcp

Safety

  • Reversible changes are snapshotted first and can be reverted with nuvio_undo / nuvio_redo.

  • Irreversible operations use two-step confirmation.

  • Known secret fields are masked in tool output.

  • Set NUVIO_DISABLE_SNAPSHOTS=true to write no snapshots at all (no undo and no secrets stored in snapshots).

Snapshots are cleaned up automatically (age, count and total size). Old snapshots can also be removed on demand with nuvio_prune_snapshots. See .env.example for the limits.

See SECURITY.md for the full security model.

Development

npm ci
npm run typecheck
npm run lint
npm test
bash test/docker-smoke.sh

License

MIT

Available Tools

73 tools
nuvio_add_addonInstall an addonA

Install an addon on a profile by manifest URL. The current addon list is read and preserved; only the new addon is appended. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: url (required), name, dry_run, enabled, +2 more.

nuvio_add_collection_folderAdd a folder to a collectionA

Append a folder (with catalog sources) to an existing collection. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: folder (required), collection_id (required), dry_run, profile_id.

nuvio_add_pluginInstall a pluginA

Install a plugin on a profile by URL, preserving the existing plugin list. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: url (required), name, dry_run, enabled, +2 more.

nuvio_add_to_libraryAdd to libraryA

Add or update library items in bulk (upsert by content_id + content_type). Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: items (required), dry_run, profile_id.

nuvio_add_to_watch_historyAdd to watch historyB

Idempotently add watched items to a profile's history (upsert by content_id + season + episode). A repeated identical call does not create a duplicate. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: items (required), dry_run, profile_id.

nuvio_apply_planApply a plan of operationsB
Destructive

Apply several canonical operations as one transaction with a composite snapshot and rollback. Defaults to dry_run.

Inputs: operations (required), dry_run.

nuvio_capabilitiesShow MCP capabilitiesA
Read-onlyIdempotent

Describe this Nuvio MCP server: backend, transport, automatic-undo behaviour, the canonical tool list and the deprecated compatibility aliases.

Inputs: no named parameters.

nuvio_clear_profile_pinClear a profile PINA
Destructive

Remove the PIN lock from a profile. Not reversible. Cannot be undone: call it once to get a short-lived confirmation token, then call again with that token. Supports dry_run.

Inputs: profile_id (required), dry_run, current_pin, confirmation_token.

nuvio_copy_profile_setupCopy setup between profilesA

[DEPRECATED] Use nuvio_copy_setup instead. Copy TV/mobile/desktop settings (and optionally provider credentials) from one profile to another. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: source_profile_id (required), target_profile_id (required), copy_tv, dry_run, +4 more.

nuvio_copy_settingsCopy settings between profiles/platformsA

[DEPRECATED] Use nuvio_copy_setup instead. Replace the target's settings blob with a copy of the source's. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: dry_run, to_platform, from_platform, to_profile_id, +1 more.

nuvio_copy_setupCopy setup between profilesA

Copy a profile setup to another profile, optionally across platforms (platforms: [{from,to}], defaults to identity per platform). Settings are deep-merged (settings_mode=merge) or replaced (replace); provider credentials can be left alone, merged, or replaced. Transactional: on failure it rolls back and reports whether the rollback completed. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: source_profile_id (required), target_profile_id (required), dry_run, platforms, +2 more.

nuvio_create_collectionCreate a collectionA

Add a new collection to a profile. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: collection (required), dry_run, profile_id.

nuvio_create_profileCreate a Nuvio profileA

Add a new profile, preserving every existing one. Max 6 profiles; slot 1 is primary. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: name (required), dry_run, avatar_id, avatar_url, +3 more.

nuvio_delete_collectionDelete a collectionA
Destructive

Remove a collection from a profile. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: collection_id (required), confirm, dry_run, profile_id.

nuvio_delete_profileDelete a Nuvio profileA
Destructive

Delete a profile and ALL of its data (addons, settings, collections, library, history). Profile 1 cannot be deleted and this cannot be undone. Cannot be undone: call it once to get a short-lived confirmation token, then call again with that token. Supports dry_run.

Inputs: profile_id (required), dry_run, confirmation_token.

nuvio_delete_provider_credentialDelete a provider credentialA
Destructive

Remove a stored provider credential from a profile. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: provider (required), confirm, dry_run, profile_id.

nuvio_delete_watch_historyDelete watch historyA
Destructive

Delete watch-history entries by content id (and season/episode). Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: keys (required), confirm, dry_run, profile_id.

nuvio_delete_watch_progressDelete watch progressA
Destructive

Delete continue-watching entries using structured keys (content_id + optional season/episode). Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: keys (required), confirm, dry_run, profile_id.

nuvio_duplicate_collectionDuplicate a collectionA

Copy a collection (including folders and catalog sources) under a new id, placed right after the source. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: new_id (required), collection_id (required), dry_run, new_title, +1 more.

nuvio_export_backupExport account backupA
Read-onlyIdempotent

Export account data as a JSON backup (profiles, addons, plugins, library, progress, history, settings, collections). Credentials and tokens are excluded server-side. With no scope this is a full backup; pass scope/profile_ids/platforms to narrow it.

Inputs: scope, platforms, profile_ids.

nuvio_get_home_catalog_settingsGet home catalog settingsA
Read-onlyIdempotent

Read the home screen layout/catalog configuration for a profile on a platform.

Inputs: platform, profile_id.

nuvio_get_libraryGet libraryA
Read-onlyIdempotent

List items in a profile's library (bookmarks/favourites).

Inputs: limit, offset, profile_id.

nuvio_get_settingsGet profile settingsB
Read-onlyIdempotent

Read the JSON settings blob for a profile on a platform.

Inputs: platform, profile_id.

nuvio_get_watch_historyGet watch historyC
Read-onlyIdempotent

List watched items for a profile.

Inputs: page, page_size, profile_id.

nuvio_get_watch_progressGet watch progressC
Read-onlyIdempotent

List "continue watching" progress entries for a profile.

Inputs: limit, profile_id.

nuvio_healthBackend health checkA
Read-onlyIdempotent

Ping the Nuvio backend database.

Inputs: no named parameters.

nuvio_inspect_addonInspect an addon manifestA
Read-onlyIdempotent

Fetch and summarise a Stremio/Nuvio addon manifest (name, version, resources, catalog types) before installing.

Inputs: url (required).

nuvio_inspect_snapshotInspect a snapshotA
Read-onlyIdempotent

Show the captured previous state of a snapshot (secrets masked).

Inputs: snapshot_id (required).

nuvio_list_addonsList addonsA
Read-onlyIdempotent

List the addons installed on a profile (url, name, enabled, sort_order).

Inputs: profile_id.

nuvio_list_avatarsList avatarsA
Read-onlyIdempotent

List avatar catalog ids available for profile avatars.

Inputs: no named parameters.

nuvio_list_collectionsList collectionsA
Read-onlyIdempotent

List a profile's custom collections (titles, view mode, folders, catalog sources).

Inputs: profile_id.

nuvio_list_pluginsList pluginsA
Read-onlyIdempotent

List plugins installed on a profile.

Inputs: profile_id.

nuvio_list_profilesList Nuvio profilesA
Read-onlyIdempotent

List all profiles (slot 1..6, name, avatar, flags, PIN lock state).

Inputs: no named parameters.

nuvio_list_provider_credentialsList provider credentialsA
Read-onlyIdempotent

List configured providers for a profile (debrid services, TMDB, MDBList, AniSkip, IntroDB). Secret values are masked.

Inputs: profile_id.

nuvio_list_sessionsList signed-in devicesA
Read-onlyIdempotent

List active login sessions/devices (device name, platform, client, last active, which is current).

Inputs: no named parameters.

nuvio_list_trackersList trackersA
Read-onlyIdempotent

List linked trackers (MAL / AniList / Kitsu) and their per-profile settings. Access tokens are masked.

Inputs: profile_id.

nuvio_list_undoList available undosA
Read-onlyIdempotent

List recent automatically-captured snapshots. Each can be reverted with nuvio_undo.

Inputs: limit.

nuvio_mark_watchedMark as watchedA

[DEPRECATED] Use nuvio_add_to_watch_history instead. Add an entry to a profile's watch history. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: item (required), dry_run, profile_id.

nuvio_prune_snapshotsPrune snapshotsA
Destructive

Delete old snapshot files according to retention limits (age, count, total size). Local-only; defaults to dry_run. Destructive local operation: previews unless confirm=true; dry_run=true always previews.

Inputs: confirm, dry_run, keep_last, max_total_bytes, +1 more.

nuvio_redoRedo an undone changeA

Re-apply the change that the most recent nuvio_undo reverted. Snapshots current state first.

Inputs: no named parameters.

nuvio_register_deviceRegister this deviceA

Register a device/installation against the account. client_name must be one the Nuvio backend accepts (for example 'Nuvio Web'); other values are rejected by the backend. Cannot be undone: call it once to get a short-lived confirmation token, then call again with that token. Supports dry_run.

Inputs: client_name (required), installation_id (required), dry_run, platform, +3 more.

nuvio_remove_addonRemove an addonA
Destructive

Uninstall one addon from a profile. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: id, url, confirm, dry_run, +1 more.

nuvio_remove_collection_folderRemove a collection folderB
Destructive

Remove a folder from a collection. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: folder_id (required), collection_id (required), confirm, dry_run, +1 more.

nuvio_remove_from_libraryRemove from libraryA
Destructive

Remove items from a profile's library by content_id + content_type. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: keys (required), confirm, dry_run, profile_id.

nuvio_remove_pluginRemove a pluginA
Destructive

Uninstall a plugin from a profile. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: id, url, confirm, dry_run, +1 more.

nuvio_reorder_addonsReorder addonsA

Set the display order of a profile's addons. Provide every installed addon URL exactly once, in the desired order. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: ordered_urls (required), dry_run, profile_id.

nuvio_reorder_collection_foldersReorder folders in a collectionA

Set folder order. Provide every folder id in the collection exactly once, in the desired order. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: collection_id (required), ordered_folder_ids (required), dry_run, profile_id.

nuvio_reorder_collectionsReorder collectionsA

Set collection order. Provide every collection id exactly once, in the desired order. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: ordered_ids (required), dry_run, profile_id.

nuvio_reorder_pluginsReorder pluginsA

Set plugin order. Provide every installed plugin URL exactly once, in the desired order. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: ordered_urls (required), dry_run, profile_id.

nuvio_restore_backupRestore account backupA
Destructive

Replace account data from a backup produced by nuvio_export_backup. Only available on self-hosted backends that expose sync_restore_account_backup. High risk: overwrites profiles/addons/library/settings. Cannot be undone: call it once to get a short-lived confirmation token, then call again with that token. Supports dry_run.

Inputs: backup (required), dry_run, confirmation_token.

nuvio_revoke_sessionLog out a deviceA
Destructive

Revoke one login session (log that device out). Cannot be undone — the device must sign in again. Never deletes the account. Cannot be undone: call it once to get a short-lived confirmation token, then call again with that token. Supports dry_run.

Inputs: session_id (required), dry_run, confirmation_token.

nuvio_set_home_catalog_pathSet a nested home catalog valueA

[DEPRECATED] Use nuvio_update_home_catalog_settings instead. Set one nested value by dot path inside the home catalog settings blob. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: path (required), value (required), dry_run, platform, +1 more.

nuvio_set_profile_pinSet a profile PINA
Destructive

Set or change the PIN lock on a profile. Not reversible (the PIN hash is never returned). Cannot be undone: call it once to get a short-lived confirmation token, then call again with that token. Supports dry_run.

Inputs: pin (required), profile_id (required), dry_run, current_pin, +1 more.

nuvio_set_provider_credentialSet a provider credentialA

Store an API key for a provider: debrid:torbox, debrid:premiumize, debrid:realdebrid, tmdb, mdblist, introdb (api key) or animeskip (client id). Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: api_key (required), provider (required), dry_run, profile_id.

nuvio_set_settingSet a nested settingA

[DEPRECATED] Use nuvio_update_settings instead. Set one nested value by dot path. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: path (required), value (required), dry_run, platform, +1 more.

nuvio_set_tracker_settingsUpdate tracker settingsA

Set which statuses sync, row order and progress syncing for a linked tracker. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: tracker (required), dry_run, row_order, profile_id, +2 more.

nuvio_set_watch_progressSet watch progressA

Create or update continue-watching entries (position/duration) for movies or episodes, in bulk. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: entries (required), dry_run, profile_id.

nuvio_sync_overviewGet data overviewA
Read-onlyIdempotent

Summary counts of profiles, addons, plugins, library items, watch progress and history.

Inputs: no named parameters.

nuvio_test_provider_credentialTest a provider credentialA
Read-onlyIdempotent

Verify a provider credential without storing it. The secret is never returned or logged; the result reports format validity and, where the provider exposes a cheap endpoint, a live check.

Inputs: api_key (required), provider (required).

nuvio_toggle_addonEnable or disable an addonA

[DEPRECATED] Use nuvio_update_addon instead. Turn one addon on or off for a profile. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: enabled (required), id, url, dry_run, +1 more.

nuvio_toggle_pluginEnable or disable a pluginA

[DEPRECATED] Use nuvio_update_plugin instead. Turn one plugin on or off for a profile. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: url (required), enabled (required), dry_run, profile_id.

nuvio_undoUndo a changeA

Revert a previous change using its snapshot (single or composite). Defaults to the most recent change. Snapshots the current state first, so an undo can itself be undone.

Inputs: snapshot_id.

nuvio_unset_settingUnset a nested settingA

[DEPRECATED] Use nuvio_update_settings instead. Delete one nested value by dot path. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: path (required), dry_run, platform, profile_id.

nuvio_update_addonUpdate an addonA

Change an addon name, enabled flag or sort order. Identify it by url or table id. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: id, url, name, dry_run, +3 more.

nuvio_update_collectionUpdate a collectionB

Edit a collection's title, view mode, pin state or replace its folder list. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: changes (required), collection_id (required), dry_run, profile_id.

nuvio_update_collection_folderUpdate a collection folderA

Edit a folder's title, cover, tile shape or catalog sources. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: changes (required), folder_id (required), collection_id (required), dry_run, +1 more.

nuvio_update_home_catalog_settingsUpdate home catalog settingsA

Update the home screen layout/catalog blob with the same patch/set/unset semantics as nuvio_update_settings. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: set, patch, unset, dry_run, +2 more.

nuvio_update_pluginUpdate a pluginA

Change a plugin name, enabled flag, repo type or sort order. Identify it by url or table id. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: id, url, name, dry_run, +4 more.

nuvio_update_profileUpdate a Nuvio profileB

Sparsely update one profile (name, avatar color, avatar id/url, uses_primary_addons). Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: profile_id (required), name, dry_run, avatar_id, +3 more.

nuvio_update_settingsUpdate profile settingsA

Update a profile settings blob. patch is deep-merged (nested keys are preserved, arrays and scalars replace), set assigns nested dot paths and unset deletes them — applied in the order patch, set, unset. This is the canonical replacement for nuvio_set_setting / nuvio_unset_setting. Supports dry_run and snapshots the previous state before the write; revert with nuvio_undo.

Inputs: set, patch, unset, dry_run, +2 more.

nuvio_whoamiGet current accountA
Read-onlyIdempotent

Return the signed-in Nuvio account and the backend URL.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 73 tools

    Disambiguation3/5

    The canonical tools are mostly distinct by resource+action, but the set includes 8 deprecated aliases that duplicate core operations (set_setting/unset_setting vs update_settings, copy_profile_setup/copy_settings vs copy_setup, toggle_addon vs update_addon, mark_watched vs add_to_watch_history). The [DEPRECATED] cross-references help, but in a 73-tool surface they still create avoidable selection ambiguity.

    Naming Consistency3/5

    All tools share a nuvio_ prefix and mostly use verb_noun names, but the verb vocabulary is mixed: list_ vs get_ for reads, update_ vs set_ vs unset_ for settings, and deprecated aliases (toggle_, mark_, copy_) break the canonical pattern. It remains readable because the resource nouns are clear.

    Tool Count1/5

    73 tools is an extreme count for a single MCP server, even for a broad media-profile management domain. The deprecated compatibility aliases could be hidden or stripped to reduce the surface significantly; exposing them all bloats the toolset.

    Completeness5/5

    The surface covers the full lifecycle of every major entity: profiles, addons, plugins, settings, collections, library, watch progress/history, provider credentials, trackers, sessions, and backups, plus snapshot/undo infrastructure. I don't see obvious operational gaps that would force agents into dead ends.

    Maintenance

    ActivityNo data
    ResponsivenessSyncing

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables users to manage and control their Plex media library through natural language commands in MCP-compatible AI clients. It supports searching content, managing playlists, tracking library statistics, and monitoring live viewing sessions.
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI systems to manage Verodat accounts, workspaces, and datasets, including creating datasets, querying data, and executing AI-powered queries through natural language.
      9 npm
      Apache 2.0
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables full management of a Plex Media Server via Claude, including browsing libraries, fixing metadata, managing collections, and more.
      -