YouTube 音乐 MCP 🎵
这是一个简单的 MCP 服务器,允许您直接从 AI 助手(如 Cursor 或 Claude Desktop)搜索和播放 YouTube 音乐上的曲目。
内置:
可用工具
searchTrack
:按名称搜索 YouTube 音乐上的曲目。playTrack
:通过在默认浏览器中搜索并打开曲目来直接播放曲目。
安装
1. 获取钥匙
要实现此功能,您需要一个有效的Google Youtube API 密钥
2. 添加到光标
将以下 MCP 配置添加到您的 Cursor .cursor/mcp.json
设置中:
发展
此 MCP 通常直接使用npx
运行,无需本地安装或构建,除非您打算修改源代码。如果您要在本地开发,通常需要克隆源代码库(如果有)并遵循其特定的贡献指南。
执照
该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅 LICENSE 文件。
链接
X/Twitter: @kregenrek
Bluesky: @kevinkern.dev
课程
学习 Cursor AI:终极光标课程
学习使用 AI 构建软件: instructa.ai
查看我的其他项目:
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
一个简单的 MCP 服务器,允许 Cursor 或 Claude Desktop 等 AI 助手通过自然语言命令在 YouTube Music 上搜索和播放曲目。
Related MCP Servers
- -securityAlicense-qualityAn MCP server that allows AI models to control YouTube Music playback through Google Chrome by searching and playing songs using song and artist names.Last updated -13MIT License
- -securityAlicense-qualityAn MCP server that allows Claude and other AI assistants to interact with the YouTube API, providing tools to search videos/channels and retrieve detailed information about them.Last updated -31MIT License
- -securityFlicense-qualityAn MCP server that enables LLMs to search YouTube, retrieve video information, and access video transcripts through standardized tools.
- -securityAlicense-qualityAn experimental MCP server that makes YouTube playlist transcripts available for AI assistants, enabling search and conversation about video content.Last updated -1Apache 2.0