(Remote) YouTube MCP Server
A remote MCP (Model Context Protocol) server that provides YouTube video transcript extraction tools with OAuth authentication. It includes OAuth 2.0 authentication via Auth0, compatible with MCP clients for including ChatGPT and Claude.
Quick Start
- Clone the repository
- Install dependencies (requires Python >=3.13)
uv sync
- Configure environment variables in .env
AUTH0_DOMAIN=your-auth0-domain
AUTH0_AUDIENCE=your-api-identifier # same as RESOURCE_SERVER_URL in this example
RESOURCE_SERVER_URL=<your-server-public-url>/mcp
- Run the server
uv run python main.py
Server runs on http://0.0.0.0:8000/mcp
MCP Tools
fetch_video_transcript(url)- Extract and format YouTube video transcriptsfetch_instructions(prompt_name)- Get writing templates (write_blog_post,write_social_post,write_video_chapters)
Tech Stack
- FastMCP - MCP server framework
- Railway - Hosting remote server
- Auth0 - OAuth authentication
- youtube-transcript-api - Transcript extraction
- uv - Python dependency management