(远程)YouTube MCP服务器
一个远程MCP(模型上下文协议)服务器,为YouTube视频转录提取工具提供OAuth身份验证。它包括通过Auth0进行OAuth 2.0身份验证,与MCP客户端兼容,包括ChatGPT和Claude。
资源
- 博客文章
- YouTube视频
快速开始
- 克隆存储库```bash
git clone
cd yt-mcp-remote
2. **安装依赖项** (要求Python>=3.13)```bash
uv sync
- 在.env中配置环境变量```bash
AUTH0_DOMAIN=your-auth0-domain
AUTH0_AUDIENCE=your-api-identifier # same as RESOURCE_SERVER_URL in this example
RESOURCE_SERVER_URL=/mcp
4. **运行服务器**```bash
uv run python main.py
服务器在上运行 http://0.0.0.0:8000/mcp
MCP工具
fetch_video_transcript(url)-提取并格式化YouTube视频转录本fetch_instructions(prompt_name)-获取写作模板(write_blog_post,write_social_post,write_video_chapters)
技术栈
- FastMCP-MCP服务器框架
- 铁路-托管远程服务器
- Auth0-OAuth身份验证
- youtube转录api-转录提取
- uv-Python依赖管理
