原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Tubemind Secure MCP

作者:dewtech-technologies版本 0.1.3i★ –i在你的电脑上运行
注册名称io.github.dewtech-technologies/tubemind-secure-mcp

安装

概览

作者提供的说明(英文原文)

Secure MCP server for YouTube intelligence — 18 tools, OAuth2, OWASP Top 10 controls.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 营销与社交媒体
  • 你需要填写:YOUTUBE_CLIENT_ID, YOUTUBE_CLIENT_SECRET, TOKEN_ENCRYPTION_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: YOUTUBE_CLIENT_ID, YOUTUBE_CLIENT_SECRET, YOUTUBE_REDIRECT_URI, TOKEN_ENCRYPTION_KEY, RATE_LIMIT_PER_MINUTE, REQUEST_TIMEOUT_MS, AUDIT_LOG_PATH, NODE_ENV

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "tubemind-secure": {
      "command": "npx",
      "args": [
        "-y",
        "tubemind-secure-mcp"
      ],
      "env": {
        "YOUTUBE_CLIENT_ID": "your-value",
        "YOUTUBE_CLIENT_SECRET": "your-value",
        "YOUTUBE_REDIRECT_URI": "your-value",
        "TOKEN_ENCRYPTION_KEY": "your-value",
        "RATE_LIMIT_PER_MINUTE": "your-value",
        "REQUEST_TIMEOUT_MS": "your-value",
        "AUDIT_LOG_PATH": "your-value",
        "NODE_ENV": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add tubemind-secure --env YOUTUBE_CLIENT_ID=your-value --env YOUTUBE_CLIENT_SECRET=your-value --env YOUTUBE_REDIRECT_URI=your-value --env TOKEN_ENCRYPTION_KEY=your-value --env RATE_LIMIT_PER_MINUTE=your-value --env REQUEST_TIMEOUT_MS=your-value --env AUDIT_LOG_PATH=your-value --env NODE_ENV=your-value -- npx -y tubemind-secure-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "tubemind-secure": {
      "command": "npx",
      "args": [
        "-y",
        "tubemind-secure-mcp"
      ],
      "env": {
        "YOUTUBE_CLIENT_ID": "your-value",
        "YOUTUBE_CLIENT_SECRET": "your-value",
        "YOUTUBE_REDIRECT_URI": "your-value",
        "TOKEN_ENCRYPTION_KEY": "your-value",
        "RATE_LIMIT_PER_MINUTE": "your-value",
        "REQUEST_TIMEOUT_MS": "your-value",
        "AUDIT_LOG_PATH": "your-value",
        "NODE_ENV": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "tubemind-secure": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "tubemind-secure-mcp"
      ],
      "env": {
        "YOUTUBE_CLIENT_ID": "your-value",
        "YOUTUBE_CLIENT_SECRET": "your-value",
        "YOUTUBE_REDIRECT_URI": "your-value",
        "TOKEN_ENCRYPTION_KEY": "your-value",
        "RATE_LIMIT_PER_MINUTE": "your-value",
        "REQUEST_TIMEOUT_MS": "your-value",
        "AUDIT_LOG_PATH": "your-value",
        "NODE_ENV": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • YOUTUBE_CLIENT_ID 必填 env
    Google OAuth2 Client ID for YouTube Data API v3 + Analytics API
  • YOUTUBE_CLIENT_SECRET 机密 必填 env
    Google OAuth2 Client Secret
  • YOUTUBE_REDIRECT_URI env
    OAuth2 redirect URI (must match Google Cloud Console)
  • TOKEN_ENCRYPTION_KEY 机密 必填 env
    64-char hex key for AES-256-GCM token encryption at rest. Generate with: openssl rand -hex 32
  • RATE_LIMIT_PER_MINUTE env
    Max tool invocations per minute
  • REQUEST_TIMEOUT_MS env
    HTTP request timeout (ms)
  • AUDIT_LOG_PATH env
    Path to the audit log file
  • NODE_ENV env
    production | development

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 dewtech-technologies 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“营销与社交媒体”中的其他服务器比较i

  • 星标数多于此分类中其他 3632 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 3632 个服务器的 8% 更新
  • 基础检查结果等于或优于此分类中其他 3632 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Tubemind Secure MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:YOUTUBE_CLIENT_ID, YOUTUBE_CLIENT_SECRET, TOKEN_ENCRYPTION_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.1.3)于6个月前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

MCP YouTube Transcript

An MCP server retrieving transcripts of YouTube videos

作者:jkawamoto正在增长★ 49512天前更新

在你的电脑上运行

Google Analytics MCP

GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.

作者:surendranb正在增长↓ 1088/周★ 24412天前更新

在你的电脑上运行

BibiGPT YouTube Video Summarizer

AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.

作者:JimmyLv正在增长★ 13712天前更新

在云端运行✓ bibigpt.co

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

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.

📦 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

# Global install

npm install -g tubemind-secure-mcp

Or run on demand

npx tubemind-secure-mcp

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
  1. Go to Google Cloud Console → APIs & Services → Credentials
  2. Enable YouTube Data API v3 and YouTube Analytics API
  3. Create OAuth 2.0 Client ID → Web application
  4. Authorized redirect URI: http://localhost:4000/oauth/callback
  5. Copy the Client ID and Client Secret
2) Configure environment

Copy .env.example to .env and fill in:

YOUTUBE_CLIENT_ID=your-client-id.apps.googleusercontent.com

YOUTUBE_CLIENT_SECRET=your-client-secret YOUTUBE_REDIRECT_URI=http://localhost:4000/oauth/callback

Generate with: openssl rand -hex 32

TOKEN_ENCRYPTION_KEY=your-64-char-hex-key

RATE_LIMIT_PER_MINUTE=60 REQUEST_TIMEOUT_MS=10000 AUDIT_LOG_PATH=./logs/audit.log NODE_ENV=production

3) Run the OAuth flow
pnpm auth

or: npx tsx --env-file=.env src/auth-server.ts

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

{

"mcpServers": { "tubemind": { "command": "npx", "args": ["-y", "tubemind-secure-mcp"], "env": { "YOUTUBE_CLIENT_ID": "your-client-id.apps.googleusercontent.com", "YOUTUBE_CLIENT_SECRET": "your-client-secret", "YOUTUBE_REDIRECT_URI": "http://localhost:4000/oauth/callback", "TOKEN_ENCRYPTION_KEY": "your-64-char-hex-key", "RATE_LIMIT_PER_MINUTE": "60", "REQUEST_TIMEOUT_MS": "10000", "AUDIT_LOG_PATH": "./logs/audit.log", "NODE_ENV": "production" } } } }

Restart Claude Desktop. The 18 tools will appear automatically.


🛠️ Tools

CategoryToolDescription
Searchsearch_trending_topicsDiscover trending topics by region/category
get_keyword_statsSearch volume signals for keywords
suggest_tagsTag recommendations from a seed
Videoget_video_tagsRead tags from a video
update_video_metadataUpdate title/description/tags (write scope)
list_channel_videosPaginate channel uploads
Analyticsget_channel_analyticsViews, watch time, retention (Analytics API)
score_best_publish_windowBest day/hour heatmap to publish
Benchmarkbenchmark_channelCompare channel vs. peers
Heuristicsestimate_keyword_difficultyDifficulty score 0–100
analyze_title_patternsCommon patterns in top videos
detect_content_gapsTopics competitors cover that you don't
Heuristics+estimate_ctr_potentialCTR estimate from title/thumbnail signals
suggest_hook_anglesHook angles for a topic
find_trending_keywordsRising-momentum keywords
analyze_retention_signalsRetention-shaping factors
generate_content_calendarN-day content plan
Competitorget_competitor_videosTop videos from a competitor channel

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.

ControlImplementation
A01 — Broken Access ControlOAuth2 scopes least-privilege, audit log per call
A02 — Cryptographic FailuresAES-256-GCM at rest for tokens, secrets via env only
A03 — InjectionZod schemas on every tool input
A04 — Insecure DesignRate limit, request timeout, SSRF guard (host whitelist)
A05 — Misconfiguration.env.example template, no defaults that leak
A07 — AuthN FailuresOAuth2 PKCE-style flow, encrypted token storage
A08 — Software/Data IntegrityPinned deps, pnpm audit in CI, dependabot
A09 — Logging FailuresAudit log of every tool call (timestamp, tool, success)
A10 — SSRFOutbound calls restricted to googleapis.com family

Found a vulnerability? Email wleandro.oliveira@gmail.com — 72h response.


🧰 Local development

pnpm install

pnpm dev # tsx watch on src/index.ts pnpm build # tsc → dist/ pnpm typecheck pnpm test pnpm audit:security


📜 License

MIT © Wanderson Leandro de Oliveira / Dewtech

问 PopNx