MCPcopy Create free account

hub / github.com/bangjiong925-commits/xiaozhi-music-mcp / functions

Functions41 in github.com/bangjiong925-commits/xiaozhi-music-mcp

↓ 11 callersMethodadd_tool
(self, name: str, description: str, schema: dict, handler)
music_mcp_server.py:22
↓ 11 callersMethodadd_tool
添加工具
music_mcp_websocket_server.py:50
↓ 2 callersMethodadd_resource
(self, uri: str, name: str, description: str)
music_mcp_server.py:30
↓ 2 callersMethodadd_resource
添加资源
music_mcp_websocket_server.py:59
↓ 1 callersMethodget_resource_content
获取资源内容
music_mcp_websocket_server.py:216
↓ 1 callersMethodhandle_message
处理WebSocket消息
music_mcp_websocket_server.py:67
↓ 1 callersMethodhandle_request
(self, request: dict)
music_mcp_server.py:37
↓ 1 callersFunctionmain
主函数
music_mcp_server.py:259
↓ 1 callersFunctionmain
主函数
music_mcp_websocket_server.py:405
↓ 1 callersFunctionmain
主函数
test_websocket_mcp.py:163
↓ 1 callersFunctionmain
主函数
test_mcp.py:83
↓ 1 callersMethodrun_stdio
(self)
music_mcp_server.py:64
↓ 1 callersFunctionsearch_music_api
调用免费音乐API搜索歌曲
music_mcp_server.py:108
↓ 1 callersFunctionsearch_music_api
搜索音乐API
music_mcp_websocket_server.py:239
↓ 1 callersFunctiontest_mcp_server
测试MCP服务器基本功能
test_mcp.py:12
↓ 1 callersFunctiontest_mcp_websocket_server
测试MCP WebSocket服务器
test_websocket_mcp.py:16
Method__init__
(self, name: str)
music_mcp_server.py:17
Method__init__
(self)
music_mcp_websocket_server.py:46
Functionadd_to_playlist_handler
(arguments: Dict[str, Any])
music_mcp_server.py:186
Functionadd_to_playlist_handler
(arguments: Dict[str, Any])
music_mcp_websocket_server.py:317
Functionclear_playlist_handler
(arguments: Dict[str, Any])
music_mcp_server.py:211
Functionclear_playlist_handler
(arguments: Dict[str, Any])
music_mcp_websocket_server.py:342
Functionget_playlist_handler
(arguments: Dict[str, Any])
music_mcp_server.py:200
Functionget_playlist_handler
(arguments: Dict[str, Any])
music_mcp_websocket_server.py:331
Functionhandle_client
处理WebSocket客户端连接
music_mcp_websocket_server.py:390
Functionnext_song_handler
(arguments: Dict[str, Any])
music_mcp_server.py:215
Functionnext_song_handler
(arguments: Dict[str, Any])
music_mcp_websocket_server.py:346
Functionpause_music_handler
(arguments: Dict[str, Any])
music_mcp_server.py:163
Functionpause_music_handler
(arguments: Dict[str, Any])
music_mcp_websocket_server.py:294
Functionplay_music_handler
(arguments: Dict[str, Any])
music_mcp_server.py:148
Functionplay_music_handler
(arguments: Dict[str, Any])
music_mcp_websocket_server.py:279
Functionprevious_song_handler
(arguments: Dict[str, Any])
music_mcp_server.py:237
Functionprevious_song_handler
(arguments: Dict[str, Any])
music_mcp_websocket_server.py:368
Functionresume_music_handler
(arguments: Dict[str, Any])
music_mcp_server.py:167
Functionresume_music_handler
(arguments: Dict[str, Any])
music_mcp_websocket_server.py:298
Functionsearch_music_handler
(arguments: Dict[str, Any])
music_mcp_server.py:133
Functionsearch_music_handler
(arguments: Dict[str, Any])
music_mcp_websocket_server.py:264
Functionset_volume_handler
(arguments: Dict[str, Any])
music_mcp_server.py:181
Functionset_volume_handler
(arguments: Dict[str, Any])
music_mcp_websocket_server.py:312
Functionstop_music_handler
(arguments: Dict[str, Any])
music_mcp_server.py:175
Functionstop_music_handler
(arguments: Dict[str, Any])
music_mcp_websocket_server.py:306