Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

fLMCP — FL Studio MCP server

CI PyPI Python License: MIT Glama

Let Claude, Cursor, VS Code Copilot, Codex — any MCP client — drive FL Studio 2024 / 2025 / 2026. Transport, patterns, the channel rack and step sequencer, mixer (including loading effects by name), plugin parameters, native piano-roll note editing, offline inspection of saved .flp files, playlist, arrangements, automation, undo, rendering — plus high-level music generators, voice-to-MIDI humming and audio-file analysis.

An AI client programs a 140 BPM trap beat with hi-hat rolls, writes an A-minor synth line into the piano roll, loads Fruity Reeverb 2, sets track EQ and Master Limiter in real units, runs live mix diagnosis, and renders a BS.1770 loudness report in FL Studio 2026

Recorded live on FL Studio 2026 (v26.1.7) with the tool calls shown below the window — trap groove + hi-hat rolls, hands-free piano roll, stock FX/EQ/Limiter in real units, live peak metering, and CLI render + BS.1770 loudness analysis; nothing was clicked by hand.

  • 188 default tools, 7 resources, 6 guided prompts, with MCP tool annotations (read-only / destructive) so clients can auto-approve safe calls.

  • Works in FL Studio 2025 and 2026's sandboxed Python. No sockets or threads inside FL — a file transport with an optional MIDI wake-up (see Architecture).

  • One-command setup: uvx flmcp-studio install copies the FL scripts, wires the MIDI port and registers the server with your AI apps. flmcp doctor tells you exactly what is wrong when something is.

  • Mix diagnosis: mixer_diagnose plays the song, holds every track's peak and lists clipping, headroom, routing, solo and bypass problems with the exact tool call that fixes each one.

  • Toolsets keep the tool list small for clients with tool limits (FLMCP_TOOLSETS=lean).

fLMCP is an independent community project, not affiliated with or endorsed by Image-Line.

Quickstart

Requirements: Windows 10/11 (macOS works for most tools, see platform support), FL Studio 2024 or newer (any edition with MIDI scripting), and uv or Python 3.10+.

1. Install — close FL Studio first, then:

uvx flmcp-studio install

This:

  1. copies device_FLStudioMCP.py into Documents\Image-Line\FL Studio\Settings\Hardware\fLMCP Bridge\ and ComposeWithLLM.pyscript into ...\Settings\Piano roll scripts\ (it reads FL's own user data folder setting, so relocated folders work);

  2. creates a loopMIDI port named fLMCP if loopMIDI is installed (recommended, and required on FL 2026: it gives the controller script a MIDI input to live on and wakes it for every command);

  3. on Windows, with FL closed, assigns the fLMCP Bridge controller to that MIDI input in FL's settings and enables it, so there is nothing to click;

  4. registers the flmcp server with Claude Desktop, Claude Code, Cursor, VS Code and Codex CLI where it finds them (existing configs are backed up to *.flmcp.bak). Select one with --client codex or skip registration with --no-clients.

On Windows, flmcp install --install-loopmidi can install loopMIDI through winget. On macOS, open Audio MIDI Setup → MIDI Studio → IAC Driver, enable Device is online, then enable the bus in FL’s MIDI settings and choose fLMCP Bridge. Set FLMCP_MIDI_PORT to the destination’s full name to select a particular bus.

2. Start FL Studio. The bridge loads with FL; uvx flmcp-studio doctor should say All good.

If FL was running during the install (FL rewrites its MIDI settings on exit, so the installer leaves them alone then), either close FL and re-run the install, or enable the bridge by hand once: Options → MIDI Settings → Input → select the fLMCP row (or any MIDI input) → Controller type = fLMCP Bridge → make sure the row is enabled.

Piano-roll writing needs no setup on Windows: the server runs the ComposeWithLLM script from the piano roll's Tools menu itself, without taking over the mouse, the keyboard or the window focus. On macOS, open the piano roll and run Tools → Scripts → ComposeWithLLM once. Keep FL frontmost and allow Accessibility for the calling app so it can repeat the script with Cmd+Opt+Y. If auto-triggering fails, the tool reports how to run it manually.

**3. Restart your AI app and say "ping FL Studio".** If it can't connect:

uvx flmcp-studio doctor

Claude Desktop: one-click bundle

Each release has a flmcp-<version>.mcpb file. Double-click it (or drag it onto Settings → Extensions in Claude Desktop) to add the server without editing any config. Claude Desktop runs it with uv and lets you pick the tool groups and the timeout in the extension's settings. You still need the FL side once: close FL Studio, run uvx flmcp-studio install --no-clients, and start FL again. To build the bundle yourself: npx @anthropic-ai/mcpb pack mcpb.

Other clients / manual config

uvx flmcp-studio config prints ready-to-paste snippets for every client. The canonical entry is:

{
  "mcpServers": {
    "flmcp": { "command": "uvx", "args": ["flmcp-studio"] }
  }
}

Client

Where

Claude Desktop

%APPDATA%\Claude\claude_desktop_config.json → mcpServers

Claude Code

claude mcp add --scope user flmcp -- uvx flmcp-studio

Cursor

~/.cursor/mcp.json → mcpServers

VS Code

%APPDATA%\Code\User\mcp.json → servers (with "type": "stdio")

Codex CLI

~/.codex/config.toml → [mcp_servers.flmcp] command = "uvx", args = ["flmcp-studio"]

Without uv: pip install flmcp-studio, then use "command": "python", "args": ["-m", "fl_studio_mcp"] (flmcp install --command python writes that for you).

Related MCP server: fLMCP

What you can ask for

"Make a new pattern called Verse, put a boom-bap groove on channels 0–2, a C-minor octave bassline on channel 3 and an i–VII–VI–V progression on channel 4, then play it."

"Give me an overview of the project and tell me which mixer tracks are clipping-prone or unrouted."

"Put Fruity Limiter and a reverb on the vocal track, set the reverb to 30 % wet and tell me if the master clips while the drop plays."

"I'll hum a riff for 8 seconds — snap it to C minor, quantize to 1/16 at 120 BPM and write it into the open piano roll."

"Analyse C:\samples\break.wav, detect key and tempo, and flip it into a 174 BPM drum & bass loop with the track's own melody on top."

The built-in prompts (Make a Beat, Write a Chord Progression, Hum to Melody, Flip Audio to Drum & Bass, Review a Mix, Project Overview) appear in clients that support MCP prompts (e.g. the / menu in Claude).

Tools

Group

Tools

Highlights

meta

7

ping/health, reconnect, bridge info, API introspection, raw action, batch, toolsets

transport

16

play / stop / record, position, tempo, time signature, metronome, count-in, loop record, overdub

patterns

16

create, rename, clone, clear, color, set length, move selected patterns, double pattern data, find by name

channels

25

channel rack, step fills and per-step velocity, pitch, pan, shift and repeats, routing, timed note audition

mixer

32

volume / pan / mute / solo / arm, faders in dB, sends, EQ in Hz/dB, load effects by name, FX slot on/off and mix, peak meters, held peaks over playback, mix diagnosis, checkpoints, gain staging, stock FX chains

plugins

15

FPC pad map, search installed plugins, parameters get / set / search, set parameters in real units ("-6 dB", "2.5 kHz"), presets, editor windows

piano_roll

12

add or filter-edit notes, native slide and portamento, chords, quantize, transpose, humanize

playlist

10

tracks, markers

arrangement

5

select playlist sections, jump to markers

automation

5

record tempo, channel, mixer and plugin automation

project

11

snapshot, save, undo / redo, render and offline FLP inspection

ui

8

show / hide / focus windows, plugin picker (FL 2026), hints

generators

12

scales, chords, progressions, arpeggios, basslines, melodies, drum styles

voice

6

record + transcribe humming (mono or polyphonic), GUI

audio

8

analyse tempo / key / onsets / melody, slice, DnB flip, loudness and reference comparison

Full reference: docs/TOOLS.md.

Resources (read without a tool call): fl://status, fl://project, fl://transport, fl://channels, fl://mixer, fl://patterns, fl://playlist.

Index conventions (the server also tells the model this): channel indices are global and 0-based, pattern numbers are 1-based, mixer track 0 is Master.

Toolsets

Some clients cap the number of tools (or get worse with 160+ of them). Choose groups at startup with environment variables:

Variable

Example

Effect

FLMCP_TOOLSETS

lean · core · transport,mixer,piano_roll

Presets: all (188 supported tools), lean (52), core (29), mix (54). Add unsupported explicitly for legacy placeholders.

FLMCP_DISABLE_TOOLS

fl_call_raw,project_render

Remove individual tools.

FLMCP_USER_DATA_DIR

D:\Image-Line

FL's user data folder, when it isn't found automatically (registry, OneDrive Documents).

FLMCP_BRIDGE_DIR

The bridge folder, when it isn't under the user data folder.

fl_ping and fl_list_toolsets are always available; fl_list_toolsets shows what is enabled.

"flmcp": { "command": "uvx", "args": ["flmcp-studio"], "env": { "FLMCP_TOOLSETS": "lean" } }

How it compares

There are several FL Studio MCP servers, and each takes a different approach. This table is based on each project's README as of November 2026. Corrections are welcome.

fLMCP

karl-andres

rosasynthesiz

Rtur2003

Tools

188 by default in 15 groups (lean 52, core 29, mix 54)

61

90

14 multi-action tools (about 4k tokens)

Install

uvx flmcp-studio install from PyPI, the MCP Registry, a one-click .mcpb for Claude Desktop

from source

from git (the PyPI package is the older v1)

from source, fl-mcp onboard

Windows MIDI ports

one loopMIDI port, used only to wake the bridge; commands travel as files

loopMIDI

two loopMIDI ports

one loopMIDI port

Piano-roll notes

filtered edits, slide and portamento in project bars. Windows Tools menu and macOS repeat-script shortcut

hotkey, after one manual run

run MCP_Apply by hand once per session

opt-in desktop macro, or by hand

Load effects

by name, through FL's own API (ui.launchAudioEditor)

not possible, per its README

suggests; you load them

through UI automation

Patterns, playlist, arrangements

create, move or double patterns, step repeats, track/marker navigation, saved clip positions

notes and steps only (no pattern tools)

list, select, rename, length

as part of song generation

Mix analysis

mixer_diagnose, section peak watching, EQ in Hz/dB, stock FX chains, gain staging, BS.1770 loudness, tonal balance & reference match

—

Mix Doctor, gain staging, reference match, processing intents

fl_mix doctor / fix, BS.1770 loudness, real units

Automation recording

✅ tempo, channel, mixer and plugin

—

—

—

Undo / rollback

FL's undo history + server-side mix checkpoints with verified diff & restore

—

every change reversible, with a rollback log

undo

Voice and audio

hum into the mic → MIDI, file analysis, BS.1770 LUFS / True Peak / stereo, slicing, DnB flip

—

melody, chords and drums to MIDI from audio files

transcription, loudness, spectrum

Project files and rendering

read saved arrangements and sample paths offline, save live, render through FL’s CLI

—

—

writes .flp projects, renders from the command line

FL versions

2024, 2025, 2026 (checked live on 26.1)

20.7+

2025+ (tested on 26.1)

2024+ (checked live on 2025)

Tests

offline suite against FL's API stubs; CI on Windows, macOS and Linux with Python 3.10, 3.12 and 3.13

—

test suite and CI

fl-mcp selftest, a fake FL

For example, project_inspect_flp(path) reads a saved arrangement while FL is closed. Clip positions and lengths are in project ticks. In an open project, piano_roll_edit_notes can change only the hi-hats in a bar range, and channel_set_step_param can set repeats on an individual step.

Where others go further:

  • rosasynthesiz tracks every individual edit in a per-action rollback log and offers broader processing intents.

  • Rtur2003 generates .flp projects from scratch and keeps a compact 14-tool schema (~4k tokens).

  • CryptoJones edits .flp files offline.

  • giang17 runs on Linux under Wine.

Optional extras

Voice-to-MIDI and audio analysis need heavier libraries (numpy, librosa, sounddevice…). The core server never imports them; the tools return an install hint until they are present.

uvx --from "flmcp-studio[audio,gui]" flmcp install   # or: pip install "flmcp-studio[audio,gui]"

Polyphonic transcription (polyphonic=True: chords, strums, full mixes via Spotify Basic Pitch on the ONNX runtime):

pip install "flmcp-studio[polyphonic]"
pip install basic-pitch --no-deps   # its metadata pins a TensorFlow that has no 3.12 build

MP3 decoding needs ffmpeg on PATH.

Architecture

 AI app ──stdio──► flmcp server ──writes──► mcp_command.json ─┐
   ▲                   │                                       │  FL Studio
   │                   └─(optional) MIDI CC wake via loopMIDI / IAC ─┤  device_FLStudioMCP.py
   │                                                           │  OnIdle / OnMidiMsg
   └──────────── result ◄── mcp_response.json ◄── executes FL API on FL's main thread
                            mcp_heartbeat.json (≈1 s, liveness + versions)

 Piano roll:  server stages fLMCP_request.json → Tools menu → ComposeWithLLM.pyscript
              edits notes through flpianoroll → writes fLMCP_state.json
  • Why files? FL Studio 2025+ runs controller scripts in a sandboxed interpreter: no sockets, no threads, unreliable os file operations — but open() works. The bridge reads a command file when FL calls it back and writes the response. Commands carry a protocol version and unique id, stale commands from an earlier session are ignored, and calls are serialized with a cross-process lock.

  • Why MIDI wake? A CC 119 message on channel 16 sent to the fLMCP loopMIDI port or macOS IAC bus triggers OnMidiMsg immediately, so round-trips stay in the tens of milliseconds (median ≈ 40 ms measured on FL 2026). FL 2026 does not call the script's OnIdle at all in our tests, so there the wake port is required, not just faster.

  • Why a piano-roll script? flpianoroll (the only API that adds/removes notes) exists only inside piano-roll scripts, so the server stages a request and triggers the script with FL's script hotkey.

Details: docs/ARCHITECTURE.md · what FL's API can't do: docs/LIMITATIONS.md · FL 2026 API changes: docs/FL_API_2026.md.

Platform support

Windows

macOS

Controller bridge (transport, mixer, channels, plugins…)

✅

✅ (set FLMCP_BRIDGE_DIR if auto-detection fails)

MIDI wake (required on FL 2026)

✅ loopMIDI

CoreMIDI with an enabled IAC bus

flmcp install client registration

✅

✅

Automatic controller assignment

✅

manual

Piano-roll writing (script runs automatically)

✅

Best-effort Cmd+Opt+Y in frontmost FL. First run and permission fallback use the Tools menu.

Voice / audio tools

✅

✅

Windows controls were verified live on FL 26.1.7. On macOS 26.7.1, real CoreMIDI wake packet delivery, flmcp doctor, and the test suite (337 passed, 7 Windows-only skipped) pass natively; live macOS FL Studio session verification is tracked in #17.

Troubleshooting

Run flmcp doctor first — it checks the installed scripts (and whether they are outdated), the MIDI port and controller assignment, whether FL is running, the bridge heartbeat, a live ping and version mismatches. flmcp doctor --fix repairs missing or outdated scripts and sets up the Windows wake port. Close FL for automatic controller assignment. Add --install-loopmidi to request a winget installation.

Symptom

Fix

bridge offline / no heartbeat

FL isn't running or the controller isn't enabled. Close FL and re-run uvx flmcp-studio install, or set it by hand: Options → MIDI Settings → Input, Controller type fLMCP Bridge. Check View → Script output for [fLMCP] lines.

Calls time out or run twice

Doctor warns about several FL instances: they share the bridge folder and race for commands. Close all but one.

Calls time out while FL shows a dialog

A modal dialog (save prompt, plugin error, "Confirm") blocks FL's UI thread and the bridge with it. Close the dialog.

Doctor says the script is outdated

uvx flmcp-studio install, then restart FL (or MIDI Settings → Update scripts).

Commands are slow (~0.5–1 s)

Install loopMIDI and re-run flmcp install so the MIDI wake port exists.

Piano-roll edits don't apply

Pass channel so the tool opens that piano roll, and close any FL dialog. The result's note says why the script didn't run. As a last resort run Tools → Scripts → ComposeWithLLM in the piano roll yourself.

playlist_place_pattern returns an error

FL's API doesn't expose clip placement — see docs/LIMITATIONS.md.

voice_* / audio_* say a module is missing

Install the [audio] extra.

Upgrading from 0.3 (fl-studio-mcp)

uvx flmcp-studio install replaces the old fl-studio-mcp client entries and the old TCP bridge script.

Development

git clone https://github.com/geezoria/FLStudioMCP.git && cd FLStudioMCP
python -m venv .venv && .venv/Scripts/activate      # source .venv/bin/activate on macOS
pip install -e ".[dev]"
pytest && ruff check .
python -m fl_studio_mcp install --command python    # copy your working-tree bridge into FL

The test suite runs offline: the bridge transport is faked and the FL-side script is imported against the official FL API stubs. See CONTRIBUTING.md and AGENTS.md.

Credits

Earlier community projects that showed the way: karl-andres/fl-studio-mcp, ohhalim/flstudio-mcp, veenastudio/flstudio-mcp. Contributors are listed in CHANGELOG.md.

MIT licensed — see LICENSE.

Available Tools

188 tools
arrangement_clear_selectionClear Playlist SelectionA
Idempotent

Remove the active Playlist timeline loop selection in FL Studio.

Use after auditioning or diagnosing a bar range set with arrangement_set_selection so playback returns to the full song. Idempotent and safe when no selection is active.

Inputs: no named parameters. Returns: object

arrangement_currentCurrent ArrangementA
Read-onlyIdempotent

Read the active Playlist arrangement index and display name in FL Studio.

Use in multi-arrangement projects to verify which arrangement is open before diagnosing, marking, or seeking; FL Studio's public scripting API cannot enumerate or switch inactive arrangements (use project_inspect_flp offline on a saved .flp to list all arrangements). Read-only.

Inputs: no named parameters. Returns: object

arrangement_jump_markerJump to Timeline MarkerA

Move FL Studio's playhead to the next (+1) or previous (-1) Playlist timeline marker.

Use with playlist_list_markers (FL exposes marker names in order but not their bar positions); use transport_set_position to jump to an exact bar or second, or transport_jog for 16th-note nudges.

Inputs: direction. Returns: object

arrangement_play_timeRead Arrangement Playback TimeA
Read-onlyIdempotent

Read the active arrangement's current playhead time in ticks, bars, and seconds.

Use when inspecting timeline position relative to arrangements and markers; use transport_status if you also need playing/recording state, loop mode, and BPM. Read-only.

Inputs: no named parameters. Returns: object

arrangement_set_selectionSelect Playlist SectionA
Idempotent

Select a 1-based bar range [start_bar, end_bar) on FL Studio's Playlist timeline.

Use to loop a specific chorus/verse for playback, mixer_diagnose, or mixer_peak_watch; call arrangement_clear_selection afterward to remove the timeline selection. Converts bars using the project's current time signature; raises if end_bar <= start_bar.

Inputs: end_bar (required), start_bar (required). Returns: object

audio_analyzeAnalyze Audio FileA
Read-onlyIdempotent

Analyze an audio file offline to detect BPM, musical key, beat/onset timings, loudness, and optional MIDI melody notes.

Use before song_to_dnb_flip, audio_slice, or matching FL's project tempo and key to a sample; use audio_loudness_report for broadcast-grade BS.1770 mastering metrics, or voice_transcribe_file for standalone note transcription with pitch-range controls. Requires the [audio] extra (ok=False if missing or file not found).

Inputs: path (required), polyphonic, extract_melody. Returns: object

audio_compare_referenceCompare Mix to ReferenceA
Read-onlyIdempotent

Compare a rendered mix against a reference track across level-matched 6-band tonal balance, loudness, dynamics, and stereo width.

Deltas are computed as mix - reference with prioritized mixing suggestions. Use audio_loudness_report when inspecting a single file without a reference. Runs locally without FL Studio; requires the [audio] extra (ok=False if missing or either file does not exist).

Inputs: mix_path (required), reference_path (required). Returns: object

audio_loudness_reportMeasure Loudness and Stereo ImageA
Read-onlyIdempotent

Measure ITU-R BS.1770 gated LUFS, LRA, true peak (dBTP), crest factor, 6-band tonal balance, and stereo correlation of an audio file.

Pair with project_render to audit offline bounces, or use audio_compare_reference to compare your mix directly against a commercial reference track; use mixer_diagnose for live peak metering inside FL Studio. Runs locally (no FL needed); requires the [audio] extra (numpy, scipy, soundfile) and returns ok=False if missing.

Inputs: path (required), target_lufs. Returns: object

audio_melody_to_piano_rollTranscribe Audio to Piano RollA
Destructive

Transcribe melody or chords from an existing audio file directly into a channel's FL Studio Piano Roll.

Use for audio-file-to-MIDI conversion in one step; use voice_to_piano_roll for live microphone humming, voice_transcribe_file + voice_notes_to_piano_roll to review notes before writing, or piano_roll_add_notes for explicit MIDI note arrays. Requires the [audio] extra ([polyphonic] if polyphonic=True) and a valid target channel or open Piano Roll.

Inputs: path (required), bpm, channel, pattern, +5 more. Returns: object

audio_sliceSlice Audio FileA
Destructive

Chop an audio file at detected transient onsets and write up to max_slices individual WAV samples to disk.

Use to prepare sample chops from breaks or loops for dragging into FL Studio (FPC/Slicex/Channel Rack). Writes files to output_dir without modifying the open FL Studio project; requires the [audio] extra (ok=False if missing or file not found).

Inputs: path (required), max_slices, output_dir. Returns: object

automation_record_channel_panRecord Channel Pan AutomationA

Record live stereo pan automation (-1.0 left to +1.0 right) on a 0-based Channel Rack instrument.

Use for rhythmic auto-panning or stereo sweeps; use channel_set_pan for a fixed pan position. Arms FL's Record, plays live from the current playhead position while injecting REC events, and stops after the last point (auto-answers FL's Record prompt on Windows; revert with project_undo).

