JXiuFen/music-mcp-server
3.3
If you are the rightful owner of music-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This is a music MCP server designed to play songs.
Tools
6
Resources
0
Prompts
0
music MCP server
这是一个播放歌曲的mcp服务
工具列表
query_music
- 搜索相关歌曲.play_music
- 播放歌曲play_by_index
- 播放搜索到的第几首歌曲stop_music
- 停止播放歌曲pause_music
- 暂停播放歌曲unpause_music
- 恢复播放歌曲
安装
使用uv
使用 uv
时无需进行特定安装。我们将使用 uvx
直接运行 music-mcp-server。
下载源码
git clone https://github.com/JXiuFen/music-mcp-server.git
配置
Claude.app配置
在您的 Claude 设置中添加:
使用 uvx
{
"mcpServers": {
"music-mcp-server": {
"command": "uvx",
"args": ["music-mcp-server"]
}
}
}
使用 pip
{
"mcpServers": {
"music-mcp-server": {
"command": "python",
"args": ["music-mcp-server"]
}
}
}
VSCode配置
如需快速安装,请使用下面的其中一个一键安装按钮。...
对于手动安装,请在 VS Code 中的“用户设置(JSON)”文件中添加以下 JSON 块。您可以通过按下 Ctrl + Shift + P
并输入“偏好设置:打开用户设置(JSON)”来完成此操作。
您也可以选择将其添加到工作区中名为 .vscode/mcp.json
的文件中。这样您就可以与他人共享这些配置了。
请注意,使用
mcp.json
文件时需要设置mcp
键。
使用 uvx
{
"mcp": {
"servers": {
"time": {
"command": "uvx",
"args": ["music-mcp-server"]
}
}
}
}