
szichedelic/fl-studio-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Control FL Studio with natural language via Claude AI and MCP
Обзор
Control FL Studio using natural language through Claude AI via the Model Context Protocol (MCP). - : Play, stop, record, get playback state - : Create, select, and rename patterns - : View all channels with volume, pan, mute status - : Get mixer track information - (Windows/macOS) - 18+ - : - Windows: loopMIDI - macOS: Use IAC Driver (built-in) - see instructions below - Linux: Use ALSA virtual MIDI ports 1. Install loopMIDI 2. Create two ports: - FL Bridge In (commands to FL Studio) - FL Bridge Out (responses from FL Studio) 1. Open (Applications > Utilities) 2. Show MIDI Studio (Window > Show MIDI Studio) 3. Double-click 4. Check "Device is online" 5. Add two ports: - FL Bridge In - FL Bridge Out Copy the fl-bridge folder to FL Studio's Hardware folder: - : Documents\Image-Line\FL Studio\Settings\Hardware\FLBridge\ - : Documents/Image-Line/FL Studio/Settings/Hardware/FLBridge/ - Select FL Bridge In - Set to FL Bridge - Assign 0
README
Показан фрагмент оригинального README. Открыть оригинал.
FL Studio MCP Server
Control FL Studio using natural language through Claude AI via the Model Context Protocol (MCP).
Features
- Transport Control: Play, stop, record, get playback state
- Pattern Management: Create, select, and rename patterns
- Channel Rack: View all channels with volume, pan, mute status
- Mixer Info: Get mixer track information
Requirements
- FL Studio (Windows/macOS)
- Node.js 18+
- Virtual MIDI Driver:
- Windows: loopMIDI
- macOS: Use IAC Driver (built-in) - see instructions below
- Linux: Use ALSA virtual MIDI ports
Installation
1. Clone and Build
git clone https://github.com/your-repo/fl-studio-mcp.git
cd fl-studio-mcp
npm install
npm run build
2. Set Up Virtual MIDI Ports
Windows (loopMIDI)
- Install loopMIDI
- Create two ports:
FL Bridge In(commands to FL Studio)FL Bridge Out(responses from FL Studio)
macOS (IAC Driver)
- Open Audio MIDI Setup (Applications > Utilities)
- Show MIDI Studio (Window > Show MIDI Studio)
- Double-click IAC Driver
- Check “Device is online”
- Add two ports:
FL Bridge InFL Bridge Out
Linux (ALSA)
sudo modprobe snd-virmidi
# Creates virtual MIDI ports accessible via ALSA
3. Install FL Bridge Script
Copy the fl-bridge folder to FL Studio’s Hardware folder:
- Windows:
Documents\Image-Line\FL Studio\Settings\Hardware\FLBridge\ - macOS:
Documents/Image-Line/FL Studio/Settings/Hardware/FLBridge/
The folder should contain:
FLBridge/
├── device_FLBridge.py
├── protocol/
│ ├── __init__.py
│ ├── sysex.py
│ └── commands.py
└── handlers/
├── __init__.py
├── transport.py
├── state.py
└── patterns.py
4. Configure FL Studio MIDI Settings
- Open FL Studio
- Go to OPTIONS > MIDI settings
- Click “Rescan MIDI devices” or “Update MIDI scripts”
Input Section:
- Select
FL Bridge In - Set Controller type to
FL Bridge - Assign Port
0
Output Section:
- Select
FL Bridge Out - Assign Port
0
Critical: Both input and output must have the same port number (e.g., Port 0) for FL Studio to link them correctly.
5. Configure Claude Code
Create .mcp.json in your project directory:
{
"mcpServers": {
"fl-studio": {
"type": "stdio",
"command": "node",
"args": ["/path/to/fl-studio-mcp/dist/index.js"],
"env": {
"FL_PORT_TO_FL": "FL Bridge In",
"FL_PORT_FROM_FL": "FL Bridge Out"
}
}
}
}
Environment Variables:
| Variable | Description | Default |
|---|---|---|
FL_PORT_TO_FL |
MIDI port for sending commands to FL Studio | FL Bridge In |
FL_PORT_FROM_FL |
MIDI port for receiving responses from FL Studio | FL Bridge Out |
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →Конфигурация
{
"mcpServers": {
"fl-studio": {
"type": "stdio",
"command": "node",
"args": ["/path/to/fl-studio-mcp/dist/index.js"],
"env": {
"FL_PORT_TO_FL": "FL Bridge In",
"FL_PORT_FROM_FL": "FL Bridge Out"
}
}
}
}