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 分