Skip to main content
Glama

YouTube 音乐 MCP 🎵

这是一个简单的 MCP 服务器,允许您直接从 AI 助手(如 Cursor 或 Claude Desktop)搜索和播放 YouTube 音乐上的曲目。

内置:

可用工具

  • searchTrack :按名称搜索 YouTube 音乐上的曲目。

  • playTrack :通过在默认浏览器中搜索并打开曲目来直接播放曲目。

安装

Related MCP server: MCP Spotify Server

1. 获取钥匙

要实现此功能,您需要一个有效的Google Youtube API 密钥

2. 添加到光标

将以下 MCP 配置添加到您的 Cursor .cursor/mcp.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 文件。


链接

课程

查看我的其他项目:

  • AI 提示- 为 Cursor AI、Cline、Windsurf 和 Github Copilot 精心策划的 AI 提示

  • codefetch - 使用一个简单的终端命令将代码转换为 LLM 的 Markdown

  • aidex一个 CLI 工具,提供有关 AI 语言模型的详细信息,帮助开发人员根据他们的需求选择正确的模型。

  • codetie - XCode CLI

Install Server
A
license - permissive license
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • MCP server for Producer/Riffusion AI music generation

  • Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer

  • MCP server for AI dialogue using various LLM models via AceDataCloud

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/instructa/mcp-youtube-music'

If you have feedback or need assistance with the MCP directory API, please join our Discord server