YouTube MCP Server
by nattyraz
The YouTube MCP Server provides tools for extracting video metadata, captions, and converting them to markdown format. It supports flexible authentication and template customization.
Last updated: N/A
What is YouTube MCP Server?
A Model Context Protocol (MCP) server designed to interact with YouTube videos. It allows users to programmatically retrieve video information, captions, and convert them into markdown format using customizable templates.
How to use YouTube MCP Server?
- Clone the repository and install dependencies.
- Configure your YouTube API key and/or OAuth2 credentials in a
.env
file. - Add the server to your MCP settings file.
- Use the
use_mcp_tool
command with the appropriate arguments to get video info, captions, or convert to markdown.
Key features of YouTube MCP Server
Video Metadata Extraction
Caption Extraction (auto-generated and manual)
Multiple Language Support (English, French)
Markdown Template System (Basic, Detailed, Search)
Search Functionality within Captions
Flexible Authentication (API Key, OAuth2)
Use cases of YouTube MCP Server
Creating transcripts of YouTube videos
Analyzing video content for specific keywords
Generating summaries of video content
Integrating YouTube video data into other applications
Automating caption extraction and formatting
FAQ from YouTube MCP Server
What is an MCP server?
What is an MCP server?
An MCP (Model Context Protocol) server allows you to interact with various services and APIs through a standardized interface.
How do I get a YouTube API key?
How do I get a YouTube API key?
You can obtain a YouTube API key by creating a project in the Google Cloud Console and enabling the YouTube Data API v3.
What are the available markdown templates?
What are the available markdown templates?
The server includes three built-in templates: Basic, Detailed, and Search. You can also customize templates by modifying the DEFAULT_TEMPLATES
array in src/index.ts
.
How do I use OAuth2 authentication?
How do I use OAuth2 authentication?
OAuth2 authentication is required for accessing private videos. Follow the steps in the README to create OAuth2 credentials in the Google Cloud Console and run the authentication script.
Can I contribute to this project?
Can I contribute to this project?
Absolutely! Fork the repository, create a feature branch, commit your changes, push to the branch, and open a pull request.