使用说明
youtube_mcp
Youtube转录MCP服务器
演示视频
点击上图观看演示视频
要求:
- OpenAI API密钥
- Cookie
服务器安装
- 克隆仓库:
git clone https://github.com/format37/youtube_mcp.git
cd youtube_mcp
nano .env
- 提取您的饼干。看 饼干.md
将cookies.txt放入。/mcp/文件夹。 - 生成MCP_KEY:
python token_generator.py
- 定义.env:
CONTAINER_NAME=youtube_mcp_main
PORT=7001
MCP_KEY=YOUR-MCP-KEY
OPENAI_API_KEY=YOUR-OPENAI-KRY
- 提供运行访问权限
sudo chmod +x compose.sh
sudo chmod +x logs.sh
sudo chmod +x update.sh
- 跑
./compose.sh
- 检查端口是否为传入连接打开。
客户端配置
- 将Bybit服务器添加到Claude桌面配置中: 例子:
{
"mcpServers": {
"youtube": {
"command": "npx",
"args": [
"mcp-remote",
"http://localhost:7001/sse",
"--header",
"Authorization:YOUR-TOKEN",
"--allow-http"
],
"disabled": false
}
}
}
客户端
4. Restart Claude desktop
5. Check that tws tools are listed in the tools list. Ask Claude to check ibkr account```