Token导航 LogoToken导航TokenDH.com
Youtuber MCP Claude logo
音视频未说明官方级别未说明来源级核验

Youtuber MCP Claude

MCP Server

一个通过Claude Code管理YouTube频道的工具,提供视频管理、频道分析、SEO优化、内容研究等功能。

工具数

32

提示词数

0

GitHub Stars

0

资源数

0
TypeScriptClaude语音音频Claude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

monthop-gmail

提供方

monthop-gmail

最后核验

2026/5/17 20:20

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

youtuber-mcp-claude

MCP (Model Context Protocol) Server สำหรับจัดการช่อง YouTube ผ่าน Claude Code

ใช้ YouTube Data API v3 และ YouTube Analytics API เพื่อให้ Claude สามารถจัดการวิดีโอ วิเคราะห์ข้อมูล ทำ SEO และวางแผน content ได้

รันเป็น Docker container (Streamable HTTP mode) แล้วเชื่อมต่อกับ Claude Code ผ่าน .mcp.json

Features

CategoryToolsDescription
Video Management5 toolsUpload, update, delete, list videos, set thumbnail
Channel Analytics5 toolsChannel stats, video performance, audience insights, top videos, revenue
SEO Optimization4 toolsTitle suggestions, description generator, tag suggestions, chapters
Content Research4 toolsTrending topics, competitor analysis, video search, video details
Playlist Management4 toolsCreate, add videos, list, reorder playlists
Comment Management4 toolsGet comments, reply, delete, comment summary/sentiment
Community Post1 toolCommunity post guidance (API limitation)
Content Calendar4 toolsPlan, list, update, delete content plans (SQLite)
Utility1 toolAPI quota status

Total: 32 tools

Prerequisites

  • Docker & Docker Compose
  • Google Cloud Project with YouTube Data API v3 and YouTube Analytics API enabled
  • OAuth 2.0 credentials

Quick Start (Docker)

cd youtuber-mcp-claude

# 1. ตั้งค่า environment
cp .env.example .env
# แก้ไข .env ใส่ GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET

# 2. Setup OAuth (ครั้งแรก - ต้อง npm install ก่อน)
npm install --ignore-scripts
npm run setup-oauth
# จะเปิด browser ให้ authorize แล้วบันทึก refresh token ลง .env

# 3. Build & Run Docker
docker compose up -d --build

# 4. ตรวจสอบ
curl http://localhost:3030/health

เชื่อมต่อกับ Claude Code

ไฟล์ .mcp.json ถูกตั้งค่าไว้แล้ว:

{
  "mcpServers": {
    "youtuber": {
      "url": "http://localhost:3030/mcp"
    }
  }
}

เมื่อเปิด Claude Code ใน directory นี้ จะเชื่อมต่อ MCP server อัตโนมัติ

Manual Installation (ไม่ใช้ Docker)

npm install --ignore-scripts
cp .env.example .env
npm run setup-oauth
npm run build
npm start  # stdio mode

Google Cloud Setup

  1. Go to Google Cloud Console
  2. Create a new project or select existing
  3. Enable APIs:

- YouTube Data API v3 - YouTube Analytics API

  1. Go to Credentials > Create Credentials > OAuth 2.0 Client ID
  2. Application type: Web application (or Desktop)
  3. Authorized redirect URI: http://localhost:3000/oauth/callback
  4. Copy Client ID and Client Secret to .env

OAuth Setup

npm run setup-oauth

This will:

  1. Open a browser for Google authorization
  2. Start a local HTTP server to receive the callback
  3. Exchange the authorization code for tokens
  4. Save the refresh token to .env

Required Scopes

  • youtube - Manage YouTube account
  • youtube.upload - Upload videos
  • youtube.force-ssl - Manage comments
  • yt-analytics.readonly - View analytics
  • yt-analytics-monetary.readonly - View revenue reports

Configuration

Docker Compose

# Start
docker compose up -d --build

# Stop
docker compose down

# Logs
docker compose logs -f youtuber-mcp

# Rebuild
docker compose up -d --build --force-recreate

