SF

szichedelic/fl-studio-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

11 stars 4 forks Качество 59 Тренд 8

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)

  1. Install loopMIDI
  2. Create two ports:
    • FL Bridge In (commands to FL Studio)
    • FL Bridge Out (responses from FL Studio)

macOS (IAC Driver)

  1. Open Audio MIDI Setup (Applications > Utilities)
  2. Show MIDI Studio (Window > Show MIDI Studio)
  3. Double-click IAC Driver
  4. Check “Device is online”
  5. Add two ports:
    • FL Bridge In
    • FL 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

  1. Open FL Studio
  2. Go to OPTIONS > MIDI settings
  3. 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
Открыть полный README на GitHub

Установка

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" } } } }