Skip to main content

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

Project description

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

  1. Go to Google Cloud Console
  2. Create or select a project
  3. Enable YouTube Data API v3
  4. Enable YouTube Analytics API

2. Create OAuth Credentials

  1. Go to APIs & Services > Credentials
  2. Click Create Credentials > OAuth client ID
  3. Select Desktop app
  4. Download the JSON file
  5. 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

Tool Description
upload_video Upload video with metadata and thumbnail
upload_short Upload YouTube Short (vertical, <60s)
update_video_metadata Update title/description/tags
get_video_analytics Get performance metrics
get_channel_stats Subscriber count, total views
schedule_video Upload and schedule for later
add_to_playlist Add video to playlist
list_playlists List channel playlists
create_playlist Create new playlist
get_comments Get video comments
reply_to_comment Reply 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 Key Description
film_animation Film & Animation
music Music
pets_animals Pets & Animals
sports Sports
gaming Gaming
people_blogs People & Blogs (default)
entertainment Entertainment
howto_style Howto & Style
education Education
science_tech Science & Technology

Environment Variables

Variable Required Description
YOUTUBE_CREDENTIALS_PATH Yes Path to OAuth client secrets JSON
YOUTUBE_TOKEN_PATH No Token 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

youtube_creator_mcp-1.0.0.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

youtube_creator_mcp-1.0.0-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file youtube_creator_mcp-1.0.0.tar.gz.

File metadata

  • Download URL: youtube_creator_mcp-1.0.0.tar.gz
  • Upload date:
  • Size: 9.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for youtube_creator_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d29f380aa09ef4c9ecce527108088bc993aa015c49430c127e85536b9e1337a7
MD5 5292b014fdc36a25ebc326f59fb2c160
BLAKE2b-256 b414ea0f708c0557aa272feb27a72dd5b5ce1d40dc743b5e5adb6499dd2a4b94

See more details on using hashes here.

File details

Details for the file youtube_creator_mcp-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for youtube_creator_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b741b17bc315be561c51686e6f9ae7641b644815da59c844cac4a46bbde8083c
MD5 7a0905752214bb84b20387b21cea94d2
BLAKE2b-256 a1bdcdef7e8fa16f17deb0e20d59fe75c05b4c4711e088b16dd0b46475a57d46

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page