Inputs: points (required), channel (required). Returns: object

automation_record_channel_volumeRecord Channel Volume AutomationA

Record live pre-mixer volume automation (0.0..1.0) on a 0-based Channel Rack instrument.

Use for dynamic fades/swells on a channel; use channel_set_volume for a static level or automation_record_mixer_volume to automate the post-FX Mixer fader. Arms FL's Record, plays from the current playhead until the last time_bars point, and stops automatically (creates Song-mode automation clips or Pattern-mode events; auto-answers the Record prompt on Windows).

Inputs: points (required), channel (required). Returns: object

automation_record_mixer_volumeRecord Mixer Volume AutomationA

Record live post-FX fader automation (0.0..1.0, where 0.8 = 0 dB) on a Mixer track.

Use for dynamic mix rides, intro fade-ins, or drop boosts; use mixer_set_volume_db for static fader levels or automation_record_channel_volume for pre-FX channel automation. Arms FL's Record, plays from the current position until the final point, and stops (creates automation clips in Song mode; auto-answers Record prompt on Windows).

Inputs: track (required), points (required). Returns: object

automation_record_plugin_paramRecord Plugin Parameter AutomationA

Record live normalized automation (0.0..1.0) on any Channel Rack or Mixer FX plugin parameter.

Use for filter cutoff sweeps, reverb wet throws, or build-up risers; use plugin_set_param_value or plugin_set_param for a static setting. Arms FL's Record, plays live across points, and stops automatically (creates Song-mode automation clips or Pattern-mode events; auto-answers FL's Record prompt on Windows).

Inputs: param (required), points (required), channel (required), slot, +1 more. Returns: object

automation_record_tempoRecord Tempo AutomationA

Record a live master tempo automation curve into FL Studio across the given {time_bars, bpm} points.

Use for dynamic tempo ramps or drops; use transport_set_tempo for a single static project BPM. Arms FL's Record, plays from the current position (in Song mode creates automation clips; in Pattern mode writes into the looping pattern, so keep points within its length), and stops after the final point. Automatically answers FL's "What would you like to record?" prompt with "Notes and automation" on Windows; elsewhere answer it within 20 s and ensure FL's recording filter has Automation enabled.

Inputs: points (required). Returns: object

channel_allList ChannelsA
Read-onlyIdempotent

List every Channel Rack channel with its 0-based global index, name, controls, and mixer insert.

Use this or project_snapshot first to map instrument names (e.g. '808 Kick') to 0-based channel indices before editing steps, notes, or routing. Read-only.

Inputs: no named parameters. Returns: object

channel_clear_step_sequenceClear Step SequenceA
DestructiveIdempotent

Clear every step-sequencer hit on one channel in the active or specified pattern.

