mvslee/youtube-mcp-server
3.1
If you are the rightful owner of youtube-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The YouTube MCP Server (Enhanced v3.0) is designed for seamless integration with the YouTube Data API and Claude, offering improved connectivity, error handling, and logging.
YouTube MCP Server (Enhanced v3.0)
增强版MCP服务器,用于YouTube Data API与Claude的集成
🔧 增强内容
- ✅ 修复了Claude连接问题
- ✅ 支持多种启动方式
- ✅ 改进了错误处理机制
- ✅ 添加了详细的调试日志
功能特性
- 🎬 获取YouTube播放列表信息和视频
- 🔍 搜索YouTube视频、频道和播放列表
- 📹 获取详细的视频信息
- 📺 获取频道信息和播放列表
- 🔑 灵活的API密钥管理
安装步骤
快速安装
git clone https://github.com/mvslee/youtube-mcp-server.git
cd youtube-mcp-server
npm install
配置Claude Desktop
配置文件位置:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Linux:
~/.config/Claude/claude_desktop_config.json
- Windows:
%APPDATA%/Claude/claude_desktop_config.json
推荐配置(使用Shell脚本):
{
"mcpServers": {
"youtube": {
"command": "/path/to/youtube-mcp-server/run-mcp.sh",
"args": [],
"env": {
"YOUTUBE_API_KEY": "YOUR_API_KEY"
}
}
}
}
备选配置(直接使用Node):
{
"mcpServers": {
"youtube": {
"command": "node",
"args": ["/path/to/youtube-mcp-server/start-mcp.js"],
"env": {
"YOUTUBE_API_KEY": "YOUR_API_KEY"
}
}
}
}
文档和许可
作者: mvslee 许可证: MIT