Generates summaries for YouTube videos, supporting both narrative and bullet-point formats with multi-language capabilities
DeepSRT MCP 服务器
模型上下文协议 (MCP) 服务器通过与 DeepSRT 的 API 集成提供 YouTube 视频摘要功能。
特征
- 生成 YouTube 视频摘要
- 支持叙述和要点摘要模式
- 多语言支持(默认:zh-tw)
- 与支持 MCP 的环境无缝集成
工作原理
- 内容缓存
- 必须先通过 DeepSRT 打开视频,以确保内容已缓存在服务中
- 首次观看会触发 DeepSRT 服务中的缓存过程
- MCP摘要检索
- 通过 MCP 请求摘要时,内容由 DeepSRT 的 CDN 边缘位置提供
- 这确保了快速有效地传递摘要
- 预缓存内容
- 一些视频可能已根据之前的用户请求缓存在系统中
- 虽然您或许可以获取这些预缓存视频的摘要,但无法保证其可用性
- 为获得最佳效果,请确保首先通过 DeepSRT 打开视频
安装
安装 Claude Desktop
- 首先,搭建服务器:
- 将服务器配置添加到您的 Claude Desktop 配置文件:
- 在 macOS 上:
~/Library/Application Support/Claude/claude_desktop_config.json
- 在 Windows 上:
%APPDATA%/Claude/claude_desktop_config.json
为 Cline 安装
只需在聊天中要求 Cline 安装:
“嘿,请帮我从https://github.com/DeepSRT/deepsrt-mcp安装这个 MCP 服务器”
Cline 将自动为您安装deepsrt-mcp
并更新您的cline_mcp_settings.json
。
用法
服务器提供以下工具:
获取摘要
获取 YouTube 视频的摘要。
参数:
videoId
(必需):YouTube 视频 IDlang
(可选):语言代码(例如 zh-tw)- 默认为 zh-twmode
(可选):摘要模式(“叙述”或“项目符号”) - 默认为叙述
示例用法
使用 Claude Desktop:
使用Cline:
发展
安装依赖项:
启动开发服务器:
为生产而构建:
演示
常问问题
问:我收到404
错误,为什么?
答:这是因为视频摘要未缓存在 CDN 边缘位置,您需要使用 DeepSRT chrome 扩展程序打开此视频以将其缓存在 CDN 网络中,然后才能使用 MCP 获取该摘要。
您可以使用 cURL 来验证缓存状态
如果您看到cache-status: HIT
则内容已缓存在 CDN 边缘位置,并且您的 MCP 服务器不应该收到404
。
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
MCP 服务器使用户能够通过与 DeepSRT 的 API 集成来生成多种语言和格式的 YouTube 视频摘要。
Related Resources
Related MCP Servers
- -securityFlicense-qualityThe MCP Server integrates APIs from the Youtube-Summarizer as tools within the MCP protocol, allowing for local AI application interaction and tool utilization through natural language queries.Last updated -Python
- -securityFlicense-qualityEnables AI applications to integrate with YouTube-Summarizer's APIs through the MCP protocol, offering local tool-based interaction for summarizing YouTube content.Last updated -1Python
- -securityAlicense-qualityAn MCP server that allows Claude and other AI assistants to interact with the YouTube API, providing tools to search videos/channels and retrieve detailed information about them.Last updated -1JavaScriptMIT License
- -securityFlicense-qualityAn MCP server that enables LLMs to search YouTube, retrieve video information, and access video transcripts through standardized tools.Last updated -TypeScript