# instructa
## 基本信息
- Slug: `instructa-mcp-youtube-music`
- Source: modelscope
- Publisher: @instructa/mcp-youtube-music
- Categories: entertainment-and-media / agent-orchestration / app-automation
- Hosted: No
- License: Unknown
- Source URL: https://www.modelscope.cn/mcp/servers/@instructa/mcp-youtube-music
## 简介
暂无描述。
## MCP Server 详情

# YouTube Music MCP 🎵

这是一个简单的MCP服务器，允许你直接通过像Cursor或Claude Desktop这样的AI助手搜索和播放YouTube Music中的曲目。

构建工具：

- [YouTube Music](https://music.youtube.com/)
- [Anthropic MCP](https://docs.anthropic.com/en/docs/agents-and-tools/mcp)
- [Cursor](https://cursor.so/)

## 可用工具

- `searchTrack`：按名称在YouTube Music上搜索曲目。
- `playTrack`：通过搜索并在默认浏览器中打开来直接播放曲目。

# 安装

## 1. 获取密钥

要使此功能正常工作，你需要一个有效的[Google Youtube API Key](https://console.cloud.google.com/marketplace/product/google/youtube.googleapis.com)。

## 2. 添加到Cursor

将以下MCP配置添加到你的Cursor `.cursor/mcp.json` 设置中：

json
{
  "mcpServers": {
    "youtube-music-mcp": {
      "command": "npx",
      "args": ["-y", "@instructa/mcp-youtube-music"],
      "env": {
        "YOUTUBE_API_KEY": "<INSERT_API_KEY_HERE>"
      }
    }
  }
}


**开发**

这个MCP通常直接使用`npx`运行，并不需要本地安装或构建，除非你打算修改源代码。如果你想在本地开发它，通常需要克隆源代码仓库（如果可用）并遵循其特定的贡献指南。

## 许可证

本项目根据MIT许可证发布 - 查看LICENSE文件获取详情。

---

## 链接

- X/Twitter: [@kregenrek](https://x.com/kregenrek)
- Bluesky: [@kevinkern.dev](https://bsky.app/profile/kevinkern.dev)

## 课程
- 学习Cursor AI: [Ultimate Cursor Course](https://www.instructa.ai/en/cursor-ai)
- 学习使用AI构建软件: [instructa.ai](https://www.instructa.ai)

## 查看我的其他项目：

* [AI Prompts](https://github.com/instructa/ai-prompts/blob/main/README.md) - 为Cursor AI、Cline、Windsurf和Github Copilot精选的AI提示
* [codefetch](https://github.com/regenrek/codefetch) - 通过一个简单的终端命令将代码转换为Markdown格式供大型语言模型使用
* [aidex](https://github.com/regenrek/aidex) - 一个CLI工具，提供关于AI语言模型的详细信息，帮助开发者选择适合他们需求的模型
* [codetie](https://github.com/codetie-ai/codetie) - XCode CLI