Use before replacing a rhythm with a shorter sequence; use piano_roll_clear to remove Piano Roll notes on a channel, or pattern_clear to wipe all channels in a pattern. Undoable via project_undo; raises if index or pattern is invalid.

Inputs: index (required), pattern. Returns: object

channel_countCount ChannelsA
Read-onlyIdempotent

Count the number of channels in FL Studio's Channel Rack.

Use global_count=True (default) to match the 0-based global indices expected by every channel_* tool; use channel_all when you also need names, volumes, and mixer routing. Read-only.

Inputs: global_count. Returns: object

channel_fill_stepsFill Sequencer StepsA
DestructiveIdempotent

Replace a channel's step sequence in the current pattern with evenly spaced hits every N steps.

Starts at step 0 and overwrites existing hits on that channel in the selected pattern (e.g. interval=4 for a 4-on-the-floor kick, interval=2 for 8th-note hats). Use channel_set_step_sequence for custom rhythms or gen_emit_drum_pattern_step_seq for multi-channel genre grooves.

Inputs: index (required), interval (required). Returns: object

channel_get_grid_bitRead Sequencer StepA
Read-onlyIdempotent

Check whether a single 0-based step-sequencer slot is active on a channel in the current pattern.

Use for a single-step lookup; prefer channel_get_step_sequence to read the whole pattern's step array in one call, or channel_get_step_params for velocity/repeat values. Read-only.

Inputs: index (required), position (required). Returns: object

channel_get_step_paramsRead Step ParametersA
Read-onlyIdempotent

Read Graph Editor per-step parameters (velocity, pitch, pan, shift, repeat) for one step.

Inspects a single 0-based step in the currently selected pattern; select the desired pattern with pattern_select first if needed. Pair with channel_set_step_param to edit values, or use channel_get_step_sequence to read only on/off hits. Read-only.

Inputs: step (required), index (required). Returns: object

channel_get_step_sequenceRead Step SequenceA
Read-onlyIdempotent

Read the full 0/1 step-sequencer array, step length, and 1-based pattern index for a channel.

Use to inspect or verify drum patterns written via channel_set_step_sequence or gen_emit_drum_pattern_step_seq; use piano_roll_read instead if the channel holds Piano Roll notes rather than step-sequencer hits. Read-only.

Inputs: index (required), pattern. Returns: object

channel_get_swingGet Channel Rack SwingA
Read-onlyIdempotent

Read FL Studio's global Channel Rack swing amount from 0.0 (straight) to 1.0 (maximum).

Applies rack-wide to step-sequenced patterns; pair with channel_set_swing to adjust it. Requires FL Studio 2026+ (returns ok=False on FL 2024/2025).

Inputs: no named parameters. Returns: object

channel_infoGet Channel DetailsA
Read-onlyIdempotent

Read volume, pan, pitch, mute/solo state, color, and mixer routing for one Channel Rack channel.

Use to inspect a single channel by 0-based global index; use channel_all or project_snapshot to fetch all channels at once, or mixer_track_info to inspect the destination mixer insert. Raises a tool error if index is out of range.

Inputs: index (required). Returns: object

channel_muteMute or Unmute ChannelA

Mute, unmute, or toggle an individual Channel Rack instrument by 0-based global index.

Pass muted=True/False for deterministic state or omit (None) to toggle. Use mixer_mute to mute a Mixer insert track, playlist_mute_track to mute a Playlist lane, or channel_solo to isolate one channel. Raises a tool error if index is invalid.

Inputs: index (required), muted. Returns: object

channel_quick_quantizeQuantize Channel Note StartsA
DestructiveIdempotent

Select a channel and snap its current-pattern note start times using FL Studio's Quick Quantize.

Use for instant native grid alignment without opening the Piano Roll; use piano_roll_quantize when you need a specific grid subdivision (e.g. 1/16, 1/8T) or partial quantization strength. Undoable with project_undo.

Inputs: index (required). Returns: object

channel_route_to_mixerRoute Channel to MixerA
Idempotent

Assign a Channel Rack instrument's audio output to a target Mixer track index.

Prefer this tool when routing a known 0-based channel directly to a Mixer insert; use mixer_link_to_channel to link via FL's Mixer linking action, or mixer_route to create Mixer-to-Mixer bus sends. Out-of-range mixer_track raises a tool error (validated before calling FL, which otherwise clamps silently).

Inputs: index (required), mixer_track (required). Returns: object

channel_selectSelect ChannelA
Idempotent

Select a Channel Rack channel by 0-based global index for editing or live MIDI input.

Use exclusive=True for single-channel focus or exclusive=False to build a multi-selection; use ui_scroll_to_channel to scroll without changing selection or ui_open_piano_roll_for_channel to open its Piano Roll. Raises if index is invalid.

Inputs: index (required), exclusive. Returns: object

channel_selectedGet Selected ChannelA
Read-onlyIdempotent

Return the 0-based global index and name of the currently selected Channel Rack channel.

Returns null values if no channel is selected. Use channel_select to focus a specific channel or channel_all to inspect all channels in the rack. Read-only.

Inputs: no named parameters. Returns: object

channel_set_colorSet Channel ColorA
Idempotent

Set the display color of a Channel Rack instrument by its 0-based global index.

Use mixer_set_color, pattern_set_color, or playlist_set_track_color to color tracks or patterns on other FL surfaces. Raises a tool error on invalid index or malformed color string.

Inputs: color (required), index (required). Returns: object

channel_set_grid_bitSet Sequencer StepA
DestructiveIdempotent

Enable or clear a single 0-based step-sequencer hit on a channel in the active pattern.

Use for surgical single-step tweaks; prefer channel_set_step_sequence to write an entire rhythm in one call or channel_fill_steps for regular intervals. Raises a tool error if index or position is out of range.

Inputs: index (required), value (required), position (required). Returns: object

channel_set_nameRename ChannelA
Idempotent

Rename a Channel Rack instrument by its 0-based global index.

Use mixer_set_name to rename a Mixer track, pattern_rename to rename a Pattern, or playlist_set_track_name to rename a Playlist lane. Raises a tool error if index is out of range.

Inputs: name (required), index (required). Returns: object

channel_set_panSet Channel PanA
Idempotent

Set a Channel Rack channel's stereo pan knob from -1.0 (left) to +1.0 (right).

Use to pan an instrument before mixer effects; use mixer_set_pan to pan the channel's destination Mixer track instead. Values outside -1.0..1.0 are clamped; undoable via project_undo, raises on out-of-range index.

Inputs: pan (required), index (required). Returns: object

channel_set_pitchSet Channel PitchA
Idempotent

Set a Channel Rack channel's live pitch knob offset in semitones.

Adjusts the channel's pitch-bend offset via FL's cents mode; use piano_roll_transpose to permanently shift note pitches in the Piano Roll instead. Clamped to the channel's configured pitch range; raises on invalid index.

Inputs: index (required), semitones (required). Returns: object

channel_set_step_paramSet Step ParameterA
DestructiveIdempotent

Set a Graph Editor parameter (velocity, pitch, pan, shift, or hi-hat repeat) on one sequencer step.

Operates on the currently selected pattern; use channel_set_grid_bit or channel_set_step_sequence to turn steps on first, and channel_get_step_params to read back. Raises a tool error on unsupported param, out-of-range index, or invalid value.

Inputs: step (required), index (required), param (required), value (required). Returns: object

channel_set_step_sequenceOverwrite Step SequenceA
DestructiveIdempotent

Overwrite a channel's step-sequencer grid from step 0 using a list of 0/1 values.

Overwrites steps 0..len(steps)-1 while leaving any later steps intact—call channel_clear_step_sequence first if shortening an existing pattern. Use gen_emit_drum_pattern_step_seq for preset multi-channel drum grooves, or piano_roll_add_notes for pitched melodies and chords.

Inputs: index (required), steps (required), pattern. Returns: object

channel_set_swingSet Channel Rack SwingA
Idempotent

Set FL Studio's global Channel Rack swing knob affecting all step-sequenced channels (FL Studio 2026+).

Use for groove-wide swing across step-sequencer rhythms; use piano_roll_humanize for subtle timing variation on individual piano-roll instruments. Values outside 0.0..1.0 are clamped; returns ok=False on FL 2024/2025.

Inputs: amount (required). Returns: object

channel_set_volumeSet Channel VolumeA
Idempotent

Set a Channel Rack channel's pre-mixer volume knob (0.0 to 1.0, where ~0.78 is default unity).

Use for pre-FX gain trimming at the instrument source; prefer mixer_set_volume_db for calibrated mixing in decibels on the destination Mixer track. Values are clamped to 0.0..1.0 and undoable via project_undo; raises if index is invalid.

Inputs: index (required), volume (required). Returns: object

channel_soloSolo or Unsolo ChannelA

Solo, unsolo, or toggle solo on a Channel Rack instrument by 0-based global index.

Soloing mutes all other Channel Rack instruments until unsoloed. Use channel_mute to silence only one channel, mixer_solo to solo a Mixer insert track, or playlist_solo_track to solo a Playlist lane. Raises if index is out of range.

Inputs: index (required), solo. Returns: object

channel_trigger_noteAudition Channel NoteA

Trigger a live preview note on a 0-based Channel Rack instrument without editing patterns.

Use to audition a sound or test a pitch; use piano_roll_add_notes to write permanent notes into a pattern. When duration_ms > 0 and velocity > 0, the MCP server waits up to 5000 ms and guarantees a follow-up note-off even on interruption.

Inputs: note (required), index (required), velocity, duration_ms. Returns: object

fl_batchRun Bridge Actions in OrderA
Destructive

Execute 1 to 32 ordered FL Studio bridge actions in a single MIDI wake tick.

Use to group bulk mixer, channel, or pattern edits for much lower latency than sequential tool calls; prefer single typed tools for one-off reads or writes, and save a checkpoint with mix_checkpoint_save or project_save_undo before large write batches. Actions are validated before dispatch; execution is not transactional, so earlier writes stay applied if a later action fails—inspect every item in results.

Inputs: actions (required). Returns: object

fl_bridge_infoGet FL Studio Bridge DetailsA
Read-onlyIdempotent

Retrieve detailed runtime metadata from the live FL Studio MIDI bridge.

Returns bridge version, FL Studio version, API version, protocol revision, and supported bridge action names. Use fl_ping for a quick health check including piano-roll script status, or fl_introspect to query FL's Python scripting modules. Returns ok=False with a hint if the MIDI bridge is offline.

Inputs: no named parameters. Returns: object

fl_call_rawCall FL Studio Bridge ActionA
Destructive

Invoke any low-level FL Studio MIDI bridge action directly with arbitrary parameters.

Escape hatch for bridge actions not exposed by a dedicated tool or when debugging; always prefer typed domain tools (transport_*, mixer_*, channel_*, plugin_*) for normal workflows and use fl_batch to combine multiple actions in one tick. Side effects, validation, and undoability depend on the target action; unknown actions or offline bridge state raise a tool error.

Inputs: action (required), params. Returns: object

fl_introspectInspect FL Studio Scripting APIA
Read-onlyIdempotent

List the Python scripting functions exposed by the currently running FL Studio build.

Use when checking whether the user's FL Studio version (2024, 2025, or 2026) supports a specific scripting API; prefer fl_bridge_info to check fLMCP bridge actions. Read-only; raises a tool error if the MIDI bridge is offline.

Inputs: module, search, include_docs. Returns: object

fl_list_toolsetsList fLMCP ToolsetsA
Read-onlyIdempotent

Report enabled fLMCP tool groups, presets, disabled tools, and startup configuration.

Use when a workflow needs tools that may be filtered out by FLMCP_TOOLSETS or FLMCP_DISABLE_TOOLS, or to guide users toward smaller presets (lean, core, mix). Runs locally on the MCP server without requiring FL Studio to be running.

Inputs: no named parameters. Returns: object

fl_pingCheck FL Studio Bridge HealthA
Read-onlyIdempotent

Check FL Studio MIDI bridge connectivity and piano-roll script availability.

Call this first at the start of a session to verify that FL Studio is running, check for bridge version mismatches, and list available capability groups. Use fl_bridge_info for low-level runtime details once online, or fl_reconnect to reset a stale transport handle; never raises when the bridge is offline.

Inputs: no named parameters. Returns: object

fl_reconnectReconnect FL Studio BridgeA
Idempotent

Reset the controller bridge client connection and return the refreshed health status.

Use after restarting FL Studio, reloading MIDI scripts, or recovering from a bridge timeout; prefer fl_ping for a read-only connectivity check without resetting handles. Clears cached local transport state and re-pings FL Studio without modifying the project; returns online=False with a setup hint if FL Studio is still unreachable.

