Jellyfin MCP Server

io.github.AeLui由 GitHub 帳號 AeLui 發布v0.5.0更新於 Nov 7, 2026

Jellyfin plugin: search, play and manage your media library from AI assistants, per-user tokens.

已驗證Streamable HTTP可網頁執行效率與工作流媒體與設計

概覽

AI 產生的概覽

Jellyfin 外掛,讓 AI 助理搜尋與瀏覽媒體庫、控制播放,並管理播放清單與收藏。

可以做什麼
  • 搜尋、瀏覽與檢視媒體庫:詳細資料、演員人員、最近新增、接下來播放、繼續觀看、觀看紀錄、相似項目、推薦、合集、音訊與字幕軌
  • 列出播放工作階段,並在裝置上播放、控制播放、切換軌道或顯示訊息
  • 管理使用者自己的觀看狀態與收藏,以及其擁有或可編輯的播放清單
  • 管理員工作:使用者、排程工作、媒體庫掃描、中繼資料重新整理、伺服器狀態、所有工作階段、活動記錄
適用情境
當你執行 Jellyfin 12.x,希望助理幫你找片、續播或在裝置上控制播放,或在聊天用戶端(如 Claude Code)中整理播放清單與收藏時適用。
執行需求
需要已安裝並重新啟動 MCP Server 外掛的 Jellyfin 12.x 伺服器。需在 Dashboard > Plugins > MCP Server 建立權杖(選擇使用者與範圍),並以 Authorization bearer 標頭送出。端點為伺服器的 /mcp 路徑,使用 Streamable HTTP。Claude Desktop 需 Node.js 以執行 npx mcp-remote。
安裝前請注意
權杖只顯示一次,並依所選範圍授權,包含使用者、工作與媒體庫掃描等管理工具,請妥善保管。呼叫以權杖所屬 Jellyfin 使用者身分執行,播放、收藏、播放清單與管理操作會改變伺服器狀態。claude.ai 網頁連接器需要 OAuth,此外掛不提供,將端點暴露到區域網路之外前請先閱讀安全性說明。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Jellyfin MCP Server,將其新增到工作區。
  2. 連接 Authorization token 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
  3. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Jellyfin MCP Server plugin

[MCP Server for Jellyfin]

A Jellyfin plugin that exposes your server to AI assistants through the Model Context Protocol (MCP). Assistants such as Claude can search and browse your library, see what you are watching, control playback on your devices, manage playlists and favorites, and (for administrators) run server tasks. Every call runs as the Jellyfin user who owns the access token, limited to that user's permissions and to the scopes granted to the token. The plugin has no runtime dependencies besides Jellyfin itself.

Compatibility

  • Jellyfin 12.x only (compiled against 12.4.0, targetAbi 12.4.0.0). Older servers are not supported.
  • Built with .NET 10.
  • MCP transport: Streamable HTTP, stateless, POST /mcp. Protocol revisions 2026-07-28 (stateless, with server/discover) and 2025-11-25, 2025-06-18 and 2025-03-26 (with initialize). Tools return structuredContent described by an outputSchema.
  • Clients that send a static Authorization: Bearer header work; Claude Code is the supported client. Claude Desktop through mcp-remote is expected to work but is not yet verified. claude.ai web connectors need OAuth, which this plugin does not offer.

Install in three steps

  1. In Jellyfin go to Dashboard > Plugins > Repositories > + and add https://raw.githubusercontent.com/AeLui/jellyfin-plugin-mcp/main/manifest.json.
  2. Open the Catalog, install MCP Server and restart Jellyfin.
  3. Open Dashboard > Plugins > MCP Server, create a token (pick the user and the scopes) and copy it. It is shown only once.

More detail, including a manual install, is in docs/installation.md.

Connect a client

Replace https://jellyfin.example.com with your server address and jmcp_... with your token.

Claude Code, with the plugin from this repository's marketplace (connects the server and adds the agent skill; it asks for the URL and the token, and keeps the token in your system's credential store):

/plugin marketplace add AeLui/jellyfin-plugin-mcp/plugin install jellyfin-mcp@jellyfin-plugin-mcp

On Claude Code 2.1.275 or later, one step is enough: /plugin install jellyfin-mcp --marketplace AeLui/jellyfin-plugin-mcp. To change the URL or token later, run /plugin configure jellyfin-mcp@jellyfin-plugin-mcp.

Claude Code, server only:

bash
claude mcp add --transport http jellyfin https://jellyfin.example.com/mcp \  --header "Authorization: Bearer jmcp_..."

Claude Desktop (claude_desktop_config.json; requires Node.js because it runs npx mcp-remote):

json
{  "mcpServers": {    "jellyfin": {      "command": "npx",      "args": ["-y", "mcp-remote", "https://jellyfin.example.com/mcp",               "--header", "Authorization: Bearer jmcp_..."]    }  }}

The token dialog in the plugin page generates both snippets for you. The Claude Desktop flow is expected to work but has not been verified against a live server yet.

Scopes and tools

29 tools in four scopes. A token only sees the tools its scopes allow.

ScopeToolsPurpose
library13Read-only: search, browse, details, people, recent, next up, continue watching, history, similar items, movie recommendations, collections, audio and subtitle tracks
playback4List sessions, play (with audio and subtitle track choice), control playback and switch tracks, show a message
manage4The user's own watch state and favorites, plus playlists the user owns or may edit
admin8Users, scheduled tasks, library scan, metadata refresh, server status, all users' sessions, activity log (administrators only)

Full reference: docs/tools.md.

Agent skill

skills/jellyfin-mcp/SKILL.md is an optional Agent Skill that teaches an assistant when and how to use these tools: getting ids before acting, picking a playback session, paging, and asking before destructive actions.

The Claude Code plugin above includes it. Other agents: copy the skills/jellyfin-mcp folder into their skills directory (for Claude Code without the plugin, ~/.claude/skills/ or .claude/skills/ in a project). If you install the plugin, remove any server you added with claude mcp add, or the tools show up twice.

Privacy

The plugin runs inside your Jellyfin server and makes no outbound connections. The Claude Code plugin connects only to the Jellyfin URL you configure. What your assistant does with the tool results is governed by the assistant's own privacy policy.

Documentation

Support the project

The plugin is free and open source. If it is useful to you, you can support its development through GitHub Sponsors.

License

GPL-3.0, see LICENSE.

來源:README.md,提交 cbe51ed

工具

0
該伺服器需要 API 金鑰等憑證,因此 SourceWeft 無法在沒有憑證的情況下讀取其工具,也未收錄。

版本歷史

3
  1. v0.5.0最新Nov 7, 2026
  2. v0.2.0Nov 6, 2026
  3. v0.1.0Nov 4, 2026

評分

已滿足適用檢查項的 60%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式必需10 分
  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分