
Tubemind Secure Mcp
io.github.dewtech-technologies由 GitHub 账号 dewtech-technologies 发布v0.1.3更新于 Oct 24, 2026
Secure MCP server for YouTube intelligence — 18 tools, OAuth2, OWASP Top 10 controls.
概览
本地 MCP 服务器,通过官方 Google API 为助手提供 18 个 YouTube 研究、频道分析、竞品对标与内容策略工具。
- 可以做什么
- 搜索与 SEO:查找热门话题、关键词数据和基于种子词的标签建议。视频与频道:分页列出频道上传内容、读取视频标签,并更新标题、描述或标签。分析:读取频道观看量、观看时长和留存率,并评估最佳发布日与时段。对标与竞品:将频道与同类频道比较,并获取竞品频道的热门视频。启发式分析:估算关键词难度和点击率潜力、分析标题模式、发现内容缺口、建议开场角度、查找上升关键词、分析留存信号并生成 N 天内容日历。
- 适用场景
- 适合让助手规划 YouTube 内容、分析自有频道表现,或基于官方 YouTube API 数据(而非抓取)研究竞品时使用。
- 运行要求
- 本地 Node.js 20 或更高版本的进程,通过 npm 或 npx 安装,仅限桌面端。需要一个启用 YouTube Data API v3 和 YouTube Analytics API 的 Google Cloud OAuth 2.0 客户端,以及 YOUTUBE_CLIENT_ID、YOUTUBE_CLIENT_SECRET、YOUTUBE_REDIRECT_URI 和 64 位十六进制 TOKEN_ENCRYPTION_KEY。需通过一次性浏览器 OAuth 流程登录频道所属的 Google 账号。可选设置包括速率限制、请求超时、审计日志路径和 NODE_ENV。
安装
在 SourceWeft 中
- 打开 控制台中的 Tubemind Secure Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
tubemind-secure-mcp
YouTube intelligence, powered by Claude. Secure by design.
Model Context Protocol server with 18 tools for YouTube research, analytics, benchmarking and content strategy.
[npm version] [downloads] [OWASP] [MIT License] [MCP SDK]
📦 18 tools · 🔐 OAuth2 + AES-256-GCM · 🛡️ OWASP Top 10 · 🤖 Claude Desktop ready
🎯 Why tubemind-secure-mcp?
Turn Claude into a YouTube growth strategist — without ever handing it your raw OAuth tokens.
- ⚡ Plug-and-play with Claude Desktop — drop one config block, get 18 production tools.
- 🔐 Secure by default — tokens encrypted at rest (AES-256-GCM), SSRF guard, rate limiting, audit log, Zod-validated inputs. OWASP Top 10 mapped end-to-end.
- 📊 Real data, not scraping — official YouTube Data API v3 + YouTube Analytics API. Brand Accounts supported.
- 🧠 Beyond raw API — built-in heuristics for CTR, retention, keyword difficulty, content gaps, hook angles and N-day content calendars.
- 🪶 Tiny footprint — 3 runtime deps (
@modelcontextprotocol/sdk,googleapis,zod). Node ≥ 20.
✨ Overview
tubemind-secure-mcp is a Model Context Protocol (MCP) server that gives Claude Desktop (and any MCP client) 18 production-grade tools for working with YouTube:
- 🔍 Search & SEO — trending topics, keyword stats, tag suggestions
- 📺 Video & Channel — list videos, read/update metadata, get tags
- 📊 Analytics — channel analytics (views, watch time, retention) via YouTube Analytics API
- 🏆 Benchmark — compare your channel against competitors
- 🧠 Heuristics — keyword difficulty, title patterns, content gaps, hook angles, CTR potential, retention signals, content calendar
- 🕵️ Competitor research — competitor video discovery
Built secure by design: OAuth2 (Brand Account ready), AES-256-GCM token encryption at rest, SSRF guard, rate limiting, audit logging, Zod input validation — mapped to OWASP Top 10.
📦 Installation
Requires Node.js ≥ 20.
🔐 OAuth Setup (one-time)
YouTube APIs need an OAuth2 token. The package ships with an auth server that walks you through it.
1) Create OAuth credentials in Google Cloud
- Go to Google Cloud Console → APIs & Services → Credentials
- Enable YouTube Data API v3 and YouTube Analytics API
- Create OAuth 2.0 Client ID → Web application
- Authorized redirect URI:
http://localhost:4000/oauth/callback - Copy the Client ID and Client Secret
2) Configure environment
Copy .env.example to .env and fill in:
3) Run the OAuth flow
Open http://localhost:4000, sign in with the Google account that owns the channel (Brand Accounts supported), authorize, and the encrypted token is saved to ./tokens/youtube.token.json.
🤖 Use with Claude Desktop
Add to claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Restart Claude Desktop. The 18 tools will appear automatically.
🛠️ Tools
All inputs are validated with Zod. All errors return safe messages (stack traces only when NODE_ENV=development).
🔒 Security
tubemind-secure-mcp is built secure-by-default. See SECURITY.md for the full posture mapped to OWASP Top 10.
Found a vulnerability? Email [email protected] — 72h response.
🧰 Local development
📜 License
MIT © Wanderson Leandro de Oliveira / Dewtech
来源:README.md,提交 24b63e5
工具
0版本历史
1- v0.1.3最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分