Everything
Reference server that exercises every MCP feature: tools, resources, prompts, sampling and more
MOmodelcontextprotocol/servers92k190 new stars in the last 7 days
MCP Server for FL Studio
Control FL Studio with plain language. An MCP (Model Context Protocol) server that lets AI assistants drive FL Studio through MIDI communication and Piano Roll scripts — compose melodies, adjust mixes, and automate plugins without touching the mouse.
Ask Claude to analyze your project and compose a melody — notes appear in the Piano Roll in real time:

dont mind the scuffed audio, i had to clip with my mic bc apple wouldnt let me record desktop audio lol
https://github.com/user-attachments/assets/d4fc668f-9fe5-4ab4-9f18-76cd661029c6
Hear the original audio if you'd like
https://github.com/user-attachments/assets/c2b1a5e7-1640-41fa-82bc-18ca7cbae9e8
Cannot load plugins — The FL Studio scripting API does not support loading new VST/AU plugins. You can only control parameters of plugins that are already loaded in your project.
No pattern management (yet) — The server can write notes and step-sequencer steps into a pattern, but it has no tools to create, switch, rename, or clone patterns. Everything goes into whichever pattern is currently selected in FL Studio, so pick or create the pattern yourself before asking for notes. (FL Studio's scripting API does support this through the
patternsmodule, so it could be added.)
git clone https://github.com/karl-andres/fl-studio-mcp.git
cd fl-studio-mcp
./install.sh
git clone https://github.com/karl-andres/fl-studio-mcp.git
cd fl-studio-mcp
# Allow running local scripts for this user (one-time)
Set-ExecutionPolicy -Scope CurrentUser RemoteSigned -Force
.\install.ps1
install.ps1 is the Windows counterpart to install.sh — same steps, PowerShell instead of bash. It installs Python 3.12 specifically (required for prebuilt python-rtmidi wheels on Windows).
Both installers will:
scripts/install_mcp_for_claude.sh / scripts/install_mcp_for_claude.ps1)Windows piano-roll note: The Piano Roll script is launched by sending FL Studio a keystroke (
Ctrl+Alt+Y). On Windows this briefly foregrounds the FL Studio window, so FL Studio will pop to the front for a moment each time a tool likefl_send_notesruns. This is expected. See Piano Roll script not triggering if it doesn't fire at all.
# Using uv (recommended)
uv sync
# Or using pip
pip install -e .
Copy the controller script to FL Studio's Hardware folder:
# macOS
mkdir -p ~/Documents/Image-Line/FL\ Studio/Settings/Hardware/FLStudioMCP
cp fl_controller/device_FLStudioMCP.py ~/Documents/Image-Line/FL\ Studio/Settings/Hardware/FLStudioMCP/
# Windows
mkdir "%USERPROFILE%\Documents\Image-Line\FL Studio\Settings\Hardware\FLStudioMCP"
copy fl_controller\device_FLStudioMCP.py "%USERPROFILE%\Documents\Image-Line\FL Studio\Settings\Hardware\FLStudioMCP\"
Copy the Piano Roll script:
# macOS
cp scripts/ComposeWithLLM.pyscript ~/Documents/Image-Line/FL\ Studio/Settings/Piano\ roll\ scripts/
# Windows
copy scripts\ComposeWithLLM.pyscript "%USERPROFILE%\Documents\Image-Line\FL Studio\Settings\Piano roll scripts\"
Add to your Claude Desktop config:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"fl-studio": {
"command": "uv",
"args": ["run", "--directory", "/path/to/fl-studio-mcp", "fl-studio-mcp"]
}
}
}
For Claude Code, add to your MCP settings (~/.claude.json, or run claude mcp add).
This is a standard MCP server that talks to clients over stdio — it isn't hardcoded to any one AI vendor. In principle, any MCP-compatible client can connect: Claude Desktop, Claude Code, Cursor, Windsurf, Gemini CLI, OpenAI's Codex CLI/Agents SDK, etc.
What's actually tested and auto-configured: only Claude Desktop and Claude Code, via scripts/install_mcp_for_claude.sh (macOS/Linux) and scripts/install_mcp_for_claude.ps1 (Windows). Other clients have no installer support — you'd need to manually add the following MCP server entry to that client's own config:
{
"command": "uv",
"args": ["run", "--directory", "/path/to/fl-studio-mcp", "fl-studio-mcp"]
}
Replace /path/to/fl-studio-mcp with your local clone path. If you try this with a non-Claude client, please open an issue with what worked or didn't — the protocol should support it, but it hasn't been verified here.
# Using uv
uv run fl-studio-mcp
# Or after installation
fl-studio-mcp
| Tool | Description |
|---|---|
fl_connect | Connect/reconnect to FL Studio |
fl_connection_status | Get connection status |
| Tool | Description |
|---|---|
fl_play | Start/pause playback |
fl_stop | Stop playback |
fl_record | Toggle recording |
fl_get_transport_status | Get playback/recording state |
fl_set_song_position | Set playback position |
fl_get_song_length | Get song duration |
fl_set_loop_mode | Switch between pattern/song mode |
fl_set_playback_speed | Adjust playback speed (0.25x–4x) |
| Tool | Description |
|---|---|
fl_get_mixer_track_count | Get number of mixer tracks |
fl_get_mixer_track_info | Get track details |
fl_get_all_mixer_tracks | List all tracks |
fl_set_track_volume | Set track volume |
fl_set_track_pan | Set track pan |
fl_mute_track | Mute/unmute track |
fl_solo_track | Solo/unsolo track |
fl_arm_track | Arm track for recording |
fl_set_track_name | Rename track |
fl_set_track_color | Set track color |
fl_set_stereo_separation | Adjust stereo width |
| Tool | Description |
|---|---|
fl_get_channel_count | Get number of channels |
fl_get_channel_info | Get channel details |
fl_get_all_channels | List all channels |
fl_get_selected_channel | Get selected channel |
fl_select_channel | Select/deselect channel |
fl_select_one_channel | Select channel exclusively |
fl_trigger_note | Trigger MIDI note (real-time) |
fl_set_channel_volume | Set channel volume |
fl_set_channel_pan | Set channel pan |
fl_mute_channel | Mute/unmute channel |
fl_solo_channel | Solo/unsolo channel |
fl_set_channel_name | Rename channel |
fl_set_channel_color | Set channel color |
fl_route_channel_to_mixer | Route to mixer track |
fl_get_grid_bit | Get step sequencer step |
fl_set_grid_bit | Set step sequencer step |
fl_get_step_sequence | Get full pattern |
fl_set_step_sequence | Set full pattern |
| Tool | Description |
|---|---|
fl_is_plugin_valid | Check if plugin exists |
fl_get_plugin_name | Get plugin name |
fl_get_plugin_param_count | Get parameter count |
fl_get_plugin_params | List all parameters |
fl_get_plugin_param_value | Get parameter value |
fl_set_plugin_param_value | Set parameter value |
fl_get_preset_count | Get preset count |
fl_next_preset | Next preset |
fl_prev_preset | Previous preset |
fl_get_plugin_color | Get plugin color |
| Tool | Description |
|---|---|
fl_send_notes | Add notes to the piano roll |
fl_send_chord | Add a chord (multiple notes at same time) |
fl_delete_notes | Delete specific notes |
fl_clear_piano_roll | Clear all notes |
fl_get_piano_roll_state | Read current piano roll notes |
fl_trigger_script | Manually trigger the FL Studio script |
fl_get_piano_roll_info | Get piano roll system info |
fl_clear_request_queue | Cancel pending queued changes |
"Set the volume of mixer track 1 to 80% and pan it slightly left"
"Create a basic kick pattern on channel 0 with kicks on steps 0, 4, 8, and 12"
"Add a C major arpeggio starting at beat 0: C4, E4, G4, C5 - each note quarter duration"
"Add a C major chord at beat 0, then F major at beat 2, then G major at beat 4"
"List the parameters of the plugin on channel 0 and set the filter cutoff to 50%"
This MCP server uses a hybrid approach:
┌─────────────────┐ ┌─────────────────────────────────────────┐
│ MCP Client │────▶│ FastMCP Server │
│ (Claude, etc) │ │ │
└─────────────────┘ │ ┌─────────────────┐ ┌──────────────┐ │
│ │ MIDI + JSON │ │ Piano Roll │ │
│ │ Tools │ │ Tools (JSON) │ │
│ └────────┬────────┘ └──────┬───────┘ │
└───────────┼──────────────────┼──────────┘
│ │
MIDI + JSON JSON Files +
│ Keystroke
▼ ▼
┌─────────────────────────────────────────┐
│ FL Studio │
│ ┌──────────────┐ ┌──────────────────┐ │
│ │FLStudioMCP │ │ Piano Roll Script│ │
│ │(MIDI Ctrl) │ │ (ComposeWithLLM) │ │
│ └──────────────┘ └──────────────────┘ │
└─────────────────────────────────────────┘
Transport / Mixer / Channels / Plugins:
Piano Roll:
# Install all dependencies including dev extras
uv sync --dev
# Or with pip
pip install -e ".[dev]"
| Command | Description |
|---|---|
uv run fl-studio-mcp | Run the MCP server |
uv run ruff check . | Lint the codebase |
uv run ruff check --fix . | Lint and auto-fix |
uv run pytest | Run tests |
fl-studio-mcp/
├── fl_controller/
│ └── device_FLStudioMCP.py # FL Studio MIDI controller script (runs inside FL Studio)
├── scripts/
│ ├── setup.sh # FL Studio script installer
│ ├── install_mcp_for_claude.sh # Claude config installer (macOS/Linux)
│ ├── install_mcp_for_claude.ps1# Claude config installer (Windows)
│ └── ComposeWithLLM.pyscript # Piano Roll script (runs inside FL Studio)
├── src/fl_studio_mcp/
│ ├── server.py # FastMCP server entry point
│ ├── tools/ # MCP tool implementations
│ │ ├── channels.py
│ │ ├── mixer.py
│ │ ├── piano_roll.py
│ │ ├── plugins.py
│ │ └── transport.py
│ └── utils/
│ ├── connection.py # FL Studio connection wrapper
│ ├── fl_trigger.py # Piano roll keystroke trigger
│ └── midi_connection.py # MIDI + JSON communication layer
├── install.sh # One-command installer (macOS/Linux)
└── install.ps1 # One-command installer (Windows)
Contributions are welcome! Feel free to open an issue or a pull request.
Just a heads-up: this project doesn't have a proper test suite, CI, or review process for PRs yet. I'm a student maintaining this in my spare time, so changes are mostly tested by hand in FL Studio. If you'd like to help set up testing or a smoother contribution workflow, that help is especially welcome.
MIT
Reference server that exercises every MCP feature: tools, resources, prompts, sampling and more
MOmodelcontextprotocol/servers92k190 new stars in the last 7 days
Current time lookup and conversion between IANA timezones
MOmodelcontextprotocol/servers92k190 new stars in the last 7 days
Free open-source resume builder with remote MCP tools for resumes and job applications.
REreactive-resume/reactive-resume46k207 new stars in the last 7 days
Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more
HEHeyPuter/puter44k50 new stars in the last 7 days
Open-source B2B and marketplace ecommerce; new stores include an MCP server for AI agents.
SPspree/spree16k13 new stars in the last 7 days