🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

youtube-creator-mcp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

youtube-creator-mcp

YouTube automation MCP: upload videos, Shorts, manage playlists, analytics

pipPyPI
Version
1.0.0
Weekly downloads
41
Maintainers
1

YouTube Creator MCP

mcp-name: io.github.wmarceau/youtube-creator

YouTube automation tools for Claude via MCP (Model Context Protocol). Upload videos, manage Shorts, track analytics, and engage with comments.

Features

  • Upload Videos: Upload with title, description, tags, thumbnails
  • YouTube Shorts: Upload vertical videos with automatic #Shorts tagging
  • Schedule Videos: Schedule uploads for future publication
  • Analytics: Get views, likes, watch time, subscriber gains
  • Playlists: Create playlists and add videos
  • Comments: Read and reply to comments
  • Channel Stats: Track subscriber count and total views

Installation

pip install youtube-creator-mcp

Setup

1. Enable YouTube Data API

  • Go to Google Cloud Console
  • Create or select a project
  • Enable YouTube Data API v3
  • Enable YouTube Analytics API

2. Create OAuth Credentials

  • Go to APIs & Services > Credentials
  • Click Create Credentials > OAuth client ID
  • Select Desktop app
  • Download the JSON file
  • Save as ~/.google/youtube_credentials.json

3. First Run (Authentication)

On first use, you'll be prompted to authenticate via browser. The token is saved for future use.

Tools

ToolDescription
upload_videoUpload video with metadata and thumbnail
upload_shortUpload YouTube Short (vertical, <60s)
update_video_metadataUpdate title/description/tags
get_video_analyticsGet performance metrics
get_channel_statsSubscriber count, total views
schedule_videoUpload and schedule for later
add_to_playlistAdd video to playlist
list_playlistsList channel playlists
create_playlistCreate new playlist
get_commentsGet video comments
reply_to_commentReply to a comment

Usage Examples

Upload a Video

{
  "tool": "upload_video",
  "arguments": {
    "video_path": "/path/to/video.mp4",
    "title": "5 Fitness Tips You Need to Know",
    "description": "In this video, I share my top 5 fitness tips...",
    "tags": ["fitness", "workout", "health", "tips"],
    "privacy": "public",
    "category": "howto_style"
  }
}

Upload a Short

{
  "tool": "upload_short",
  "arguments": {
    "video_path": "/path/to/short.mp4",
    "title": "Quick Workout Tip",
    "description": "Save this for your next gym session!",
    "tags": ["fitness", "shorts", "workout"],
    "privacy": "public"
  }
}

Get Analytics

{
  "tool": "get_video_analytics",
  "arguments": {
    "video_id": "dQw4w9WgXcQ"
  }
}

Video Categories

Category KeyDescription
film_animationFilm & Animation
musicMusic
pets_animalsPets & Animals
sportsSports
gamingGaming
people_blogsPeople & Blogs (default)
entertainmentEntertainment
howto_styleHowto & Style
educationEducation
science_techScience & Technology

Environment Variables

VariableRequiredDescription
YOUTUBE_CREDENTIALS_PATHYesPath to OAuth client secrets JSON
YOUTUBE_TOKEN_PATHNoToken storage path (default: ~/.google/youtube_token.pickle)

Claude Desktop Configuration

Add to your Claude Desktop config:

{
  "mcpServers": {
    "youtube-creator": {
      "command": "youtube-creator-mcp",
      "env": {
        "YOUTUBE_CREDENTIALS_PATH": "/path/to/credentials.json"
      }
    }
  }
}

License

MIT

Keywords

automation

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts