Implements Google OAuth 2.0 authentication flow for secure authorization, managing access tokens and refresh tokens to maintain YouTube API access.
Provides video uploading capabilities to YouTube channels with OAuth2 authentication, token management, and multi-channel support, allowing AI agents to upload videos directly without using YouTube Studio.
YouTube Uploader MCP
AI‑powered YouTube uploader—no CLI, no YouTube Studio, and no secrets ever shared with LLMs or third‑party apps and all free of cost! It includes OAuth2 authentication, token management, and video upload functionality.
Features
- Upload videos to YouTube from MCP Client(Claude/Cursor/VS Code)
- OAuth2 authentication flow
- Access token and refresh token management
- Multi Channel Support
Single Command Installation
For Mac and Linux
For Windows(Powershell)
Expected result
This single command will
- Help in downloading oAuth client secret files, if not downloaded,
- Download the MCP server,
- Set minimum required permission to run mcp server,
- Auto update Cluade Desktop config with youtube-uploader-mcp server and
- At last print exact MCP config for any other clients VS Code/Cursor/AnythingLLM etc.
Integrate with Claude Desktop now? [y/N]: y [INFO] Claude config updated at: /Users/itclear/Library/Application Support/Claude/claude_desktop_config.json [INFO] If Claude is running, restart it to load the new MCP server.
Show VS Code/Cursor MCP config JSON now? [y/N]: y
[INFO] Add the following to your MCP config: "youtube-uploader-mcp": { "command": "/Users/itclear/youtube-uploader-mcp/youtube-uploader-mcp-darwin-arm64", "args": [ "-client_secret_file", "/Users/itclear/.config/youtube-uploader-mcp/client_secret_10000000000-lvgrjhofjbnd110eouaasaasdasdavapc.apps.googleusercontent.com.json" ], "env": {}, "disabled": false, "autoApprove": [] }
[INFO] Setup complete.
Demo
Setup and Demo Video
Manual Installation
Please check Single Command Installation, proceed if you prefer manual installation.
Visit the Releases page and download the appropriate binary for your operating system:
youtube-uploader-mcp-linux-amd64
youtube-uploader-mcp-darwin-arm64
youtube-uploader-mcp-windows-amd64.exe
- etc.
You can use the latest versioned tag, e.g.,
v1.0.0
.
2. Make it Executable (Linux/macOS)
3. Configure MCP (e.g., in Claude Desktop or Cursor)
4. Set Up Google OAuth 2.0
To upload to YouTube, you must configure OAuth and get a client_secret.json file from the Google Developer Console.
➡️ Follow the guide in youtube_oauth2_setup.md for a step-by-step walkthrough.
Usage
main.go
: Entry point for the CLIyoutube/
: YouTube API integration (OAuth, video upload, config)tool/
: Command-line tools for authentication, token, and uploadhook/
,logn/
: Supporting packages
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
- Upload videos to YouTube from MCP
- Client(Claude/Cursor/VS Code)
- OAuth2 authentication flow
- Access token and refresh token management
- Multi Channel Support
Related MCP Servers
- -securityAlicense-qualityAn MCP server that allows Claude and other AI assistants to interact with the YouTube API, providing tools to search videos/channels and retrieve detailed information about them.Last updated -61JavaScriptMIT License
- -securityFlicense-qualityAn MCP server that enables LLMs to search YouTube, retrieve video information, and access video transcripts through standardized tools.Last updated -TypeScript
- AsecurityFlicenseAqualityA Model Context Protocol server that provides Claude with tools to interact with YouTube, built on the mcp-framework.Last updated -TypeScript
- AsecurityFlicenseAqualityAn MCP server that provides AI assistants with powerful tools to interact with YouTube, including video searching, transcript extraction, comment retrieval, and more.Last updated -815Python