Inputs: no named parameters. Returns: object

gen_chord_notesPreview Chord NotesA
Read-onlyIdempotent

Compute MIDI note numbers for a single chord voicing without modifying FL Studio.

Use to build custom voice-leading before calling piano_roll_add_chord or piano_roll_add_notes; use gen_emit_chord_progression to write a full progression directly. Pure Python; raises on invalid root or unknown quality.

Inputs: root, quality, inversion. Returns: object

gen_emit_arpeggioWrite Chord ArpeggioA
Destructive

Generate a multi-octave arpeggio from a named root and chord quality and write it into a Piano Roll.

Use when specifying a chord by music-theory name (root, quality, octaves); use piano_roll_add_arpeggio instead when you want to arpeggiate an arbitrary list of explicit MIDI note numbers without clearing existing notes. Defaults to clear_first=True; verify with piano_roll_read.

Inputs: channel (required), root, octaves, pattern, +6 more. Returns: object

gen_emit_basslineWrite BasslineA
Destructive

Generate a bassline following a progression's roots and write it into a channel's Piano Roll.

Pair with gen_emit_chord_progression using matching progression, scale, and bar_length; use piano_roll_add_notes for custom 808 glides (slide=True) or syncopated bass rhythms. Defaults to clear_first=True; verify with piano_roll_read.

Inputs: channel (required), root, scale, pattern, +4 more. Returns: object

gen_emit_chord_progressionWrite Chord ProgressionA
Destructive

Generate a preset Roman-numeral chord progression and write it into a channel's Piano Roll.

Use for quick diatonic progressions; use piano_roll_add_notes (with gen_chord_notes) for custom voicings, inversions, or non-diatonic harmony, and pair with gen_emit_bassline using the same progression/root/scale. Defaults to clear_first=True (replaces existing notes on channel); verify via piano_roll_read.

Inputs: channel (required), root, scale, pattern, +4 more. Returns: object

gen_emit_dnb_grooveWrite Drum & Bass GrooveA
Destructive

Write a 2-bar 32-step Drum & Bass breakbeat as GM MIDI drum notes into a channel's Piano Roll.

Distinct from the 1-bar general drum tools: writes authentic 2-bar DnB patterns (MIDI 36 kick, 38 snare, 42 closed-hat, 46 open-hat, 51 ride) into one Piano Roll drum channel. Use gen_emit_drum_pattern_step_seq for multi-channel Channel Rack step-sequencer genres (trap, house, boom_bap), gen_emit_drum_pattern_notes for 1-bar Piano Roll drum grooves, or song_to_dnb_flip to combine DnB drums with sub-bass and melody extracted from a song.

Inputs: style, channel, pattern, repeats, +1 more. Returns: object

gen_emit_drum_pattern_notesWrite Drum Notes to Piano RollA
Destructive

Write a 16-step drum groove as individual MIDI notes into the currently open single-channel Piano Roll.

Use this for single-channel multi-pad drum instruments (such as FPC—inspect pads with plugin_fpc_pads first—or when the MIDI bridge is offline). Prefer gen_emit_drum_pattern_step_seq when driving separate Kick/Snare/Hat Channel Rack samplers via the step sequencer, or gen_emit_dnb_groove for 2-bar 32-step Drum & Bass breakbeats. Open the target drum channel's Piano Roll first (ui_open_piano_roll_for_channel).

Inputs: style, repeats, midi_map, step_bars, +1 more. Returns: object

gen_emit_drum_pattern_step_seqWrite Drum Steps to SequencerA
DestructiveIdempotent

Write a 16-step genre drum groove into FL Studio's Channel Rack step sequencer across multiple drum channels.

Preferred drum writer whenever the MIDI bridge is online and each drum voice has its own Channel Rack sampler (e.g. 808 Kick, Clap, HiHat, Snare); follow up with channel_set_step_param to add hi-hat rolls (repeat) or velocity accents. Use gen_emit_drum_pattern_notes instead for single-channel Piano Roll drum kits (FPC) or offline bridge fallback, and gen_emit_dnb_groove for 2-bar DnB breakbeats.

Inputs: channel_map (required), style, pattern, repeats. Returns: object

gen_emit_melodyWrite Scale MelodyA
Destructive

Generate a stepwise in-key melody and write it into a channel's Piano Roll.

Use to sketch an instant scale-locked melody idea (supply seed to reproduce); use piano_roll_add_notes for exact hand-crafted melodies, voice_to_piano_roll for hummed melodies, or audio_melody_to_piano_roll for melodies extracted from audio files. Defaults to clear_first=True; verify with piano_roll_read.

Inputs: channel (required), root, seed, scale, +5 more. Returns: object

gen_list_chord_qualitiesList Chord QualitiesA
Read-onlyIdempotent

List all supported chord quality names (e.g. maj, min, maj7, min9, sus4).

Call before gen_chord_notes or gen_emit_arpeggio to pick a valid quality. Pure Python; runs locally without connecting to FL Studio.

Inputs: no named parameters. Returns: object

gen_list_dnb_stylesList Drum & Bass StylesA
Read-onlyIdempotent

List available 2-bar (32-step) Drum & Bass breakbeat styles (amen, think, modern, halftime).

Pass a returned style name to gen_emit_dnb_groove or song_to_dnb_flip; call gen_list_drum_patterns instead for general 1-bar genre beats (trap, house, boom_bap, etc.). Pure Python; runs locally without FL Studio.

Inputs: no named parameters. Returns: object

gen_list_drum_patternsList Drum PatternsA
Read-onlyIdempotent

List all built-in 16-step genre drum pattern style names (trap, house, boom_bap, etc.).

Pass a returned style name to gen_emit_drum_pattern_step_seq (for Channel Rack step-sequencer grids) or gen_emit_drum_pattern_notes (for Piano Roll drum kits); call gen_list_dnb_styles instead for specialized 2-bar Drum & Bass breakbeats.

Inputs: no named parameters. Returns: object

gen_list_progressionsList Chord ProgressionsA
Read-onlyIdempotent

List all built-in Roman-numeral chord progression templates (e.g. I-V-vi-IV, ii-V-I).

Call before gen_emit_chord_progression or gen_emit_bassline to choose a valid progression key. Pure Python; runs locally without connecting to FL Studio.

Inputs: no named parameters. Returns: object

gen_list_scalesList ScalesA
Read-onlyIdempotent

List all built-in musical scale names supported by the generator and voice scale-snap tools.

Call before gen_scale_notes, gen_emit_melody, gen_emit_chord_progression, or voice_to_piano_roll when you need a valid scale string. Pure Python; runs locally without connecting to FL Studio.

Inputs: no named parameters. Returns: object

gen_scale_notesPreview Scale NotesA
Read-onlyIdempotent

Compute ascending MIDI note numbers for a named musical scale without modifying FL Studio.

Use to inspect in-key pitches before composing custom note lists with piano_roll_add_notes; use gen_emit_melody to generate and write a melody directly. Pure Python; raises on invalid root or unknown scale.

Inputs: root, scale, octaves. Returns: object

mix_checkpoint_diffCompare Mix CheckpointsA
Read-onlyIdempotent

Report exact Mixer parameter, EQ, routing, and FX differences between a checkpoint and the live Mixer (or another checkpoint).

Use after mixing edits to review every changed track before committing or restoring with mix_checkpoint_restore. Read-only; raises a tool error if a checkpoint name does not exist.

Inputs: name (required), other. Returns: object

mix_checkpoint_listList Mix CheckpointsA
Read-onlyIdempotent

List all saved server-side mix checkpoints with their names, timestamps, track counts, and notes.

Use to find checkpoint names before calling mix_checkpoint_diff or mix_checkpoint_restore. Reads local checkpoint files without touching FL Studio.

Inputs: no named parameters. Returns: object

mix_checkpoint_restoreRestore Mix CheckpointA
Destructive

Restore Mixer faders, pan, EQ, routing, FX slot states, and plugin parameters to a saved checkpoint with readback verification.

Preview first with dry_run=True on large mixes. Always restore onto the same project the checkpoint was saved from. Because FL's API cannot remove loaded plugins, FX slots added after the checkpoint are bypassed rather than deleted; removing or replacing plugins requires FL Studio's UI.

Inputs: name (required), dry_run. Returns: object

mix_checkpoint_saveSave Mix CheckpointA

Capture a named server-side snapshot of all Mixer controls, routing, EQ, FX slots, and optional FX parameters.

Part of the mixer group's checkpoint workflow: call before major EQ, gain-staging, or FX-chain edits so you can inspect changes with mix_checkpoint_diff and roll back with verified readback via mix_checkpoint_restore (safer than repeated project_undo calls across many mixer tweaks). Fails if name is invalid or already exists.

Inputs: name (required), notes, include_plugin_params. Returns: object

mixer_all_tracksList Mixer TracksA
Read-onlyIdempotent

List FL Studio Mixer tracks with track indices (0 = Master), names, fader levels, and routing state.

Use this or project_snapshot to resolve Mixer track names to numeric indices. Defaults to active/named tracks so responses stay compact; pass include_empty=True to locate free inserts for new routing. Read-only.

Inputs: include_empty. Returns: object

mixer_apply_chainApply Stock FX ChainA
Destructive

Preview or apply a curated multi-plugin FL Studio stock FX chain onto a Mixer track with verified settings.

Preview with dry_run=True (default) first; applying (dry_run=False) saves an automatic pre-chain mix checkpoint, appends each plugin via mixer_load_effect, sets wet/dry mix and real-unit parameters, and reports per-step verification. Use mixer_load_effect instead to load a single custom or third-party VST plugin.

Inputs: chain (required), track (required), dry_run. Returns: object

mixer_armArm or Disarm Mixer TrackA

Arm, disarm, or toggle disk-recording arm state on an FL Studio Mixer track.

Controls which Mixer tracks render/record audio when recording in FL Studio; pair with transport_record to start/stop global recording. Raises a tool error if track is out of range.

Inputs: track (required), armed. Returns: object

mixer_countCount Mixer TracksA
Read-onlyIdempotent

Return total FL Studio Mixer track count (count, including Master at 0) and insert count (FL 2025.1+).

Use to check valid Mixer track bounds before routing or editing—FL 2026 projects can have fewer than 125 inserts (default template has 16). Use mixer_all_tracks to list track names and fader levels. Read-only.

Inputs: no named parameters. Returns: object

mixer_diagnoseDiagnose MixA
Read-onlyIdempotent

Analyze the entire FL Studio mix and return prioritized clipping, headroom, routing, solo, and FX findings with fix calls.

Best starting point for mixing assistance: checks Master clipping/headroom, hot inserts, unrouted tracks, stray solos, bypassed/off FX slots, muted active inserts, and channels routed straight to Master, returning evidence, fix, tool, and args for each issue. Pair with mix_checkpoint_save before applying fixes, or audio_loudness_report for integrated BS.1770 LUFS on a rendered file.

Inputs: end_bar, start_bar, listen_seconds. Returns: object

mixer_fx_slotsList Mixer FX SlotsA
Read-onlyIdempotent

List all 10 FX slots (0..9) on a Mixer track with plugin names, IDs, enable switches, and wet/dry mix.

Prefer this over plugin_list_mixer_track when you need per-slot enabled (bypass), mix (0..1 dry/wet), and the track-wide slots_enabled master FX switch; empty slots have plugin_id=-1. Pair with mixer_set_slot or mixer_load_effect.

Inputs: track (required). Returns: object

mixer_gain_stageStage Mixer GainA
Destructive

Measure held peaks across active Mixer tracks and compute or apply peak-based gain staging to target dBFS headroom.

Always preview with dry_run=True (default) first and get user approval before passing dry_run=False; applying automatically saves a pre-gain-stage mix checkpoint, adjusts inserts via mixer_set_volume_db, re-measures Master, adjusts Master, and verifies resulting peak headroom. Use mixer_set_volume_db instead for single-track fader adjustments.

Inputs: dry_run, end_bar, start_bar, listen_seconds, +2 more. Returns: object

mixer_get_eqRead Mixer EQA
Read-onlyIdempotent

Read all three built-in Mixer track EQ bands (0 = low, 1 = mid, 2 = high) in normalized and real units (dB, Hz).

Returns gain, frequency, bandwidth (normalized) plus gain_db (dB) and freq_hz (Hz) for each band. Pair with mixer_set_eq_band to adjust track EQ, or use plugin_params to inspect a loaded parametric EQ plugin. Raises on invalid track.