Port: 3030 (host) -> 3000 (container)

Environment Variables

VariableRequiredDefaultDescription
GOOGLE_CLIENT_IDYes-Google OAuth Client ID
GOOGLE_CLIENT_SECRETYes-Google OAuth Client Secret
GOOGLE_REDIRECT_URINohttp://localhost:3000/oauth/callbackOAuth redirect URI
GOOGLE_REFRESH_TOKENYes-OAuth refresh token (from setup-oauth)
YOUTUBE_CHANNEL_IDNo-Your YouTube channel ID
CACHE_TTL_SECONDSNo300Cache TTL in seconds
YOUTUBE_DAILY_QUOTANo10000YouTube API daily quota limit
SSE_HOSTNo0.0.0.0SSE server host (Docker mode)
SSE_PORTNo3000SSE server port (Docker mode)

Tool Usage Examples

Video Management

"Upload my video at /path/to/video.mp4 with title 'My Tutorial'"
"List my recent videos"
"Update the description of video dQw4w9WgXcQ"
"Set thumbnail for my latest video"

Analytics

"Show my channel stats"
"What's the performance of my latest video?"
"Show audience demographics for the last 90 days"
"What are my top 5 videos by watch time?"
"Show my revenue report for the last 30 days"

SEO

"Suggest titles for a video about 'Python tutorials'"
"Generate a description for my cooking video"
"Suggest tags based on my competitors' videos"
"Generate chapters from this transcript"

Content Research

"What's trending in the gaming category in Thailand?"
"Analyze the channel UCxxxxxx"
"Search for videos about 'machine learning'"

Content Calendar

"Add a content plan: 'React Tutorial' for next Monday"
"Show all my content plans"
"Update plan #3 status to 'filming'"
"What content is planned for this week?"

API Quota Usage

YouTube Data API has a daily quota of 10,000 units (default). Key costs:

OperationQuota Cost
List/Get (videos, playlists, channels)1 unit
Search100 units
Upload video1,600 units
Update/Delete50 units
Analytics queriesSeparate quota

Use get_quota_status to check remaining quota.

Tech Stack

  • Runtime: Node.js 18+
  • Language: TypeScript 5+ (strict mode)
  • MCP SDK: @modelcontextprotocol/sdk
  • YouTube API: googleapis
  • Database: better-sqlite3 (cache & content calendar)
  • Validation: zod
  • Auth: Google OAuth 2.0

Project Structure

src/
├── index.ts                    # MCP server entry point (stdio)
├── server-sse.ts               # MCP server Streamable HTTP mode (Docker)
├── config.ts                   # Configuration
├── tools/
│   ├── index.ts                # Tool registry & dispatcher (32 tools)
│   ├── video-management.ts     # Upload, update, delete, list, thumbnail
│   ├── channel-analytics.ts    # Stats, performance, audience, revenue
│   ├── seo-optimization.ts     # Titles, descriptions, tags, chapters
│   ├── content-research.ts     # Trending, competitor, search
│   ├── playlist-management.ts  # Create, add, list, reorder
│   ├── comment-management.ts   # Get, reply, delete, summarize
│   ├── community-post.ts       # Community post guidance
│   └── content-calendar.ts     # SQLite-based content planning
├── services/
│   ├── auth.ts                 # Google OAuth 2.0
│   ├── youtube-api.ts          # YouTube Data API v3 wrapper
│   ├── youtube-analytics.ts    # YouTube Analytics API wrapper
│   └── cache.ts                # SQLite cache with TTL
├── types/
│   ├── youtube.ts              # YouTube type definitions
│   └── tools.ts                # Tool type definitions
└── utils/
    ├── helpers.ts              # URL parsing, date formatting
    ├── rate-limiter.ts         # API quota management
    └── logger.ts               # Logging (stderr)

License

MIT

目录标签

目录标签

TypeScriptClaude语音音频视频管理本地部署频道分析SEO优化内容研究评论管理

支持客户端

Claude

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

oauth

工具数量(toolCount,工具数)

32

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明oauth部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP