YouTube Studio MCP logo

YouTube Studio MCP

Community
i1s-abhishek

Local MCP server for YouTube metadata, thumbnails, comments, and analytics.

Publisheri1s-abhishek
Repositoryyoutube-studio-mcp
LanguagePython
Forks
7
Stars
17
Available tools
0
Transport typestdio
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    YouTube Studio MCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    17 stars and 7 forks from the linked repository.

YouTube Studio MCP

License: MIT Python 3.10+ MCP YouTube API

A local Model Context Protocol (MCP) server for managing YouTube channels from AI tools such as Codex, Claude Desktop, Cursor, and other MCP-compatible clients.

YouTube Studio MCP lets your assistant inspect channel performance, review recent uploads, update video metadata, upload thumbnails, post comments, and read analytics through your own Google OAuth credentials.

YouTube Studio MCP terminal demo

Demo

text
User: Show my YouTube channel overview and summarize the last 10 uploaded videos.

Assistant uses:
- youtube_auth_status
- youtube_channel_overview
- youtube_list_videos

Result:
The assistant can review recent uploads, public stats, metadata, privacy status, and improvement opportunities.

See Demo for a setup walkthrough.

Features

  • Read authenticated channel profile, statistics, branding, and uploads playlist.
  • List recent videos with metadata, privacy status, content details, and public stats.
  • Update video title, description, tags, category, default language, and privacy status.
  • Upload custom thumbnails from local image files.
  • Read channel and per-video YouTube Analytics reports.
  • Post and list top-level video comments.
  • Runs locally over stdio with no hosted backend.
  • Uses only the Python standard library at runtime.

Why this exists

Creators often want AI help with repetitive YouTube Studio work: auditing metadata, improving SEO, comparing video performance, preparing descriptions, and keeping thumbnails/titles consistent. This MCP server gives an AI assistant controlled access to those workflows while keeping credentials on your own machine.

Requirements

  • Python 3.10 or newer.
  • A Google account with access to the YouTube channel.
  • A Google Cloud project with:
    • YouTube Data API v3 enabled.
    • YouTube Analytics API enabled.
  • A Google OAuth Desktop app client JSON.
  • An MCP-compatible client.

Quick start

Clone the repo:

bash
git clone https://github.com/i1s-abhishek/youtube-studio-mcp.git
cd youtube-studio-mcp

Create the local secrets folder if it does not exist:

bash
mkdir -p secrets

Download your Google OAuth Desktop client JSON and save it as:

text
secrets/client_secret.json

Authenticate with Google:

bash
python3 scripts/auth.py auth

Configure your MCP client to run:

bash
python3 scripts/server.py

See Google OAuth Setup and MCP Client Configuration for detailed steps.

MCP configuration

Example stdio config:

json
{
  "mcpServers": {
    "youtube-studio": {
      "command": "python3",
      "args": ["./scripts/server.py"],
      "cwd": "/absolute/path/to/youtube-studio-mcp",
      "env": {
        "YOUTUBE_CLIENT_SECRETS": "./secrets/client_secret.json",
        "YOUTUBE_TOKEN_FILE": "./secrets/token.json"
      }
    }
  }
}

Replace /absolute/path/to/youtube-studio-mcp with the path where you cloned this repository.

Available tools

See Tools for the full tool list.

Core tools include:

  • youtube_channel_overview
  • youtube_list_videos
  • youtube_get_video
  • youtube_update_video
  • youtube_upload_thumbnail
  • youtube_channel_analytics
  • youtube_video_analytics
  • youtube_post_comment
  • youtube_list_comments

Example prompts

text
Show my YouTube channel overview and summarize the last 10 uploads.
text
Review my last 28 days of analytics and suggest what I should improve next.
text
Update this video's title, description, tags, and language.
text
Upload this local thumbnail image to video VIDEO_ID.

OAuth scopes

This server requests:

  • https://www.googleapis.com/auth/youtube
  • https://www.googleapis.com/auth/youtube.force-ssl
  • https://www.googleapis.com/auth/youtube.readonly
  • https://www.googleapis.com/auth/yt-analytics.readonly

These scopes are broad because the server supports both read and write YouTube Studio actions. Only run this server on machines you trust.

Safety notes

  • Do not commit secrets/client_secret.json.
  • Do not commit secrets/token.json.
  • Review tool calls before allowing metadata updates or comments.
  • Keep a backup of important titles, descriptions, and tags before bulk updates.

Verification

Before publishing, this repo was checked to confirm that only secrets/.gitkeep is tracked under secrets/; real OAuth files such as secrets/client_secret.json and secrets/token.json are ignored by git.

Repository topics

Suggested GitHub topics:

text
mcp, model-context-protocol, youtube, youtube-api, youtube-analytics, youtube-studio, ai-tools, creator-tools, python

Publishing

Maintainers can publish or update the GitHub repository with:

bash
scripts/publish_github.sh i1s-abhishek youtube-studio-mcp

The script creates a public GitHub repo if needed, pushes main, and applies relevant discovery topics.

Sharing

Use Launch Copy when submitting this project to MCP directories or posting it on social platforms.

Contributing

Contributions are welcome. See CONTRIBUTING.md.

Security

Please read SECURITY.md before using this with a production channel.

License

MIT. See LICENSE.

Use YouTube Studio MCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once YouTube Studio MCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add YouTube Studio MCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the YouTube Studio MCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "youtube-studio-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the YouTube Studio MCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the YouTube Studio MCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use YouTube Studio MCP to help me with this task?
YouTube Studio MCP
Sure. I read it.
Here is what I found using YouTube Studio MCP.

Frequently asked questions

What is the YouTube Studio MCP MCP server used for?

YouTube Studio MCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use YouTube Studio MCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use YouTube Studio MCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use YouTube Studio MCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With YouTube Studio MCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect YouTube Studio MCP MCP to TypingMind?

YouTube Studio MCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does YouTube Studio MCP MCP provide in TypingMind?

YouTube Studio MCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use YouTube Studio MCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If YouTube Studio MCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