Inputs: track (required). Returns: object

mixer_list_chainsList Stock FX ChainsA
Read-onlyIdempotent

List built-in FL Studio stock FX chain recipes (names, purposes, plugins, slot mix, and real-unit targets).

Call this before mixer_apply_chain to choose an appropriate chain name (such as vocal, drum bus, bass, or master limiter chains). Runs locally without calling FL Studio.

Inputs: no named parameters. Returns: object

mixer_load_effectLoad Effect into Mixer TrackA

Load an effect plugin or .fst preset into the next free FX slot (0..9) of a Mixer track.

Use plugin_search(kind='effect') first if unsure of the exact plugin name, or mixer_apply_chain to load a curated multi-effect stock chain with checkpoints. Returns the 0-based slot index it landed in so you can tune it via plugin_set_param_value(..., location='mixer'); fails if all 10 slots are full or the preset cannot be resolved. (FL's API cannot load Channel Rack instruments.)

Inputs: track (required), plugin (required). Returns: object

mixer_muteMute or Unmute Mixer TrackA

Mute, unmute, or toggle an FL Studio Mixer track by index (0 = Master).

Pass muted=True/False for deterministic state or omit (None) to toggle. Use channel_mute to mute a Channel Rack instrument, playlist_mute_track to mute a Playlist lane, or mixer_solo to isolate one Mixer track. Raises if track is invalid.

Inputs: track (required), muted. Returns: object

mixer_peaksRead Mixer Peak MetersA
Read-onlyIdempotent

Take an instant snapshot of FL Studio Mixer peak meters (left/right linear, peak_db in dBFS, and clipping).

Use for a single instantaneous meter reading while FL is playing; prefer mixer_peak_watch to hold true max peaks over several seconds of playback, or mixer_diagnose for a full actionable mix health report. Linear 1.0 = 0 dBFS (above 1.0 clips). Read-only.

Inputs: track, include_silent. Returns: object

mixer_peak_watchWatch Mixer Peaks During PlaybackA
Read-onlyIdempotent

Monitor FL Studio playback for 1–120 seconds and return the maximum held peak (dBFS) per Mixer track.

Use when you need reliable held peak readings across a musical phrase or specific Playlist bar range; use mixer_peaks for a zero-wait instant snapshot or mixer_diagnose for full problem detection with fix recommendations. Temporarily starts/stops playback and restores original playhead, loop mode, and Playlist selection.

Inputs: play, end_bar, seconds, start_bar. Returns: object

mixer_routeEnable or Disable Mixer RouteA
Idempotent

Connect or disconnect an audio route (bus or sidechain send) between two Mixer tracks.

Use to build drum/vocal buses or reverb sends, then adjust gain with mixer_set_send_level; use channel_route_to_mixer instead to assign a Channel Rack instrument to an insert. Disconnecting a track from Master without another route silences it (flagged by mixer_diagnose); raises on out-of-range tracks.

Inputs: dst_track (required), src_track (required), enabled. Returns: object

mixer_selectSelect Mixer TrackA
Idempotent

Focus and highlight a single Mixer track in FL Studio's Mixer window.

Use to bring a track's FX rack and EQ into view for the user; note that other mixer_* tools take an explicit track parameter and do not require selecting the track first. Does not create an undo entry; raises if track is out of range.

Inputs: track (required). Returns: object

mixer_set_colorSet Mixer Track ColorA
Idempotent

Set the display color of an FL Studio Mixer track by index.

Use channel_set_color, pattern_set_color, or playlist_set_track_color for other FL Studio views. Raises a tool error on invalid track index or color syntax.

Inputs: color (required), track (required). Returns: object

mixer_set_eq_bandSet Mixer EQ BandA
Idempotent

Adjust one band (0 = low, 1 = mid, 2 = high) of a Mixer track's built-in 3-band EQ in real or normalized units.

Prefer gain_db (-18..+18 dB) and freq_hz (10..16000 Hz) over raw normalized gain/frequency; omit any field to keep its current value. Returns both normalized and real-unit readback; for surgical multi-band filtering, load Fruity Parametric EQ 2 via mixer_load_effect.

Inputs: band (required), track (required), gain, freq_hz, +3 more. Returns: object

mixer_set_nameRename Mixer TrackA
Idempotent

Rename an FL Studio Mixer track by index (0 = Master, 1..N = inserts).

Use channel_set_name for Channel Rack instruments, pattern_rename for Patterns, or playlist_set_track_name for Playlist lanes. Raises a tool error if track is invalid.

Inputs: name (required), track (required). Returns: object

mixer_set_panSet Mixer Track PanA
Idempotent

Set a Mixer track's stereo pan knob from -1.0 (left) to +1.0 (right).

Use to pan a post-FX Mixer bus or insert track; use channel_set_pan to pan an instrument pre-FX in the Channel Rack, or mixer_set_stereo_separation to widen or collapse stereo width to mono. Undoable via project_undo; raises on invalid track.

Inputs: pan (required), track (required). Returns: object

mixer_set_send_levelSet Mixer Send LevelA
Idempotent

Set the audio send level (0.0..1.0) along an active route between two Mixer tracks.

Enable the route with mixer_route first if the tracks are not yet connected; use channel_route_to_mixer to route a Channel Rack instrument to its initial Mixer insert. Clamped to 0.0..1.0; raises a tool error if either track index is out of range.

Inputs: level (required), dst_track (required), src_track (required). Returns: object

mixer_set_slotSet Mixer FX SlotA
Idempotent

Enable/bypass a single loaded Mixer FX slot (0..9) and/or set its wet/dry Mix knob (0.0..1.0).

Use mixer_set_slots_enabled to bypass all 10 slots on a track at once, or plugin_set_param_value to tune parameters inside the loaded effect. Reports the requested slot state (FL's mix readback lags within the same callback); raises on invalid track or slot.

Inputs: slot (required), track (required), mix, enabled. Returns: object

mixer_set_slots_enabledEnable or Bypass All FX SlotsA
Idempotent

Switch a Mixer track's master FX bypass button on (enabled=True) or off (enabled=False).

Use for quick A/B comparison of a track's full FX chain; use mixer_set_slot to bypass only one individual slot (0..9). Raises a tool error if track is invalid.

Inputs: track (required), enabled. Returns: object

mixer_set_stereo_separationSet Mixer Stereo SeparationA
Idempotent

Set a Mixer track's stereo separation knob from -1.0 (widest) to +1.0 (merged mono).

Use +1.0 to mono-sum sub-bass/kick tracks or negative values to widen pads/synths; use mixer_set_pan to move left/right balance. Clamped to -1.0..1.0 and undoable via project_undo; raises if track is out of range.

Inputs: track (required), separation (required). Returns: object

mixer_set_volumeSet Mixer Track VolumeA
Idempotent

Set a Mixer track's fader using FL Studio's normalized 0.0..1.0 position (0.8 = 0 dB unity).

Prefer mixer_set_volume_db whenever working in decibels (it verifies exact dB readback); use this tool only when matching a raw normalized fader value or channel_set_volume for pre-mixer channel gain. Clamped to 0.0..1.0, undoable via project_undo; raises if track is out of range.

Inputs: track (required), volume (required). Returns: object

mixer_set_volume_dbSet Mixer Track Volume in dBA
Idempotent

Set a Mixer track fader to an exact level in decibels and verify the result via readback.

Preferred over mixer_set_volume for all mixing tasks; use mixer_gain_stage to balance all inserts and Master automatically from measured peaks. Undoable via project_undo; returns actual volume_db, clamped, and verified (within 0.05 dB).

Inputs: db (required), track (required). Returns: object

mixer_soloSolo or Unsolo Mixer TrackA

Solo, unsolo, or toggle solo on an FL Studio Mixer track by index.

Soloing mutes all other Mixer inserts until unsoloed (left-on solos are flagged by mixer_diagnose). Use mixer_mute to silence one track, channel_solo for a Channel Rack instrument, or playlist_solo_track for a Playlist lane. Raises if track is out of range.

Inputs: track (required), solo. Returns: object

mixer_track_infoGet Mixer Track DetailsA
Read-onlyIdempotent

Read gain (normalized and dB), pan, mute/solo/arm, stereo separation, and FX slots for one Mixer track.

Use to inspect or verify a single Mixer track after edits; use mixer_all_tracks to overview all active inserts, mixer_get_eq for 3-band track EQ, or mixer_fx_slots for per-slot wet/dry mix and bypass switches. Raises if track is out of range.

Inputs: track (required). Returns: object

pattern_clearClear PatternA
Destructive

Remove all notes and step-sequencer hits from a 1-based pattern while keeping the pattern slot (FL Studio 2026+).

Use to empty an entire pattern across all channels; use piano_roll_clear or channel_clear_step_sequence to erase only one channel. Undoable via project_undo. Older FL builds return ok=False; builds that show a modal confirmation dialog return pending_confirmation=True until the user responds in FL Studio.

Inputs: index (required). Returns: object

pattern_cloneClone PatternA

Copy a 1-based FL Studio pattern's notes and step grid into another pattern and select the copy.

Use to create variations (e.g. Verse B from Verse A) without altering the original; use pattern_duplicate_data to double the musical length inside the same pattern, or pattern_create for a blank pattern. Providing dest_index overwrites that slot on FL 2026.1.1+ (revert with project_undo); returns {source_index, new_index, name}.

Inputs: index (required), new_name, dest_index. Returns: object

pattern_countCount PatternsA
Read-onlyIdempotent

Count non-empty or named FL Studio patterns and report the highest populated index.

Use for a lightweight count check; use pattern_list when you need each pattern's 1-based index, name, color, and step length, or pattern_current for the active selection. Read-only; raises a tool error if the bridge is offline.

Inputs: no named parameters. Returns: object

pattern_createCreate PatternA

Allocate and select the next empty FL Studio pattern slot, optionally naming it.

Use to start a fresh musical part without overwriting existing patterns; use pattern_clone to duplicate an existing pattern's notes and steps instead. Returns the new 1-based index and name.

Inputs: name. Returns: object

pattern_currentGet Current PatternA
Read-onlyIdempotent

Return the 1-based index and name of the currently selected FL Studio pattern.

Use before editing steps or piano-roll notes to confirm which pattern is active; use pattern_list to see all populated patterns or pattern_select to switch. Read-only.

Inputs: no named parameters. Returns: object

pattern_deleteDelete PatternA
Destructive

Clear a 1-based pattern's custom name (FL's scripting API cannot remove pattern slots).

Because FL Studio's public API cannot delete pattern objects or unlink clips, this resets the pattern name while leaving notes in place. Use pattern_clear (FL 2026+) to erase all notes and steps inside the pattern, or piano_roll_clear for one channel.

Inputs: index (required). Returns: object

pattern_duplicate_dataDuplicate Pattern DataA
Destructive

Repeat all notes and step data inside a 1-based pattern, doubling its length in place.

Use to turn a 2-bar pattern into a 4-bar pattern before editing the second half; use pattern_clone to copy a pattern into a separate pattern slot, or piano_roll_duplicate to duplicate notes on a single channel only. Undoable with project_undo; requires FL Studio 2026+ (ok=False on older builds).

Inputs: index (required). Returns: object

pattern_find_by_nameFind Pattern by NameA
Read-onlyIdempotent

Find a pattern's 1-based index by exact case-insensitive name match.

Use when you know a pattern's exact name; use pattern_list to browse all patterns or search partial names. Returns index=None and name=None when no pattern matches instead of raising an error.

Inputs: name (required). Returns: object

pattern_jump_to_nextSelect Next PatternA

Advance FL Studio's active selection to the next pattern index.

Use for sequential stepping through patterns; prefer pattern_select whenever you already know the target 1-based index or pattern_create to allocate a new blank pattern. Returns the newly selected 1-based pattern index and name.

Inputs: no named parameters. Returns: object

pattern_jump_to_previousSelect Previous PatternA

Move FL Studio's active selection backward to the previous pattern index.

Use for sequential stepping backward; prefer pattern_select whenever you already know the target 1-based index. Clamps at pattern 1 and returns the resulting index and name.

Inputs: no named parameters. Returns: object

pattern_listList PatternsA
Read-onlyIdempotent

List all populated FL Studio patterns plus the active pattern with indices, names, colors, and lengths.

Pattern indices are 1-based and lengths are reported in 16th-note steps (16 steps = one 4/4 bar). Use this or project_snapshot to resolve pattern names to indices, or pattern_find_by_name for an exact single-name lookup. Read-only.

Inputs: no named parameters. Returns: object

pattern_moveMove Selected PatternsA
Destructive

Reorder FL Studio's currently selected patterns one slot up or down in the pattern list.

Select the target pattern with pattern_select first. Reordering shifts pattern indices in the project—call pattern_list afterward to refresh index mappings. Requires FL Studio 2026+ (returns ok=False on older builds).

Inputs: direction (required). Returns: object

pattern_renameRename PatternA
Idempotent

Rename an existing FL Studio pattern by its 1-based index.

Use to organize patterns cleanly in the Picker Panel; use channel_set_name for Channel Rack instruments, mixer_set_name for Mixer tracks, or playlist_set_track_name for Playlist lanes. Raises a tool error if index is invalid.

Inputs: name (required), index (required). Returns: object

pattern_selectSelect PatternA
Idempotent

Switch FL Studio's active pattern selection to a 1-based pattern index.

Use before step-sequencer edits or to focus an existing pattern; use pattern_create to allocate a fresh empty pattern or pattern_jump_to_next/pattern_jump_to_previous for relative stepping. Raises a tool error if index is out of range (must be >= 1).

Inputs: index (required). Returns: object

pattern_set_colorSet Pattern ColorA
Idempotent

Set the display color of an FL Studio pattern by its 1-based index.

Use for visual grouping in the Pattern Picker and Playlist; use channel_set_color, mixer_set_color, or playlist_set_track_color for other surfaces. Raises a tool error on invalid pattern index or unparseable color string.

Inputs: color (required), index (required). Returns: object

pattern_set_lengthSet Pattern LengthA
Idempotent

Set a 1-based pattern's loop length in bars, beats, or 16th-note steps (FL Studio 2026+).

Supply exactly one of bars, beats, or steps (passing zero or multiple raises a tool error). Returns the resulting length in steps, beats, and bars. On FL 2024/2025 where this API is unavailable, returns ok=False with a hint—extend notes or the step grid instead.

Inputs: index (required), bars, beats, steps. Returns: object

piano_roll_add_arpeggioAdd Piano Roll ArpeggioA

Append a sequenced arpeggio built from explicit MIDI pitches directly into a Piano Roll.

Use when you already have exact MIDI pitches; prefer gen_emit_arpeggio to generate an arpeggio automatically across a named key, scale, and chord progression. Appends without clearing existing notes; verify with piano_roll_read.

Inputs: midi_notes (required), channel, pattern, repeats, +5 more. Returns: object

piano_roll_add_chordAdd Piano Roll ChordA

Append one simultaneous chord of MIDI pitches to a channel's Piano Roll at time_bars.

Use to insert a single custom voicing; use gen_emit_chord_progression for a full multi-bar progression or piano_roll_add_notes to write multiple chords in one call. Appends without clearing existing notes; undoable via project_undo.

Inputs: midi_notes (required), channel, pattern, velocity, +3 more. Returns: object

piano_roll_add_notesAdd Piano Roll NotesA
Destructive

Write an explicit list of custom MIDI notes directly into a channel's FL Studio Piano Roll.

Use for bespoke melodies, custom chord voicings, or exact note arrays; prefer piano_roll_add_chord for a single chord, gen_emit_* for musical generators, voice_to_piano_roll / voice_notes_to_piano_roll for hummed melodies, or audio_melody_to_piano_roll for audio-file transcription. Pass channel (and pattern) so FL opens the target Piano Roll automatically; verify afterward with piano_roll_read and undo with project_undo.

Inputs: notes (required), channel, pattern, clear_first. Returns: object

piano_roll_clearClear Piano RollA
DestructiveIdempotent

Delete every note from a single channel's Piano Roll in the active or specified pattern.

Always pass channel (and pattern) to avoid wiping the wrong instrument. Use piano_roll_delete_notes to remove individual notes, channel_clear_step_sequence for step-sequencer grids, or pattern_clear to wipe every channel in a pattern. Undoable via project_undo.

Inputs: channel, pattern. Returns: object

piano_roll_delete_notesDelete Matching Piano Roll NotesA
DestructiveIdempotent

Remove specific notes matching {midi, time_bars} from a channel's Piano Roll.

Read exact pitches and time_bars with piano_roll_read first to target the right notes; use piano_roll_clear to erase every note in the channel's Piano Roll at once. Undoable via project_undo.

Inputs: notes (required), channel, pattern. Returns: object

piano_roll_duplicateDuplicate Piano Roll NotesA

Copy all Piano Roll notes starting within [source_time_bars, source_time_bars + length_bars) to dest_time_bars.

Use to extend a phrase on one channel (e.g. copying bars 0–2 to bars 2–4 before adding a variation); use pattern_duplicate_data to double every channel in the entire pattern at once. Appends at dest_time_bars without clearing existing notes.

Inputs: length_bars (required), dest_time_bars (required), source_time_bars (required), channel, +1 more. Returns: object

piano_roll_edit_notesEdit Matching Piano Roll NotesA
Destructive

Modify velocity, timing, duration, pitch, or native FL attributes on filtered Piano Roll notes in place.

Preserves all untouched FL Studio note fields and requires an explicit target (channel or open Piano Roll); use piano_roll_transpose to shift all notes by semitones quickly, piano_roll_quantize for grid snapping, or piano_roll_delete_notes to remove notes. Raises if updates has no fields set.

Inputs: updates (required), channel, filters, pattern. Returns: object

piano_roll_humanizeHumanize Piano Roll NotesA
Destructive

Add controlled random timing and velocity micro-variations to Piano Roll notes for natural feel.

Use after quantized note entry or generators to soften robotic phrasing; use channel_set_swing for rhythmic swing across step-sequenced patterns, or piano_roll_quantize to tighten timing back toward the grid. Undoable via project_undo.

Inputs: channel, pattern, velocity_jitter, timing_jitter_bars. Returns: object

piano_roll_quantizeQuantize Piano Roll NotesA
Destructive

Snap Piano Roll note start times toward a bar-based musical grid with configurable strength.

Use when you need a specific grid subdivision or partial groove-preserving strength; use channel_quick_quantize for instant native FL quantize without opening the Piano Roll, or piano_roll_humanize to add subtle timing feel. Undoable via project_undo.

Inputs: channel, pattern, strength, grid_bars. Returns: object

piano_roll_readRead Piano Roll NotesA
Read-onlyIdempotent

Read all notes currently in a channel's Piano Roll with pitches, bar/quarter timing, duration, and velocity.

Call before appending or editing notes (to avoid collisions) and after any write to verify results; use channel_get_step_sequence instead for Channel Rack step sequencer grids. Runs ComposeWithLLM.pyscript in read-only export mode (5 s wait); if ok=False, inspect the returned note (on macOS without Accessibility permission, trigger Tools > Scripts > ComposeWithLLM once in FL).

Inputs: channel, pattern. Returns: object

piano_roll_statusCheck Piano Roll BridgeA
Read-onlyIdempotent

Check whether the ComposeWithLLM.pyscript Piano Roll bridge is installed and inspect its last state.

Use to diagnose Piano Roll script setup or check the last execution output without triggering FL Studio; use fl_ping to check both the MIDI bridge and Piano Roll script together. Read-only and runs locally.

Inputs: no named parameters. Returns: object

piano_roll_transposeTranspose Piano Roll NotesA
Destructive

Transpose every note in a channel's Piano Roll up or down by an integer number of semitones.

Use to shift an entire melodic or chord part to a new key or octave; use piano_roll_edit_notes with filters + transpose to shift only selected notes, or channel_set_pitch to adjust the live pitch knob without moving MIDI notes. Notes clamp to MIDI 0..127; undoable via project_undo.

Inputs: semitones (required), channel, pattern. Returns: object

playlist_add_markerAdd Timeline MarkerA

Insert a named time marker on FL Studio's Playlist timeline at a bar offset.

Use to label arrangement sections for navigation with arrangement_jump_marker and playlist_list_markers. Note: FL's public API cannot delete markers once added (undo with project_undo or remove in FL's Playlist header).

