MCPHub LabRegistryHiram-Wong/zyfun
Hiram-Wong

Hiram Wong/zyfun

Built by Hiram-Wong • 8,294 stars

What is Hiram Wong/zyfun?

A high-performance MCP server implementation for Hiram-Wong/zyfun that bridges the gap between the Model Context Protocol and external services. It allows Large Language Models to interact with your data and tools with low latency and native support.

How to use Hiram Wong/zyfun?

1. Ensure you have an MCP-compatible client (like Claude Desktop) installed. 2. Configure your server with: npx @modelcontextprotocol/Hiram-Wong/zyfun 3. Restart your client and verify the new tools are available in the system catalog.
🛡️ Scoped (Restricted)
npx @modelcontextprotocol/hiram-wong-zyfun --scope restricted
🔓 Unrestricted Access
npx @modelcontextprotocol/hiram-wong-zyfun

Key Features

Native MCP Protocol Support
High-performance Data Streaming
Type-safe Tool Definitions
Seamless Environment Integration

Optimized Use Cases

Connecting external databases to AI workflows
Automating workflow tasks via natural language
Augmenting developer productivity with specialized tools

Hiram Wong/zyfun FAQ

Q

What is an MCP server?

MCP is an open standard that enables developers to build secure, two-way integrations between AI models and local or remote data sources.

Q

Is this server ready for production?

Yes, this server follows standard MCP security patterns and tool-restricted access.

Official Documentation

View on GitHub
<div align="right"> <details> <summary >🌐 Language</summary> <div> <div align="center"> <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=en">English</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=zh-CN">简体中文</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=zh-TW">繁體中文</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=ja">日本語</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=ko">한국어</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=hi">हिन्दी</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=th">ไทย</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=fr">Français</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=de">Deutsch</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=es">Español</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=it">Italiano</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=ru">Русский</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=pt">Português</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=nl">Nederlands</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=pl">Polski</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=ar">العربية</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=fa">فارسی</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=tr">Türkçe</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=vi">Tiếng Việt</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=id">Bahasa Indonesia</a> | <a href="https://openaitx.github.io/view.html?user=Hiram-Wong&project=zyfun&lang=as">অসমীয়া</ </div> </div> </details> </div> <p align="center"> <a href="https://github.com/Hiram-Wong/zyfun/releases"> <!-- <img src="https://github.com/Hiram-Wong/zyfun/blob/main/build/icon.png?raw=true" width="150" height="150" alt="banner" /> --> <img width="128" src="https://s2.loli.net/2024/02/29/7Q1nVbhkHdSmo5D.png"> <br> </a> </p> <div align="center">

</div> <div align="center">

</div> <div align="center">

</div>

软件介绍

zyfun是一款免费、极简、全能的跨平台影音管家,一站式管理 T1-T4 全类型资源,内置多核播放器随心切换。独家老板键,一键隐身摸鱼无忧。用观影发现世界!

<details> <summary>展开查看软件截图</summary>
影视直播
影视直播
历史播放
历史播放
</details>

🌴 注意事项

  • 仅此Github发布,请勿上当受骗;请各管理者不要宣传及引流本软件。
  • 强烈倡导合法观影,本软件仅作为播放工具,不涉及资源存储或分发。
  • 仅供个人学习交流之用,24小时内请自觉卸载,勿作商业用途。
  • 前身来源于ZY-Player,图标由@fourbeauty设计。
  • 在开始使用前,请务必详读并同意用户协议,确保遵守相关规定。

💻 跨平台说明

  • MacOS:
    • 数据库/文件/插件/日志 路径: ~/Library/Application Support/zyfun/
    • 二进制 路径: ~/.zy/bin/
  • Linux:
    • 数据库/文件/插件/日志 路径: ~/.config/zyfun/
    • 二进制 路径: ~/.zy/bin/
  • Windows:
    • 数据库/文件/插件/日志 路径: %USERPROFILE%\AppData\Roaming\zyfun\
    • 二进制 路径: %USERPROFILE%\.zy\bin\
    <!-- - **OpenHarmony**: - 数据库/文件/插件/日志 路径: `/data/storage/zyfun/base/files/log` - 二进制 路径: `~/.zy/bin/`-->

🛠️ 下载安装

开发版下载: 需登录Github账号

最低要求: 和chromium内核要求保持一致

