Audio Player MCP Server
音频播放器 MCP 服务器
模型上下文协议 (MCP) 服务器允许 Claude 控制计算机上的音频播放。
特征
播放 MP3、WAV 和 OGG 音频文件。
列出音乐目录中可用的音频文件。
停止音频播放。
通过目录隔离来保护文件访问。
Related MCP server: Spotify MCP Server
要求
Python 3.10 或更高版本。
Claude Desktop (最新版本)。
安装
克隆存储库:
git clone https://github.com/Here-and-Tomorrow-LLC/audio-player-mcp.git导航到存储库目录:
cd audio-player-mcp以可编辑模式安装包:
pip install -e .
使用 Claude Desktop 进行设置
打开 Claude Desktop 设置并导航至:
Developer > Edit Config找到您的配置文件:
Mac :
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows :
%APPDATA%\Claude\claude_desktop_config.json
根据您的操作系统添加以下配置:
Mac/Linux:
{ "mcpServers": { "audio-player": { "command": "/path/to/your/venv/bin/python", "args": [ "/path/to/your/audio-player-mcp/src/audio_player_mcp/player.py" ], "env": { "AUDIO_PLAYER_DIR": "/path/to/your/audio/files" } } } }视窗:
{ "mcpServers": { "audio-player": { "command": "C:\path\to\your\venv\Scripts\python.exe", "args": [ "C:\path\to\your\audio-player-mcp\src\audio_player_mcp\player.py" ], "env": { "AUDIO_PLAYER_DIR": "C:\path\to\your\audio\files" } } } }**注意:**如果未设置
AUDIO_PLAYER_DIR,服务器将默认使用主目录中的Music文件夹。重新启动 Claude Desktop。
用法
您现在可以通过询问 Claude 来控制音频播放:
“我有哪些音频文件?”
“播放歌曲.mp3。”
“别再放音乐了。”
故障排除
如果出现问题,请检查 Claude 的日志:
苹果:
tail -f ~/Library/Logs/Claude/mcp*.log视窗:
type "%APPDATA%\Claude\logs\mcp*.log"
发展
克隆存储库:
git clone https://github.com/yourusername/audio-player-mcp.git导航到存储库目录:
cd audio-player-mcp安装开发依赖项:
pip install -e ".[dev]"以开发模式运行 MCP 服务器:
mcp dev src/audio_player_mcp/player.py
执照
该项目已获得MIT 许可。
This server cannot be deployed
Maintenance
Related MCP Connectors
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
The Listenetic MCP server is a remote, cloud-hosted server that enables AI assistants like ChatGPT and Claude to convert articles, documents, websites, and videos into high-quality AI-generated audio. It provides multi-format support for text and binary files, natural-sounding text-to-audio conversion using AI, and specialized processing for SSML, markup, markdown, and various media formats through three core tools: listentic_supported_mimetypes, listentic_add_content_text, and listentic_add_content_binary.
MCP server for Producer/Riffusion AI music generation
MCP server exposing the AceDataCloud Fish Audio API (text-to-speech with voice conditioning)
Related MCP Servers
- AlicenseBqualityCmaintenanceA server that connects Claude with Spotify, allowing users to control playback, search content, get information about tracks/albums/artists/playlists, and manage the Spotify queue.5614MIT
- AlicenseBqualityCmaintenanceMCP server for the Spotify Web API — gives Claude and other AI assistants tools to search music, control playback, manage playlists, library, and podcasts.59MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that gives Claude access to your SoundCloud library, allowing you to manage playlists and tracks through natural language.2AGPL 3.0
- AlicenseNot gradedqualityCmaintenanceA stdio MCP server for Claude Desktop that provides an interactive media player, a local command runner, and file read/write/edit tools.MIT