Inputs: position_bars (required), name. Returns: object

playlist_all_tracksList Playlist TracksA
Read-onlyIdempotent

List FL Studio Playlist track lanes with 1-based indices, names, colors, and mute/solo states.

Omits unnamed tracks by default to keep responses compact; pass include_empty=True to inspect blank lanes. Note: FL's live scripting API cannot enumerate or edit Playlist clips—use project_inspect_flp on a saved .flp to read clip placements offline.

Inputs: include_empty. Returns: object

playlist_list_markersCheck Timeline Marker AvailabilityA
Read-onlyIdempotent

List all Playlist timeline marker names in chronological order starting at index 0.

FL Studio's live scripting API exposes marker names in order but not their bar positions—use arrangement_jump_marker to navigate between them live, or project_inspect_flp on a saved .flp to read exact marker tick positions offline.

Inputs: no named parameters. Returns: object

playlist_mute_trackMute or Unmute Playlist TrackA

Mute, unmute, or toggle a 1-based Playlist track lane in FL Studio.

Mutes clips placed on that Playlist lane during Song-mode playback. Use mixer_mute to mute a Mixer audio track or channel_mute to mute a Channel Rack instrument; use playlist_solo_track to isolate one lane. Raises if track is out of range.

Inputs: track (required), muted. Returns: object

playlist_refreshRefresh Playlist DisplayA
Idempotent

Force FL Studio to repaint the Playlist window after bulk track or marker updates.

Call after renaming/coloring multiple Playlist lanes if FL's UI lags visually. Idempotent and does not alter project audio or undo history.

Inputs: no named parameters. Returns: object

playlist_set_track_colorSet Playlist Track ColorA
Idempotent

Set the display color of a 1-based Playlist track lane in FL Studio.

Use channel_set_color, mixer_set_color, or pattern_set_color for other FL Studio surfaces. Raises a tool error on invalid track index or unparseable color.

Inputs: color (required), track (required). Returns: object

playlist_set_track_nameRename Playlist TrackA
Idempotent

Rename a 1-based Playlist track lane in FL Studio.

Use channel_set_name for Channel Rack instruments, mixer_set_name for Mixer insert tracks, or pattern_rename for Patterns. Raises a tool error if track is out of range (< 1).

Inputs: name (required), track (required). Returns: object

playlist_solo_trackSolo or Unsolo Playlist TrackA

Solo, unsolo, or toggle solo on a 1-based Playlist track lane in FL Studio.

Soloing mutes all other Playlist lanes during Song-mode playback. Use mixer_solo to solo a Mixer track or channel_solo to solo a Channel Rack instrument. Raises a tool error if track is out of range.

Inputs: track (required), solo. Returns: object

playlist_track_countCount Playlist TracksA
Read-onlyIdempotent

Return the total number of Playlist track lanes in the current FL Studio project.

Use for bounds checks on 1-based Playlist track indices; use playlist_all_tracks to list named/active tracks with mute, solo, and color metadata. Read-only.

Inputs: no named parameters. Returns: object

playlist_track_infoGet Playlist Track DetailsA
Read-onlyIdempotent

Read name, color, mute/solo state, and display height for one 1-based Playlist track.

Use for a single Playlist lane lookup; use playlist_all_tracks to fetch all active lanes at once, or mixer_track_info for Mixer audio tracks. Raises a tool error if track is out of range (must be >= 1).

Inputs: track (required). Returns: object

plugin_find_paramFind Plugin Parameters by NameA
Read-onlyIdempotent

Search a loaded plugin's automatable parameters by case-insensitive name substring.

Fastest way to find the 0-based param index needed for plugin_set_param_value or plugin_set_param without dumping hundreds of synth parameters via plugin_params. Returns an empty list if no parameter name matches; raises if the slot is empty.

Inputs: index (required), name_contains (required), slot, location. Returns: object

plugin_fpc_padsRead FPC Drum PadsA
Read-onlyIdempotent

Read pad count, mapped MIDI note numbers, colors, empty flags, and mute states from an FPC drum channel.

Use before writing piano-roll drum notes (gen_emit_drum_pattern_notes or piano_roll_add_notes) onto an FPC channel so every drum hit targets the exact populated pad MIDI notes. Returns a structured error if index does not host FPC.

Inputs: index (required). Returns: object

plugin_get_paramRead Plugin ParameterA
Read-onlyIdempotent

Read one plugin parameter's current normalized value (0.0..1.0) and FL display string (e.g. '-6.0 dB').

Use to inspect or verify a single parameter after calling plugin_set_param or plugin_set_param_value; use plugin_params to read many parameters at once. Raises a tool error if the plugin slot is empty or param is out of range.