操作系统x64arm64loong64发行版开发版最低要求
Windows✅✅➖GitHubGitHub>= win10
MacOS✅✅➖GitHubGitHub>= macOS12
Linux✅✅❌GitHub <br/> 如意玲珑应用商店 <br/> AUR软件包GitHub
Harmony❌❌➖
<details> <summary>展开查看安装问题</summary>

MacOS 安装后打开提示「文件已损坏」

sudo spctl --master-disable
sudo xattr -cr /Applications/zyfun.app

Linux Appimage运行失败

Running as root without --no-sandbox is not supported

./zyfun.AppImage --no-sandbox

dlopen():error loading libfuse.so.2

sudo apt-get install libfuse2

Exiting GPU process due to errors during initialization

xhost +

Linux deb包安装失败

Package libnss3-1d is not installed

sudo apt-get install libnss3-1d

Package libxss1 is not installed

sudo apt-get install libxss1

Linux rpm包安装失败

Dependency check failed libXScrnSaver is needed

sudo yum install epel-release
sudo yum install libXScrnSaver

Dependency check failed xdg-utils is needed

sudo yum install xdg-utils
</details>

📚 数据结构

请严格按照数据结构导入数据, 避免不必要的报错(如数据字段类型不匹配)

<details> <summary>展开查看接口说明</summary>
{
  "analyze": [
    {
      "id": "fddfb425-6fd9-0b39-459f-a21f69739a6e", // 数据唯一uuid标识(不可重复)
      "key": "51793af6-c923-5504-85db-0ef686624dec", // <3.4.0 启用> 业务唯一标识(不可重复)
      "name": "Parse", // 名称(展示用)
      "url": "https://xxx.top/?jx=", // <3.4.1 **弃用**> 解析源地址(仅兼容旧版本)
      "api": "https://xxx.top/?jx=", // <3.4.1 启用> 解析源地址(推荐使用)
      "type": 0, // 解析类型(<=3.4.0: 0=web,1=json | >=3.4.1: 1=web,2=json)
      "flag": [], // <3.4.1 启用> 解析线路/标签标识
      "headers": {}, // <3.4.0 启用> 请求头配置(预留字段)
      "script": "", // <3.4.1 启用> 执行脚本,仅 type=web 时生效
      "isActive": true, // 是否启用(true=启用,false=禁用)
      "createdAt": 1768310498000, // <3.4.1 启用> 创建时间戳(ms)
      "updatedAt": 1768310498000 // <3.4.1 启用> 更新时间戳(ms)
    }
  ],
  "iptv": [
    {
      "id": "fddfb425-6fd9-0b39-459f-a21f69739a6e", // 数据唯一uuidv标识(不可重复)
      "key": "51793af6-c923-5504-85db-0ef686624dec", // <3.4.0 启用> 业务唯一标识(不可重复)
      "name": "Iptv", // 名称(展示用)
      "url": "https://xxx.com/m3u/iptv.m3u", // <3.4.1 **弃用**> 直播源地址(仅兼容旧版本)
      "api": "https://xxx.com/m3u/iptv.m3u", // <3.4.1 启用> 直播源地址(推荐使用)
      "type": 1, // 解析类型(<=3.4.0: remote=远程,local=本地, manual=文本 | >=3.4.1: 1=远程,2=本地,3=文本)
      "epg": "https://epg.112114.eu.org/?ch={name}&date={date}", // 电子节目单地址[string]
      "logo": "https://epg.112114.eu.org/logo/{name}.png", // 台标地址[string] - 3.3.8启用该参数
      "headers": {}, // <3.4.0 启用> 请求头配置(预留字段)
      "isActive": true, // 是否启用(true=启用,false=禁用)
      "createdAt": 1768310498000, // <3.4.1 启用> 创建时间戳(ms)
      "updatedAt": 1768310498000 // <3.4.1 启用> 更新时间戳(ms)
    }
  ],
  "channel": [
    {
      "id": "fddfb425-6fd9-0b39-459f-a21f69739a6e", // 数据唯一uuidv4标识(不可重复)
      "name": "Channel", // 名称(展示用)
      "url": "https://xxx.com/m3u/iptv.m3u8", // <3.4.1 **弃用**> 播放地址(仅兼容旧版本)
      "api": "https://xxx.com/m3u/iptv.m3u8", // <3.4.1 启用> 播放地址(推荐使用)
      "logo": "https://xxx.com/logo/xxx.png", // <3.4.1 启用> 台标地址
      "playback": "", // <3.4.1 启用> 预留回播参数
      "headers": {}, // <3.4.7 启用> 请求头
      "group": "默认", // 分组
      "createdAt": 1768310498000, // <3.4.1 启用> 创建时间戳(ms)
      "updatedAt": 1768310498000 // <3.4.1 启用> 更新时间戳(ms)
    }
  ],
  "site": [
    {
      "id": "fddfb425-6fd9-0b39-459f-a21f69739a6e", // 数据唯一uuidv4标识(不可重复)
      "key": "51793af6-c923-5504-85db-0ef686624dec", // <3.4.0 启用> 业务唯一标识(不可重复)
      "name": "Film", // 名称(展示用)
      "api": "https://www.xxx.com/api.php/provide/vod/", // 接口地址
      "playUrl": "", // 配合解析去url地址
      "search": 0, // 是否支持搜索(<=3.4.0: 0= 关闭,1=聚合搜索,2=仅搜索 | >=3.4.1: true= 开启,false=关闭)
      "group": "切片", // 分组
      "type": 1, // 适配器类型(0=T0_XML,1=T1_JSON,6=T4_DRPYS,7=T3_DRPY,8=T4_CATVOD,9=T3_XBPQ,10=T3_XYQ,11=T3_APPYSV2,12=T3_PY,13=T3_ALIST)
      "ext": "", // 扩展参数
      "categories": "电视,影视", // 按顺序展示所配置的分类 不配置则默认展示所有分类[string]
      "isActive": true // 是否启用(true=启用,false=禁用)
      "createdAt": 1768310498000, // <3.4.1 启用> 创建时间戳(ms)
      "updatedAt": 1768310498000 // <3.4.1 启用> 更新时间戳(ms)
    }
  ],
  "drive": [
    {
      "id": "fddfb425-6fd9-0b39-459f-a21f69739a6e", // 数据唯一uuidv4标识(不可重复)
      "key": "51793af6-c923-5504-85db-0ef686624dec", // <3.4.0 启用> 业务唯一标识(不可重复)
      "name": "alist", // 名称(展示用)
      "server": "http://alist.xxx.pro/", // 网盘地址
      "showAll": false, // 是否展示全部(true=全部,false=仅视频)
      "startPage": "", // 开始页路径
      "search": false, // 是否支持搜索(true=启用,false=禁用)
      "headers": "{}", // 请求头(预留字段)
      "params": "{}", // 参数(预留字段)
      "isActive": true // 是否启用(true=启用,false=禁用)
    }
  ], // <3.4.1 **弃用**>
  "setting": [
    {
      "version": "3.3.2", // <3.2.2 启用> 当前版本(一定要根据实际填写,不然数据库执行会报错)
      "theme": "system", // 主题 (<=3.4.0: auto=跟随系统,light=亮色,dark=暗色 | system=跟随系统,light=亮色,dark=暗色)
      "lang": "zh_CN", // <3.3.4 启用> 语言(<=3.4.0: zh_CN=简体中文,en_US=英文 | system=更随系统,zh_CN=简体中文,zh_TW=繁体中文,en_US=英文)
      "zoom": 1, // <3.4.1 启用> 界面缩放比例(预留)
      "proxy": {
        "type": "system", // 代理类型(system=系统代理,custom=自定义代理,direct=直连)
        "url": "", // 代理地址(支持socks5/http/https协议)
        "bypass": "" // 忽略主机名
      }, <3.4.1 启用> 代理设置
      "defaultHot": "kylive", // <3.4.1 **弃用**> 热搜(kylive=酷云数据,enlightent=云合数据)
      "hot": "kylive", // <3.4.1 启用> 热搜(douban=豆瓣,enlightent=云合,komect=移动爱家,hisense=海信,kylive=酷云)
      "association": "douban", // <3.4.4 启用> 搜索联想(douban=豆瓣,hisense=海信,snm=喜粤TV)
      "defaultSearchRecommend": "site", // 搜索推荐 site:站点 quark:夸克 baidu:百度 douban:豆瓣  弃用
      "defaultSearchType": "site", // <3.4.1 **弃用**> 全局搜索模式 site:本站 group:组内 all:全部
      "defaultFilterType": false, // <3.3.7 启用, 3.4.1 **弃用**> 影视搜索过滤关键词
      "site": {
        "searchMode": "site", // 全局搜索模式 site:本站 group:组内 all:全部
        "filterMode": false, // 影视搜索过滤关键词
      }, // <3.4.1 启用> 影视设置
      "defaultIptvEpg": "https://epg.112114.eu.org/?ch={name}&date={date}", // <3.4.1 **弃用**> iptv电子节目单(name=频道名称 date=日期)
      "defaultIptvLogo": "https://epg.112114.eu.org/logo/{name}.png", // <3.4.1 **弃用**> iptv台标(name=频道名称)
      "iptvSkipIpv6": true, // <3.3.8 **弃用**> iptv是否跳过ipv6节目
      "iptvMarkIp": true, // <3.3.8 启用, 3.4.1 **弃用**> iptv标识IP类型
      "iptvThumbnail": true, // <3.4.1 **弃用**> iptv是否显示缩略图
      "iptvStatus": true, // <3.3.8 **弃用**> iptv是否检测延迟
      "iptvDelay": true, // <3.3.8 启用, 3.4.1 **弃用**> iptv是否检测延迟
      "live": {
        "ipMark": true, // IP类型
        "thumbnail": false, // 缩略图
        "delay": false, // 延迟测速
        "epg": "https://epg.112114.eu.org/?ch={name}&date={date}", // 电子节目单(name=频道名称 date=日期)
        "logo": "https://epg.112114.eu.org/logo/{name}.png", // 台标(name=频道名称)
      }, // <3.4.1 启用> 直播设置
      "defaultSite": "51793af6-c923-5504-85db-0ef686624dec", // site 默认源标识
      "defaultIptv": "993841fe-5e91-5e5d-35d6-5be81822960b", // iptv 默认源标识
      "defaultAnalyze": "fddfb425-6fd9-0b39-459f-a21f69739a6e", // analyze 默认源标识
      "defaultDrive": "3293dc45-cf14-9c66-3028-5b7765b240b7", // <3.4.1 **弃用**> drive 默认源标识
      "defaultViewCasual": "", // <3.3.4 启用 3.3.5 **弃用**> 随心看
      "barrage": {
        "url": "", // 弹幕地址
        "id": "name", // 弹幕接口返回数据对应的id
        "key": "danmuku", // 弹幕接口返回数据对应的key
        "support": ["qq", "qiyi", "youku", "mgtv"], // 弹幕支持的线路
        "start": "0", <3.4.1 **弃用**> // 返回数据对应的开始时间下标
        "time": 0, // <3.4.1 启用> 返回数据对应的开始时间下标
        "mode": "1", // <3.4.1 **弃用**> 返回数据对应的位置下标
        "type": 1, // <3.4.1 启用> 返回数据对应的位置下标
        "color": 2, // 返回数据对应的颜色下标(<=3.4.0: string | >=3.4.1: number)
        "content": "4" // <3.4.1 **弃用**> 返回数据对应的内容下标
        "text": 4 // <3.4.1 启用> 返回数据对应的内容下标
      }, // <3.3.4 启用> 弹幕参数
      "analyzeFlag": ["youku", "qq", "iqiyi", "qiyi", "letv", "leshi", "sohu", "tudou", "pptv", "mgtv", "imgo"], // <3.4.1 **弃用**> 解析标识
      "broadcasterType": "xgplayer", // <3.3.4 **弃用**> 播放器(xgplayer=西瓜播放器,dplayer=呆呆播放器,custom=调外部播放器)
      "externalPlayer": "", // <3.3.4 **弃用**> 调外部播放器(类型为custom启用)
      "playerMode": {
        "type": "xgplayer", // 播放器(xgplayer=西瓜播放器,artplayer=艺术播放器,custom=调外部播放器)
        "external": "" // 调外部播放器(类型为custom启用)
      }, // <3.3.4 启用, 3.4.1 **弃用**>
      "player": {
        "type": "xgplayer", // 播放器(xgplayer=西瓜播放器,artplayer=艺术播放器,custom=调外部播放器)
        "external": "" // 调外部播放器(类型为custom启用)
      }, // <3.4.1 启用>
      "softSolution": false, // 软解(预留字段 true=启用,false=禁用)
      "skipStartEnd": false, // <3.3.5 **弃用**> 是否跳过首尾空白
      "agreementMask": true, // <3.4.1 **弃用**> 是否同意协议
      "disclaimer": true, // <3.4.1 启用> 是否同意协议
      "recordShortcut": "Shift+Command+Z", // <3.4.1 **弃用**> 老板键
      "bossKey": "Shift+Command+Z", // <3.4.1 启用> 老板键
      "snifferType": "pie", // <3.3.4 **弃用**> 嗅探模式(pie=内置嗅探,iframe=原生嗅探)
      "snifferMode": {
        "type": "pie", // 嗅探模式(pie=内置嗅探,custom=三方嗅探)
        "url": "" // 三方嗅探接口(类型为custom时启用)
      }, // <3.3.4 启用, 3.4.1 **弃用**>
      "sniffer": {
        "type": "cdp", // 嗅探模式(cdp=内置嗅探,custom=三方嗅探)
        "url": "" // 三方嗅探接口(类型为custom时启用)
      }, // <3.4.1 启用>
      "selfBoot": false, // <3.4.1 **弃用**> 是否开机自启动
      "autoStart": false, // <3.4.1 启用> 是否开机自启动
      "hardwareAcceleration": true, // 是否启用硬件加速
      "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36", // User-Agent
      "dns": "" // <3.3.7 启用> DNS-over-HTTP
      "webdavUrl": "https://dav.jianguoyun.com/dav/", // <3.3.4 **弃用**> webdav同步盘地址
      "webdavUsername": "", // <3.3.4 **弃用**> webdeav用户名
      "webdavPassword": "", // <3.3.4 **弃用**> webdav密码
      "webdav": {
        "sync": false, // 自动同步
        "data": {
          "url": "https://dav.jianguoyun.com/dav/", // webdav同步盘地址
          "user": "", // webdav用户名
          "password": "" // webdav密码
        }
      }, // <3.3.4 启用, 3.4.1 **弃用**>
      "cloud": {
        "sync": false, // 自动同步
        "type": "webdav", // 备份类型(webdav=webdav同步盘, icloud=icloud云盘仅mac)
        "data": {
          "url": "https://dav.jianguoyun.com/dav/", // webdav同步盘地址
          "user": "", // webdav用户名
          "password": "" // webdav密码
        } // 仅类型为webdav启用
      }, // <3.4.1 启用>
      "ai": {
        "server": "",  // AI服务器地址
        "key": "", // API密钥
        "model": "gpt-3.5-turbo" // 模型名称
      }, // <3.3.5 启用, 3.4.1 **弃用**>
      "aigc": {
        "type": "openai", // AI类型(仅支持openai)
        "server": "",  // AI服务器地址
        "key": "", // API密钥
        "model": "gpt-3.5-turbo" // 模型名称
      }, // <3.4.1 启用> AI设置
      "timeout": 5000, // <3.3.5 启用> 全局请求超时(ms)
      "restoreWindowPositionAndSize": false, // <3.3.7 **弃用**> 是否记录窗口位置
      "windowPosition": {
        "status": false, // 是否记录窗口位置
        "position": {
          "width": 1000,
          "height": 640
        }, // <3.3.7 **弃用**> 窗口位置
        "position_main": {
          "width": 1000,
          "height": 640
        }, // <3.3.7 启用> 记录主窗口位置
        "position_play": {
          "width": 875,
          "height": 550
        } // <3.3.7 启用> 记录播放窗口位置
      }, // <3.4.1 **弃用**>
      "debug": false, // <3.3.7 启用> 用于部分调试
    }
  ]
}
</details>

🤝 参与贡献

以下是您可以做出贡献的一些方式:

  • 贡献代码:开发新功能或优化现有代码 <开发文档> <Mcp文档>
  • 修复错误:提交您发现的任何错误的修复 <提交规范>
  • 维护问题:帮助管理GitHub问题
  • 产品设计:参与设计讨论
  • 编写文档:改进用户手册和指南
  • 社区参与:加入讨论并帮助用户

🌟 Star历史

<a href="https://www.star-history.com/#Hiram-Wong/zyfun&Date"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://api.star-history.com/svg?repos=Hiram-Wong/zyfun&type=Date&theme=dark" /> <source media="(prefers-color-scheme: light)" srcset="https://api.star-history.com/svg?repos=Hiram-Wong/zyfun&type=Date" /> <img alt="Star History Chart" src="https://api.star-history.com/svg?repos=Hiram-Wong/zyfun&type=Date" /> </picture> </a>

💰 金主爸爸

<!-- Links & Images --> <!-- Links & Images --> <!-- Links & Images -->

Global Ranking

7.6
Trust ScoreMCPHub Index

Based on codebase health & activity.

Manual Config

{ "mcpServers": { "hiram-wong-zyfun": { "command": "npx", "args": ["hiram-wong-zyfun"] } } }