
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 分