Inputs: index (required), param (required), slot, location. Returns: object

plugin_is_validCheck Plugin SlotA
Read-onlyIdempotent

Verify whether a valid plugin is loaded at a specific Channel Rack channel or Mixer FX slot.

Use before reading or modifying parameters when unsure if a slot is occupied; prefer mixer_fx_slots or plugin_list_mixer_track to inspect all 10 slots of a Mixer track at once, or plugin_name to read the loaded plugin's display name. Returns valid=False for empty slots without raising; raises if index is out of range.

Inputs: index (required), slot, location. Returns: object

plugin_list_mixer_trackList Mixer Track PluginsA
Read-onlyIdempotent

List every loaded plugin name and 0-based FX slot index (0..9) on one Mixer track.

Use as a compact lookup of what effects are loaded on a track; prefer mixer_fx_slots when you also need each slot's enabled bypass flag, wet/dry mix level, and the track-wide slots_enabled switch. Raises on invalid track.

Inputs: track (required). Returns: object

plugin_nameGet Plugin NameA
Read-onlyIdempotent

Retrieve the display name of the plugin loaded at a Channel Rack index or Mixer FX slot.

Pass location='channel' with a 0-based channel index (and slot=-1) for an instrument, or location='mixer' with a Mixer track index (0 = Master) and slot 0..9 for an effect. Use plugin_list_mixer_track to inspect every FX slot on a Mixer track in one call, or plugin_search to browse installed plugins not yet loaded. Returns an empty/null name or error if the slot is empty or index is invalid.

Inputs: index (required), slot, location. Returns: object

plugin_next_presetLoad Next Plugin PresetA
Destructive

Advance a loaded channel or mixer plugin to its next built-in preset, overwriting current parameter tweaks.

FL's public scripting API exposes only relative preset stepping (plugin_next_preset / plugin_prev_preset), not jumping to a named preset. Save a mix_checkpoint_save first for mixer FX so you can roll back if the preset sounds worse. Raises if empty.

Inputs: index (required), slot, location. Returns: object

plugin_param_countCount Plugin ParametersA
Read-onlyIdempotent

Return the total count of automatable parameters exposed by a loaded channel or mixer plugin.

Use to gauge parameter count before paginating with plugin_params; prefer plugin_find_param directly when you already know a keyword like 'wet', 'cutoff', or 'threshold'. Raises a tool error if the target slot is empty or out of range.

Inputs: index (required), slot, location. Returns: object

plugin_paramsList Plugin ParametersA
Read-onlyIdempotent

List a plugin's automatable parameters with 0-based indices, names, normalized values, and display strings.

Use to browse a plugin's full control surface (paginate with offset/limit on large synths); prefer plugin_find_param when searching for a specific control by name, or plugin_get_param to read back one known index. Raises if the slot is empty.

Inputs: index (required), slot, limit, offset, +1 more. Returns: object

plugin_preset_countCount Plugin PresetsA
Read-onlyIdempotent

Return the number of built-in presets exposed by a loaded channel or mixer plugin.

