Skip to main content
Glama
ABUGG-007

xiaozhi-mcp-music

by ABUGG-007

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOCAL_PLAYERNo本地播放器(小智硬件播放不需要;仅电脑本地调试用),可选 mpv 或 vlcnone
MCP_ENDPOINTYes小智控制台 -> 智能体 -> 配置角色页面,复制的专属 MCP 接入点
MUSIC_SOURCESNo音源开关(逗号分隔,全部可用),例如 kuwo,netease,migu,kugou
AUTO_PLAY_LOCALNo是否自动本地播放,默认 flasefalse

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_songA

在免费音乐源中搜索歌曲。当用户要求找歌、点歌、搜索歌曲或询问某首歌是否存在时使用。支持按歌名、歌手名或“歌名 歌手”搜索,返回歌曲列表(含音源、歌名、歌手、专辑、时长)。

play_songA

播放歌曲。用户说“播放xxx”“来一首xxx”“放点xxx”时使用。传入歌名/歌手后会自动搜索并解析可播放地址;也可传入 search_song 返回的 song_id 和 source 精确播放。返回内容包含文本信息和 ResourceLink 音频资源(可通过 resource://read_from_http 分页读取后播放)。

get_play_urlA

解析歌曲的直链播放地址。当其他工具需要具体音频 URL 时使用。参数与 play_song 相同,只返回地址不播放。

list_sourcesA

列出当前可用的免费音乐源及健康状态。

local_player_controlA

控制本机媒体播放器(mpv/vlc)播放/停止,仅当 LOCAL_PLAYER 配置启用时有效。用于电脑端本地播放场景;小智硬件播放走 play_song 的音频资源,不需要此工具。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
音频流代理通过 HTTP Range 分页读取远程音频。arguments: {"url": "音频地址", "start": 0, "end": 102400};到达末尾返回 base64 编码的 [DONE]。

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/ABUGG-007/xiaozhi-mcp-music'

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