オーディオプレーヤーMCPサーバー
Claude がコンピューター上のオーディオ再生を制御できるようにする Model Context Protocol (MCP) サーバー。
特徴
MP3、WAV、OGG オーディオ ファイルを再生します。
音楽ディレクトリ内の利用可能なオーディオ ファイルを一覧表示します。
オーディオの再生を停止します。
ディレクトリ分離による安全なファイル アクセス。
要件
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 デスクトップの設定を開き、次の場所に移動します。
Developer > Edit Config
設定ファイルを見つけます:
Mac :
~/Library/Application Support/Claude/claude_desktop_config.json
Windows :
%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 に質問することで、オーディオの再生を制御できるようになりました。
「どんなオーディオファイルがありますか?」
「song.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 installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Claude がコンピューター上のオーディオ再生を制御できるようにするサーバー。再生、リスト、停止コマンドなどの機能を備えた MP3、WAV、OGG ファイルをサポートします。
Related MCP Servers
- AsecurityAlicenseAqualityA 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.Last updated -490MIT License
- -securityAlicense-qualityEnables Claude and other AI assistants to interact with your computer's audio system, allowing for recording from microphones and playing audio through speakers.Last updated -4MIT License
- AsecurityAlicenseAqualityA server that lets Claude desktop app execute terminal commands on your computer and edit files through Model Context Protocol, featuring command execution, process management, and advanced file operations.Last updated -1914,6145MIT License
- -securityFlicense-qualityAn MCP server that connects Claude to FL Studio, allowing the AI to compose music, control instruments, and live record melodies, chords, and drums to the piano roll.Last updated -59