Use before cycling presets with plugin_next_preset or plugin_prev_preset (some third-party VSTs report 0 presets to FL's scripting API). Read-only; raises if the target slot is empty or out of range.

Inputs: index (required), slot, location. Returns: object

plugin_prev_presetLoad Previous Plugin PresetA
Destructive

Step a loaded channel or mixer plugin back to its previous built-in preset, overwriting current parameters.

Pair with plugin_next_preset and plugin_preset_count. Consider saving a mix_checkpoint_save first for mixer FX before changing presets. Raises if empty.

Inputs: index (required), slot, location. Returns: object

plugin_set_paramSet Plugin ParameterA
Idempotent

Set a plugin parameter using a raw normalized float between 0.0 and 1.0.

Prefer plugin_set_param_value whenever you want real-world units like '-3 dB', '120 Hz', or '35%'; use this tool for stepped switches, non-numeric modes, or exact normalized positions, and use automation_record_plugin_param to record time-varying ramps. Raises a tool error if the slot is empty or param is out of range.

Inputs: index (required), param (required), value (required), slot, +1 more. Returns: object

plugin_set_param_valueSet Plugin Parameter in Real UnitsA
Idempotent

Set a plugin parameter directly in its displayed real-world units (dB, Hz, ms, %) via binary search.

Preferred over plugin_set_param for continuous musical parameters: the bridge bisects the normalized value against FL's live display string and returns value_string, verified (within 1%), and clamped (if outside range). Stepped or non-numeric parameters return verified=False—use plugin_set_param for those.

Inputs: index (required), param (required), target (required), slot, +1 more. Returns: object

plugin_show_editorShow or Hide Plugin EditorA

Open, close, or toggle the GUI editor window of a specific Channel Rack or Mixer FX plugin.

Pass show=True/False for deterministic visibility or omit (None) to toggle. Use ui_show_window / ui_hide_window for FL's main panels (Mixer, Piano Roll, Playlist). Note: focusing a plugin with its own transport (like Edison) can capture spacebar playback until another window is focused.

Inputs: index (required), show, slot, location. Returns: object

project_inspect_flpInspect Saved FL Studio ProjectA
Read-onlyIdempotent

Parse a saved .flp project file offline without requiring FL Studio to be open.

Returns PPQ, tempo, channels and sample paths, patterns, mixer track names, arrangements, numbered Playlist tracks, clip placements, and marker tick positions— filling gaps that FL's live scripting API cannot expose (such as Playlist clips and marker coordinates). Use project_snapshot instead for live unsaved FL Studio state. Raises a tool error if path does not exist or is not a valid FLP file.

Inputs: path (required). Returns: object

project_metadataRead Project OverviewA
Read-onlyIdempotent

Read project title/author/genre (FL 2026+), tempo, PPQ, counts, selection, and transport state.

Lighter alternative to project_snapshot when you only need top-level project counters, tempo, and time signature without listing every channel, pattern, and mixer track. Read-only.

Inputs: no named parameters. Returns: object

project_redoRedo Project EditA
Destructive

Step forward one entry on FL Studio's project undo stack to re-apply an undone edit.

Pair with project_undo and project_undo_history. Has no effect when already at the top of the undo history.

Inputs: no named parameters. Returns: object

project_renderRender Project AudioA
Destructive

Render a saved .flp project to WAV, MP3, FLAC, or OGG using FL Studio's CLI while interactive FL is closed.

Use to bounce audio offline for audio_loudness_report or audio_compare_reference. Interactive FL Studio must be closed first (otherwise FL exits silently without writing audio—this tool detects a running FL process and reports it clearly). Forced pattern-only bounces and split mixer stems require FL Studio's GUI Export dialog.

Inputs: mode, path, format, flp_path, +3 more. Returns: object

project_saveSave Current ProjectA
DestructiveIdempotent

Trigger FL Studio's Save command for the currently open project file.

Overwrites the current .flp on disk (if the project is untitled, FL Studio opens a Save As dialog that pauses the bridge until the user responds). Use project_save_as to prompt for a new filename, or mix_checkpoint_save for a reversible in-session mixer snapshot.

Inputs: no named parameters. Returns: object

project_save_asSave Project AsA
Destructive

Open FL Studio's Save As dialog so the user can save the project to a new .flp path.

Use project_save to save in place without prompting. Because FL Studio's modal Save As dialog blocks bridge callbacks until dismissed, tell the user to confirm the filename in FL Studio before sending further tool calls.

Inputs: path (required). Returns: object

project_save_undoCreate Undo CheckpointA

Push a named checkpoint onto FL Studio's native undo stack before a multi-step edit.

Use before bulk channel, pattern, or automation changes so the user can undo back to a labeled state via project_undo; for mixer-specific snapshots with diffing and verified readback rollback, prefer mix_checkpoint_save.

Inputs: name (required), flags. Returns: object

project_snapshotRead Project SnapshotA
Read-onlyIdempotent

Read project metadata, transport state, patterns, channel routing, and active mixer tracks in one call.

Best first read-only call after fl_ping to orient on a live project without issuing four separate calls; use project_metadata for a lighter summary or project_inspect_flp to inspect Playlist clips and markers in a saved .flp offline.

Inputs: no named parameters. Returns: object

project_undoUndo Project EditA
Destructive

Step backward one entry on FL Studio's project undo stack.

Use to revert a recent tempo, volume, piano-roll, or pattern edit; use project_redo to re-apply an undone step, project_undo_history to inspect stack depth, or mix_checkpoint_restore to roll back a multi-step mixing session cleanly.

Inputs: no named parameters. Returns: object

project_undo_historyRead Project Undo HistoryA
Read-onlyIdempotent

Read FL Studio's undo stack count, current position, and latest undo entry description.

Use before calling project_undo or project_redo to verify what edit will be reverted, or after project_save_undo to confirm a checkpoint was recorded. Read-only.

Inputs: no named parameters. Returns: object

project_versionGet FL Studio VersionA
Read-onlyIdempotent

Return the running FL Studio application version string and scripting API version number.

Use to check FL 2024 vs 2025 vs 2026 compatibility (API 45+ enables pattern length/ clear/move, float tempo, channel swing, and plugin mute); use fl_introspect to check individual FL scripting functions or fl_bridge_info for bridge diagnostics.

Inputs: no named parameters. Returns: object

song_to_dnb_flipCreate Drum & Bass FlipA
Destructive

Analyze a source audio track and build a multi-layer Drum & Bass remix sketch (drums, root sub-bass, and key-snapped melody) in FL Studio.

All-in-one remix workflow combining audio_analyze, gen_emit_dnb_groove, root sub-bass, and audio_melody_to_piano_roll, routing each layer to its own channel when drum_channel/bass_channel/melody_channel are supplied. Does not change FL Studio's live project tempo automatically—follow up with transport_set_tempo to audition at target_bpm. Requires the [audio] extra ([polyphonic] if polyphonic=True).

Inputs: audio_path (required), channel, pattern, dnb_bars, +9 more. Returns: object

transport_jogNudge PlayheadA

Shift FL Studio's playhead relative to its current position by 16th-note steps.

Use for small relative nudges; use transport_set_position to jump to an exact bar, second, or tick offset, or arrangement_jump_marker to step between timeline markers. Clamped at the beginning of the song; does not create an undo entry.

Inputs: steps (required). Returns: object

transport_playToggle PlaybackA

Start or toggle song/pattern playback in FL Studio (Play/Pause button).

Check transport_status first if you need to avoid accidentally pausing an active transport, and use transport_stop to halt playback and reset the playhead. Switches focus away from plugins with their own transport (such as Edison) so the main FL Studio transport responds; raises a tool error if the bridge is offline.

Inputs: no named parameters. Returns: object

transport_recordToggle RecordingA

Toggle FL Studio's global record arm state on or off.

Check transport_status before toggling and use transport_set_recording_options to configure precount, metronome, or loop-recording switches beforehand. Arming may open FL Studio's modal "What would you like to record?" prompt, which blocks all further bridge edits until answered in FL; on Windows, the response flags record_prompt_open=True with recovery guidance.

Inputs: no named parameters. Returns: object

transport_recording_optionsRead Recording OptionsA
Read-onlyIdempotent

Read FL Studio's global recording toolbar switches (metronome, precount, loop record, step edit).

Returns boolean states for metronome, countdown (precount), wait_for_input, loop_record, and step_edit (null where the running FL version lacks a getter; overdub has no getter in FL). Pair with transport_set_recording_options to change them.

Inputs: no named parameters. Returns: object

transport_set_loop_modeSelect Song or Pattern ModeA
Idempotent

Switch FL Studio between Song (Playlist) mode and Pattern loop mode.

Use 'pattern' when auditioning channel-rack grooves or piano-roll edits on one pattern, and 'song' when checking full playlist arrangements or running mixer_diagnose over a song section. Idempotent; raises on invalid mode or offline bridge.

Inputs: mode (required). Returns: object

transport_set_playback_speedSet Playback SpeedA
Idempotent

Set FL Studio's temporary playback speed multiplier without changing project BPM.

Use to audition fast passages slowly (e.g. 0.5) or skim long arrangements (e.g. 2.0); use transport_set_tempo to permanently change the project's BPM. Values outside 0.25..4.0 are clamped by the bridge.

Inputs: speed (required). Returns: object

transport_set_positionSeek PlayheadA
Idempotent

Move FL Studio's playhead to an absolute position in bars, seconds, or ticks.

Use for absolute seeking and auditioning sections; use transport_jog for small relative 16th-note nudges or arrangement_jump_marker to jump between timeline markers. Does not start playback and does not create an undo entry; returns the resulting position in bars.

Inputs: position (required), unit. Returns: object

transport_set_recording_optionsSet Recording OptionsA

Explicitly enable or disable FL Studio's recording toolbar switches in one call.

Prefer this over transport_toggle_metronome and transport_toggle_countdown_before_recording whenever you want deterministic on/off states; omit any parameter to keep its current value. Reports the requested new states because FL's getters lag until the callback completes.

Inputs: countdown, metronome, step_edit, loop_record, +2 more. Returns: object

transport_set_tempoSet Project TempoA
Idempotent

Set the FL Studio project tempo to an exact BPM value.

Prefer this over transport_tap_tempo whenever a target BPM is known, and read transport_status afterward to verify. Records a proper undo entry via FL's REC event system (revert with project_undo); out-of-range values are clamped.

Inputs: bpm (required). Returns: object

transport_set_time_signatureSet Project Time SignatureA
Idempotent

Set the FL Studio project's time signature numerator and denominator.

Affects bar-to-tick conversions across piano_roll_*, pattern_set_length, and arrangement_set_selection. On FL versions where direct time-signature setters are restricted, returns ok=False with a hint; verify with project_metadata.

Inputs: numerator (required), denominator (required). Returns: object

transport_song_lengthRead Song LengthA
Read-onlyIdempotent

Read total length of the current FL Studio song or active pattern across time units.

Returns length in ticks, seconds, milliseconds, bars, and 16th-note steps. Use transport_status for current playhead position and playback state, or pattern_list for individual pattern step lengths. Read-only.

Inputs: no named parameters. Returns: object

transport_statusRead Transport StatusA
Read-onlyIdempotent

Read current FL Studio playback and record state, playhead position, loop mode, and BPM.

Use before starting/stopping playback, writing tempo-dependent notes, or verifying transport mutations; use transport_song_length for total song duration or transport_recording_options for metronome and precount switches. Read-only; raises a tool error if the bridge is offline.

Inputs: no named parameters. Returns: object

transport_stopStop PlaybackA
Idempotent

Stop FL Studio playback and return the playhead to the start or loop marker.

Use instead of transport_play whenever you want guaranteed silence rather than a play/pause toggle; safe to call repeatedly when already stopped. Switches focus away from plugins that steal transport keys; raises a tool error if the bridge is offline.

Inputs: no named parameters. Returns: object

transport_tap_tempoTap Project TempoA

Send one tap-tempo pulse to FL Studio to interactively estimate project BPM.

Requires repeated timed calls to establish a new tempo; use transport_set_tempo instead whenever you know the desired numeric BPM. Mutates live tempo once enough taps accumulate.

Inputs: no named parameters. Returns: object

transport_toggle_countdown_before_recordingToggle Recording CountdownA

Flip FL Studio's countdown-before-recording (precount) switch on or off.

Prefer transport_set_recording_options(countdown=True/False) to guarantee a specific state rather than blindly toggling, and inspect transport_recording_options first if unsure. Takes effect on the next recording pass.

Inputs: no named parameters. Returns: object

transport_toggle_metronomeToggle MetronomeA

Flip FL Studio's metronome click on or off without reading its prior state.

Prefer transport_set_recording_options(metronome=True/False) when you want an explicit target state instead of blindly toggling, and check transport_recording_options to inspect the current switch. Does not affect project audio rendering.

Inputs: no named parameters. Returns: object

ui_focused_windowGet Focused FL Studio WindowA
Read-onlyIdempotent

Return the active window type, caption, and focus state inside FL Studio.

Use to verify which FL window or plugin currently holds focus (for example before diagnosing modal dialogs or piano-roll focus); use ui_show_window to focus a specific panel or ui_selected_channel to check Channel Rack selection. Read-only.

Inputs: no named parameters. Returns: object

ui_hide_windowHide FL Studio WindowA
Idempotent

Hide or close one of FL Studio's main workspace windows by name.

Use to clear floating panels or declutter the workspace; use plugin_show_editor with show=False to close a specific plugin's editor window. Safe to call when the window is already hidden; does not modify project data.

Inputs: name (required). Returns: object

ui_hintDisplay FL Studio HintA

Show a transient status message in FL Studio's top-left hint bar.

Use to give the user live progress feedback during multi-step sessions or ask them to answer a prompt in FL Studio. Overwrites the hint display temporarily without modifying the project or undo history.

Inputs: message (required). Returns: object

ui_open_piano_roll_for_channelOpen Channel Piano RollA
Idempotent

Select a channel (and optionally a pattern) and open its Piano Roll window in FL Studio.

Note that piano_roll_* tools already accept channel and pattern directly and open the target automatically; use this standalone tool when preparing the UI for manual user inspection or before calling tools that operate on the open piano roll. Raises a tool error if channel or pattern is out of range.

Inputs: channel (required), pattern. Returns: object

ui_scroll_to_channelScroll to ChannelA
Idempotent

Scroll FL Studio's Channel Rack viewport so the specified 0-based channel is visible.

Use to bring an off-screen instrument into view without necessarily changing mixer focus; use channel_select to select the channel for editing or MIDI input. Does not alter audio or undo history; raises if channel is out of range.

Inputs: channel (required). Returns: object

ui_selected_channelGet Selected Channel from UIA
Read-onlyIdempotent

Return the 0-based global index and name of the channel currently focused in the UI.

Equivalent to channel_selected from the UI namespace; use channel_all to inspect every channel in the Channel Rack or channel_select to change selection. Read-only.

Inputs: no named parameters. Returns: object

ui_show_pickerOpen Plugin or Project PickerA

Open FL Studio 2026's Plugin Picker or Project Picker overlay for the user.

Use mode='plugin' when the user needs to load a Channel Rack instrument (FL's scripting API can load mixer effects via mixer_load_effect, but cannot load instruments into the Channel Rack). Returns ok=False on FL versions lacking the API.

Inputs: mode. Returns: object

ui_show_windowShow FL Studio WindowA
Idempotent

Open and optionally focus one of FL Studio's main workspace windows.

Use to display the Mixer, Channel Rack, Playlist, or Piano Roll; use ui_open_piano_roll_for_channel to target a specific channel's piano roll or plugin_show_editor to open a specific plugin GUI. Does not alter project audio or create an undo entry.

Inputs: name (required), focus. Returns: object

voice_list_devicesList Microphone DevicesA
Read-onlyIdempotent

List available system audio input devices (indices, names, and default flag) for microphone capture.

Call before voice_record_and_transcribe or voice_to_piano_roll to pick a specific device index when multiple microphones/interfaces exist. Requires the [audio] extra; returns ok=False with install guidance if missing.

Inputs: no named parameters. Returns: object

voice_notes_to_piano_rollWrite Transcribed Notes to Piano RollA
Destructive

Convert an already-transcribed second-timed note list into bars and write it into FL's open Piano Roll.

Second step after voice_record_and_transcribe or voice_transcribe_file so you can inspect/filter raw notes before editing FL Studio; use piano_roll_add_notes instead when your notes are already timed in bars, or voice_to_piano_roll for a single-step mic capture. Pure Python (no [audio] extra required); open the target Piano Roll first with ui_open_piano_roll_for_channel.

Inputs: notes (required), bpm, scale, scale_root, +3 more. Returns: object

voice_open_guiOpen Voice Transcription WindowA

Launch the standalone interactive Voice-to-MIDI desktop GUI window in a non-blocking subprocess.

Use when the user wants visual live waveform/pitch feedback and interactive sliders (scale snap, quantize, transpose, confidence filter) before clicking 'Send to FL Studio'. Use voice_record_and_transcribe or voice_to_piano_roll for headless chat-driven capture. Requires the optional [audio] and [gui] extras; returns ok=False if missing.

Inputs: no named parameters. Returns: object

voice_record_and_transcribeRecord and Transcribe MicrophoneA

Record live microphone audio and transcribe it to timestamped MIDI notes without editing FL Studio yet.

First step of the safe two-step voice workflow: review note count, timing, and confidence first, then push cleaned notes into FL via voice_notes_to_piano_roll. Use voice_to_piano_roll for a single-call capture-and-write, or voice_transcribe_file for an existing audio file. Plays a countdown beep (3 short

  • 1 long) at start and 1 beep at stop; requires the [audio] extra.

Inputs: device, fmax_hz, fmin_hz, polyphonic, +2 more. Returns: object

voice_to_piano_rollRecord Melody to Piano RollA
Destructive

Record live microphone audio, transcribe it, snap/quantize, and write straight into FL's open Piano Roll.

One-shot live-mic alternative to voice_record_and_transcribe + voice_notes_to_piano_roll (use the two-step pair when you want to inspect the transcription before touching the Piano Roll; use piano_roll_add_notes for explicit note lists or audio_melody_to_piano_roll for audio files). Open the target instrument's Piano Roll first (ui_open_piano_roll_for_channel); requires [audio].

Inputs: bpm, scale, device, polyphonic, +7 more. Returns: object

voice_transcribe_fileTranscribe Audio File to NotesA
Read-onlyIdempotent

Transcribe an existing audio file into timestamped MIDI notes for inspection without modifying FL Studio.

Use when you want to inspect or filter extracted notes before writing them with voice_notes_to_piano_roll; use audio_melody_to_piano_roll to transcribe and write directly into a Piano Roll in one call, or audio_analyze to also detect BPM, musical key, and onsets. Requires the [audio] extra (and [polyphonic] if polyphonic=True).

Inputs: audio_path (required), fmax_hz, fmin_hz, polyphonic, +1 more. Returns: object

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 188 tools

    Disambiguation4/5

    Despite the enormous surface, nearly every description includes explicit cross-references ('use X instead when...'), so an agent can usually pick the right tool. However, a handful of genuine duplicates exist (channel_route_to_mixer vs mixer_link_to_channel, channel_selected vs ui_selected_channel, mixer_fx_slots vs plugin_list_mixer_track) and the sheer number of near-siblings (pattern_list/count/current/find_by_name, transport_toggle_* vs transport_set_recording_options) invites misselection.

    Naming Consistency4/5

    The dominant convention is consistent domain-prefixed snake_case (pattern_select, mixer_set_volume_db, piano_roll_add_notes, channel_set_step_sequence). A minority of noun-only read tools (pattern_count, mixer_peaks, project_snapshot, fl_bridge_info, plugin_name) deviate slightly from the verb_noun pattern but remain readable and predictable.

    Tool Count1/5

    188 tools is an extreme surface for any MCP server, far beyond the 3-15 range that keeps selection reliable, and the toolset docs themselves recommend 'lean/core/mix' presets to cut it down. Many capabilities are split across micro-tools (separate grid-bit get/set, multiple preset-stepping tools) that inflate the count.

    Completeness5/5

    Coverage is remarkably thorough across transport, patterns, channels, mixer, playlist, piano roll, plugins, automation, audio analysis, voice-to-MIDI, project I/O, and UI. The few hard API limits (cannot load Channel Rack instruments, cannot delete markers or Playlist clips live) are explicitly documented with workarounds such as ui_show_picker and project_inspect_flp.

    Maintenance

    ActivityMaintained
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      A
      maintenance
      FL Studio (Fruity Loops) MCP server. Control FL Studio 2025 and 2026 from Claude, Cursor, Codex or any MCP client: Mix Doctor diagnosis and fixes, gain staging, EQ/compression/reverb, plugin parameters in real units, piano roll, drum patterns, patterns, playlist and routing. 90 tools, every change can be undone. One-command setup on macOS; Windows needs loopMIDI.
      96
      161
      MIT
    • A
      license
      C
      quality
      D
      maintenance
      Enables end-to-end control of FL Studio on macOS through MCP clients, including transport, patterns, mixer, piano roll, playlist, live metering, browser navigation, and rendering.
      160
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI assistants to control a running FL Studio project — transport, mixer routing and levels, channel rack, plugins, patterns, step sequencer, and piano roll — through a virtual MIDI trigger plus JSON command channel, with optional Windows UI automation and offline audio analysis of bounces. Also exposes raw access to the FL scripting API for undo history, markers, and device and project info.
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to drive a live FL Studio session at the engine level through 173 tools — cloning effects with their complete state, loading presets by name, swapping FX slots, editing piano roll and playlist clips, and switching arrangements. It loads a native extension inside FL's own Python process and verifies every mutation by readback, with version-gated loading that fails closed on unsupported builds.
      2
      MIT