youtube-mcp
Provides tools for interacting with YouTube channels, videos, comments, playlists, and analytics via YouTube Data API v3 and YouTube Analytics API, including uploading and updating videos, managing comments, creating playlists, and retrieving channel/video analytics.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Community source release (MIT). Self-host using your own credentials. No NabuxAI production accounts or hosted-service access are included.
YouTube MCP by Nabux
Multi-user YouTube MCP Gateway using Google's official YouTube Data API v3 and YouTube Analytics API.
Production target: https://youtube.nabuxai.com
MCP: https://youtube.nabuxai.com/mcp
OAuth callback: https://youtube.nabuxai.com/youtube/callback
Tools
youtube_accountsyoutube_channelyoutube_list_videosyoutube_get_videoyoutube_upload_videoyoutube_update_videoyoutube_commentsyoutube_reply_commentyoutube_moderate_commentyoutube_playlistsyoutube_create_playlistyoutube_add_to_playlistyoutube_analytics
Related MCP server: yt-playlist-mcp
Upload architecture
youtube_upload_video accepts a public HTTPS media URL. The gateway streams it to temporary disk with a configurable size limit and then uses YouTube's official resumable videos.insert upload flow in chunks. Temporary files are deleted after upload.
Default privacy is private. Google may additionally restrict uploads from unverified API projects to private until the API project passes the required compliance audit.
The uploader supports official metadata including title, description, tags, category, made-for-kids status and containsSyntheticMedia.
OAuth / security
Google OAuth uses Authorization Code + PKCE and requests offline access so a refresh token can be stored. Access and refresh tokens are encrypted at rest; MCP bearer tokens are hashed and separate from Google credentials.
Default scopes:
https://www.googleapis.com/auth/youtube.readonly
https://www.googleapis.com/auth/youtube.upload
https://www.googleapis.com/auth/youtube.force-ssl
https://www.googleapis.com/auth/yt-analytics.readonlyFor a public production app, configure the Google OAuth consent screen and complete any verification required for the requested scopes.
Coolify
Deploy feature/youtube-mcp-gateway using docker-compose.coolify.yml at youtube.nabuxai.com, port 8000, with persistent /data.
Required variables:
PUBLIC_BASE_URL=https://youtube.nabuxai.com
APP_SECRET_KEY=<32+ random chars>
GOOGLE_CLIENT_ID=<OAuth web client ID>
GOOGLE_CLIENT_SECRET=<OAuth client secret>
GOOGLE_REDIRECT_URI=https://youtube.nabuxai.com/youtube/callback
INTERNAL_SERVICE_TOKEN=<random server-to-server secret>Also enable YouTube Data API v3 and YouTube Analytics API in the same Google Cloud project.
NabuGen API
GET /internal/v1/accounts/{account_key}
POST /internal/v1/accounts/{account_key}/uploadThe upload endpoint uses the same official resumable path as the MCP tool.
Status
Code is deployment-shaped and CI-tested. Real E2E upload/analytics requires Google credentials, enabled APIs, OAuth consent/verification as applicable, HTTPS, and an authorized YouTube channel.
This server cannot be deployed
Maintenance
Related MCP Connectors
YouTube discovery, transcripts, library search, and monitors with API keys or OAuth.
Hosted MCP for YouTube Studio: uploads, metadata, playlists, comments, analytics, captions.
Search videos; read channels, playlists, comments and popular videos in YouTube.
Publish to your YouTube and Instagram accounts: schedule posts, read analytics and manage comments.
Related MCP Servers
- FlicenseNot gradedqualityCmaintenanceMCP server for managing YouTube channels using Data API v3 and Analytics. Supports video upload, comments, playlists, and analytics via ~30 tools, with stateless OAuth authentication.-
- FlicenseNot gradedqualityDmaintenanceEnables searching YouTube and managing playlists on your own account via OAuth 2.0 authentication.-
- AlicenseBqualityBmaintenanceManage a YouTube channel through official Google APIs — videos, comments, playlists, live broadcasts, captions, and analytics — plus an auditable giveaway suite for comment-entry giveaways with deterministic winner drawing.51MIT
- FlicenseNot gradedqualityDmaintenanceEnables YouTube video upload, metadata updates, thumbnail management, stats retrieval, and analytics via the YouTube Data API v3 and Analytics API using OAuth 2.0.-