YouTube MCP Extended

YouTube MCP Extended

Manages YouTube channels via Claude Desktop, enabling AI-powered metadata optimization, video scheduling, playlist management, and backups with safety guardrails.

Category
访问服务器

README

YouTube MCP Extended

License: MIT Node.js TypeScript MCP

A powerful Model Context Protocol (MCP) server that transforms Claude Desktop into your personal YouTube channel management assistant. Automate metadata optimization, video scheduling, playlist organization, and content backups with AI-powered insights.

What is YouTube MCP Extended?

YouTube MCP Extended is a comprehensive MCP server that enables Claude Desktop to manage your YouTube channel with professional-grade automation tools. Whether you're a content creator with dozens of videos or a digital marketer managing multiple channels, this tool streamlines your workflow with intelligent automation and safety guardrails.

Key Benefits

  • 🤖 AI-Powered Metadata: Generate optimized titles, descriptions, and tags using your video content and transcripts
  • 📅 Smart Scheduling: Plan video releases with intelligent timing strategies
  • 📋 Playlist Automation: Organize videos into playlists automatically by category or custom rules
  • 💾 Safe Operations: Built-in backup system and approval workflows prevent accidental changes
  • ⚡ Batch Processing: Handle multiple videos efficiently with progress tracking
  • 🔒 Secure: OAuth authentication with optional encrypted token storage

Quick Start (5 Minutes)

Prerequisites

  • Node.js 20+ (Download)
  • Claude Desktop (Download)
  • Google Cloud Project with YouTube Data API v3 enabled

1. Installation

# Clone and install
git clone https://github.com/denniswestermann/youtube_MetaData_MCP.git
cd youtube_MetaData_MCP
npm install
npm run build:basic

2. Google Cloud Setup

  1. Go to Google Cloud Console
  2. Create a new project or select existing one
  3. Enable the YouTube Data API v3
  4. Create OAuth 2.0 credentials (Web application type)
  5. Add http://localhost:3000/callback to authorized redirect URIs
  6. Copy your Client ID and Client Secret

3. Configuration

Create .env file:

cp .env.example .env

Edit .env with your credentials:

YOUTUBE_CLIENT_ID=your-client-id.apps.googleusercontent.com
YOUTUBE_CLIENT_SECRET=your-client-secret
OAUTH_ENCRYPTION_SECRET=your-strong-encryption-secret

4. Claude Desktop Configuration

Add to your Claude Desktop config file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "youtube-extended": {
      "command": "node",
      "args": ["./dist/index.js"],
      "cwd": "/path/to/youtube_MetaData_MCP"
    }
  }
}

5. First Use

  1. Restart Claude Desktop
  2. Ask Claude: "Start the YouTube OAuth flow"
  3. Follow the authentication instructions
  4. Ask Claude: "List my recent videos"

🎉 You're ready! Claude can now manage your YouTube channel.

Core Features

🔐 OAuth Authentication

  • Secure PKCE-based OAuth 2.0 flow
  • Encrypted token storage (optional)
  • Automatic token refresh
  • One-time setup per machine

📹 Video Management

  • List and analyze video metadata
  • Download transcripts for analysis
  • Bulk operations with progress tracking
  • Smart metadata suggestions

🏷️ Metadata Optimization

  • AI-powered title and description generation
  • Intelligent tag suggestions based on content
  • Guardrail system prevents problematic changes
  • Review workflow with approval checklists

📅 Video Scheduling

  • Strategic release timing optimization
  • Bulk scheduling with conflict detection
  • Preview mode for planning
  • Timezone-aware scheduling

📋 Playlist Management

  • Automatic categorization by YouTube categories
  • Custom playlist organization rules
  • Bulk video assignment
  • Position-specific placement

💾 Backup & Recovery

  • Automatic metadata backups before changes
  • Date-organized backup storage
  • One-click restore functionality
  • Version history tracking

⚡ Batch Operations

  • Queue-based processing for API efficiency
  • Real-time progress monitoring
  • Error handling with partial success
  • Resource subscriptions for live updates

User Personas & Use Cases

🎥 Content Creator

"I need to optimize 50+ video titles and organize them into themed playlists"

  • Generate engaging titles from video transcripts
  • Bulk organize videos into series playlists
  • Schedule optimal release times
  • Backup metadata before experimentation

📈 Digital Marketer

