Muse YouTube (mcp-youtube)
A hosted Model Context Protocol (MCP) server built on the official YouTube Data API v3 that connects Muse to your YouTube account so you can browse subscriptions, discover videos, and curate TV watchlist playlists.
mcp-youtube is an open-source personal project by northtree. Source code and technical documentation are available on GitHub.
How It Works
-
Step 1
Connect in Muse
Authorize your Google account in Muse using standard OAuth 2.0 consent. Your tokens stay in Muse Secure Vault.
-
Step 2
Ask in chat
Ask Muse what is new from your subscribed channels, search topics in English or Chinese, and approve additions to a watchlist playlist.
-
Step 3
Watch on TV
Open your YouTube Library on your TV or any device and play the playlist you curated together.
Available MCP Tools
The server exposes 9 tools split into read-only discovery tools and write tools that require explicit user approval before running.
Read Tools (youtube.readonly)
-
list_subscriptionsList YouTube channels your account is subscribed to (1 quota unit). -
list_subscription_uploadsFetch recent uploads for 1 to 10 channels via their uploads playlists, with optional batched video metadata. -
get_video_detailsBatch-fetch titles, durations, view and like counts, live status, and descriptions for up to 50 video IDs in one call. -
search_videosSearch YouTube videos by keyword in English or Chinese, guarded by daily search limits to conserve quota. -
list_playlistsList your YouTube playlists so you can locate and reuse an existing watchlist. -
list_playlist_itemsList videos currently in a playlist to inspect your queue or check for duplicates.
Write Tools (youtube.force-ssl, approval required)
-
create_playlistCreate a new private, unlisted, or public playlist in your YouTube account. -
add_video_to_playlistAdd a video to a playlist, checking for duplicates by default before inserting. -
subscribe_channelSubscribe your YouTube account to a channel by its channel ID.
Architecture & Security
- Stateless FastMCP server: Runs as a Python FastMCP service hosted on a server in Singapore.
- Encrypted ingress: Exposed over HTTPS via Cloudflare Tunnel at
youtube.northtree.cc. - Zero server-side token storage: OAuth tokens are held by Muse Secure Vault and sent per request via
Authorization: Bearer. The server verifies tokens with Google'stokeninfoendpoint and never writes tokens, refresh tokens, or client secrets to disk. - Shared API quota: Operates on the default YouTube Data API v3 project quota of 10,000 units per day (resetting daily at midnight Pacific Time), with local guardrails prioritizing 1-unit subscription reads over 100-unit searches.
Project Notice
This service is operated as a personal project by northtree with no uptime guarantee or service-level agreement (SLA). Please review the Privacy Policy and Terms of Service before connecting your account.