- Explore MCP Servers
- mcp-midi-server
Mcp Midi Server
What is Mcp Midi Server
mcp-midi-server is a server that provides MIDI transmission capabilities using the MCP framework. It is available only in Python.
Use cases
Use cases include displaying available MIDI ports, opening a specific MIDI port, sending MIDI notes, sending MIDI CC messages, and playing MIDI note sequences at a specified BPM.
How to use
To use mcp-midi-server, install the required dependencies with ‘pip install -r requirements.txt’ and start the server by running ‘python kantanplay-midi-server.py’.
Key features
Key features include listing available MIDI ports, selecting and connecting to MIDI ports, sending MIDI notes and CC messages on channel 1, and sending MIDI sequences at specified BPM.
Where to use
mcp-midi-server can be used in music production, live performances, and any application requiring MIDI communication.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Mcp Midi Server
mcp-midi-server is a server that provides MIDI transmission capabilities using the MCP framework. It is available only in Python.
Use cases
Use cases include displaying available MIDI ports, opening a specific MIDI port, sending MIDI notes, sending MIDI CC messages, and playing MIDI note sequences at a specified BPM.
How to use
To use mcp-midi-server, install the required dependencies with ‘pip install -r requirements.txt’ and start the server by running ‘python kantanplay-midi-server.py’.
Key features
Key features include listing available MIDI ports, selecting and connecting to MIDI ports, sending MIDI notes and CC messages on channel 1, and sending MIDI sequences at specified BPM.
Where to use
mcp-midi-server can be used in music production, live performances, and any application requiring MIDI communication.
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
KantanPlay MIDI サーバー
このプロジェクトは、MCP フレームワークを使用して MIDI 送信機能を提供するサーバーです。Python 版のみを提供しています。
機能
- 利用可能な MIDI ポートの一覧表示
- MIDI ポートの選択と接続
- MIDI ノートの送信(チャンネル 1)
- MIDI CC メッセージの送信(チャンネル 1)
- MIDI シーケンスの送信(指定した BPM でノート列を再生)
Python 版
Python 版の必要条件
- Python 3.12 以上
- python-rtmidi 1.5.8
- mcp[cli] 1.6.0 以上
Python 版のインストール
# 依存関係のインストール
pip install -r requirements.txt
Python 版の使用方法
# サーバーの起動
python kantanplay-midi-server.py
使用例
list_midi_ports()- 利用可能な MIDI ポートの一覧を表示open_midi_port(port_index)- 指定したインデックスの MIDI ポートを開くsend_midi_note(note_number)- MIDI ノートを送信(0-127)send_midi_cc(controller, value)- MIDI CC メッセージを送信(コントローラー: 0-127, 値: 0-127)send_midi_sequence(bpm, notes)- 指定した BPM で MIDI ノートシーケンスを送信
Claude Desktop での記述例
{ "mcpServers": { "かんぷれ": { "command": "uv", "args": [ "run", "--with", "mcp[cli]", "mcp", "run", "(ファイルへの絶対パス)/kantanplay-midi-server.py" ] } } }
ライセンス
MIT ライセンス
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