"I manage multiple client channels and need consistent optimization"

  • Standardize metadata across channels
  • Implement release scheduling strategies
  • Generate performance-optimized descriptions
  • Track changes with audit trails

🎓 Educational Institution

"Our course library needs better organization and discoverability"

  • Organize videos by course/module structure
  • Generate educational descriptions and tags
  • Schedule semester-based releases
  • Maintain consistent categorization

🛠️ Developer/Agency

"I want to extend the tool for custom workflows"

  • Built-in configuration validation
  • Feature flag system for controlled rollouts
  • Comprehensive error handling
  • Extensible architecture

Safety & Guardrails

YouTube MCP Extended prioritizes safe operations:

  • Approval Workflows: Metadata changes require explicit confirmation
  • Automatic Backups: Original data preserved before modifications
  • Preview Mode: See changes before applying them
  • Error Recovery: Graceful handling of API failures
  • Rate Limiting: Respects YouTube API quotas and limits

Architecture Highlights

  • Modular Design: Clean separation of concerns
  • MCP Protocol: Native integration with Claude Desktop
  • TypeScript: Full type safety and IDE support
  • Configuration System: Environment-based setup with validation
  • Batch Processing: Efficient API usage with progress tracking
  • Resource Subscriptions: Real-time updates for long operations

Documentation

Example Workflows

Optimizing Video Metadata

You: "Generate metadata suggestions for my latest video about TypeScript"
Claude: [Analyzes transcript, generates optimized title, description, tags]
You: "Apply the suggestions after reviewing the checklist"
Claude: [Creates backup, applies changes, confirms success]

Bulk Playlist Organization

You: "Organize my last 20 videos into playlists by topic"
Claude: [Analyzes categories, creates themed playlists, assigns videos]
You: "Monitor the progress"
Claude: [Shows real-time batch progress with success/failure details]

Strategic Scheduling

You: "Schedule my next 10 videos for optimal engagement"
Claude: [Analyzes upload patterns, creates strategic schedule]
You: "Apply the schedule"
Claude: [Implements scheduling with batch tracking]

Development & Contribution

Development Commands

# Development with hot reload
npm run dev:basic

# Build for production
npm run build:basic

# Run tests
npm test

# Lint and format
npm run lint
npm run format

# Type checking
npm run type-check

Project Structure

src/
├── auth/           # OAuth authentication
├── youtube/        # YouTube API client
├── metadata/       # Metadata generation & review
├── scheduler/      # Video scheduling
├── playlist/       # Playlist management
├── backup/         # Backup & restore
├── batch/          # Batch processing
└── config/         # Configuration system

System Requirements

  • Node.js: 20.0.0 or higher
  • Memory: 512MB minimum, 1GB recommended
  • Storage: 100MB for application, additional space for backups
  • Network: Stable internet connection for YouTube API
  • Platform: macOS, Windows, or Linux

API Quotas & Limits

YouTube Data API v3 provides 10,000 quota units per day by default:

  • List videos: 1 unit per request
  • Update metadata: 50 units per update
  • Create playlist: 50 units
  • Add to playlist: 50 units

The server includes intelligent quota monitoring and rate limiting.

Security Considerations

  • Token Encryption: Use OAUTH_ENCRYPTION_SECRET for production
  • Scope Limitation: Request only necessary YouTube permissions
  • Local Storage: All data stays on your machine
  • Network Security: Direct communication with YouTube APIs only
  • Audit Trail: Optional logging for compliance requirements

Troubleshooting Quick Reference

Issue Solution
OAuth fails Check redirect URI matches Google Cloud Console
API quota exceeded Monitor usage in Google Cloud Console
Metadata suggestions empty Ensure video has description or transcript
Batch jobs stuck Check network connection and API quotas
Claude can't find server Verify claude_desktop_config.json path

Version History

  • v0.0.2 - Enhanced documentation and user experience
  • v0.0.1 - Initial release with core MCP functionality

Support & Community

  • 📖 Documentation: Comprehensive guides in /docs
  • 🐛 Bug Reports: GitHub Issues
  • 💬 Discussions: GitHub Discussions
  • 📧 Email: support@aiex-academy.com

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

Built with:


Ready to supercharge your YouTube workflow? Follow the Quick Start guide above and transform Claude Desktop into your personal YouTube management assistant.

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选