Skip to main content
Glama
FL Studio MCP (fLMCP)

FL Studio MCP (fLMCP)

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
FLMCP_TOOLSETSNoChoose tool groups at startup. Presets: `all` (188 supported tools), `lean` (52), `core` (29), `mix` (54), or a comma-separated list such as `transport,mixer,piano_roll`. Add `unsupported` explicitly for legacy placeholders.
FLMCP_MIDI_PORTNoOn macOS, set to the IAC bus destination's full name to select a particular MIDI bus for the wake port.
FLMCP_BRIDGE_DIRNoThe bridge folder, when it isn't under the user data folder.
FLMCP_DISABLE_TOOLSNoRemove individual tools, e.g. `fl_call_raw,project_render`.
FLMCP_USER_DATA_DIRNoFL's user data folder, when it isn't found automatically (registry, OneDrive Documents), e.g. `D:\Image-Line`.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Call fl_ping first to verify bridge health and piano-roll script availability. The fLMCP Bridge controller script must be enabled in FL Studio (Options > MIDI Settings, controller type 'fLMCP Bridge'). Use fl_list_toolsets to inspect enabled groups or advise smaller presets (FLMCP_TOOLSETS=lean, core, or mix) when a focused tool surface is preferred.

Index conventions: Channel Rack indices are global and 0-based; Pattern numbers are 1-based; Mixer track 0 is Master and inserts start at 1; FX slots are 0-based (0..9); Playlist track lanes are 1-based. Start with project_snapshot (or channel_all, pattern_list, mixer_all_tracks) to map names to indices.

Tool selection guidance: prefer real-unit setters (mixer_set_volume_db, mixer_set_eq_band with gain_db/freq_hz, plugin_set_param_value) over normalized 0..1 setters. For drums, use gen_emit_drum_pattern_step_seq for multi-channel step-sequencer kits, gen_emit_drum_pattern_notes for single-channel piano-roll drum kits (FPC), and gen_emit_dnb_groove for 2-bar 32-step DnB breakbeats. For piano-roll notes, use piano_roll_add_notes for explicit notes, gen_emit_* for theory generators, voice_to_piano_roll / voice_notes_to_piano_roll for microphone input, and audio_melody_to_piano_roll for audio files. Save reversible mixer snapshots with mix_checkpoint_save (part of the mixer group) before multi-step mixing, and use project_undo to revert individual FL edits. Read back target state after writes.

Known FL Studio scripting API boundaries: live scripts cannot place/delete Playlist clips, read live marker bar coordinates, load Channel Rack instruments, or force pattern-only/stem CLI exports. Use project_inspect_flp offline on saved .flp files for clips/markers, ui_show_picker(mode='plugin') for instrument loading, and FL's Export dialog for stems.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
fl_pingA

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.

fl_reconnectA

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.

fl_bridge_infoA

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.

fl_call_rawA

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.

fl_batchA

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.

fl_introspectA

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.

fl_list_toolsetsA

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.

transport_playA

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.

transport_stopA

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.

transport_recordA

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.

transport_statusA

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.

transport_set_positionA

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.

transport_song_lengthA

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.

transport_set_loop_modeA

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.

transport_set_playback_speedA

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.

transport_set_tempoA

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.

transport_tap_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.

transport_set_time_signatureA

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.

transport_toggle_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.

transport_toggle_countdown_before_recordingA

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.

transport_recording_optionsA

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.

transport_set_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.

transport_jogA

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.

pattern_countA

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.

pattern_currentA

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.

pattern_listA

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.

pattern_selectA

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).

pattern_createA

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.

pattern_renameA

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.

pattern_set_colorA

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.

pattern_cloneA

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

pattern_deleteA

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.

pattern_set_lengthA

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.

pattern_clearA

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.

pattern_find_by_nameA

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.

pattern_jump_to_nextA

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.

pattern_jump_to_previousA

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.

pattern_moveA

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).

pattern_duplicate_dataA

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).

channel_countA

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.

channel_infoA

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.

channel_allA

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.

channel_get_swingA

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).

channel_set_swingA

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.

channel_selectedA

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.

channel_selectA

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.

channel_set_volumeA

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.

channel_set_panA

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.

channel_set_pitchA

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.

channel_muteA

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.

channel_soloA

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.

channel_set_nameA

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.

channel_set_colorA

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.

channel_route_to_mixerA

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).

channel_trigger_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.

channel_get_step_paramsA

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.

channel_set_step_paramA

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.

channel_fill_stepsA

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.

channel_get_grid_bitA

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.

channel_set_grid_bitA

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.

channel_get_step_sequenceA

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.

channel_set_step_sequenceA

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.

channel_clear_step_sequenceA

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.

channel_quick_quantizeA

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.

mixer_countA

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.

mixer_track_infoA

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.

mixer_all_tracksA

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.

mixer_set_volumeA

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.

mixer_set_panA

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.

mixer_muteA

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.

mixer_soloA

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.

mixer_armA

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.

mixer_set_nameA

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.

mixer_set_colorA

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.

mixer_set_stereo_separationA

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.

mixer_set_send_levelA

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.

mixer_routeA

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.

mixer_fx_slotsA

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.

mixer_set_slotA

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.

mixer_set_slots_enabledA

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.

mixer_load_effectA

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.)

mixer_peaksA

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.

mixer_set_volume_dbA

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).

mixer_peak_watchA

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.

mixer_diagnoseA

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.

mixer_selectA

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.

mixer_get_eqA

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.

mixer_set_eq_bandA

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.

mixer_link_to_channelA

Link a 0-based Channel Rack instrument to a target Mixer track from the Mixer side.

Equivalent to channel_route_to_mixer (prefer channel_route_to_mixer for simple channel routing, and mixer_route for Mixer-to-Mixer sends). Validates both channel and track bounds before applying and raises a tool error if out of range.

mix_checkpoint_saveA

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.

mix_checkpoint_listA

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.

mix_checkpoint_diffA

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.

mix_checkpoint_restoreA

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.

mixer_gain_stageA

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.

mixer_list_chainsA

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.

mixer_apply_chainA

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.

plugin_searchA

Search FL Studio's local Plugin database (stock plugins plus scanned VST/AU plugins) by name or category.

Use to discover exact effect names before calling mixer_load_effect; use plugin_list_mixer_track or mixer_fx_slots to inspect plugins already loaded in the live project. Reads local .fst database files directly so FL Studio does not need to be running.

plugin_is_validA

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.

plugin_nameA

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.

plugin_param_countA

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.

plugin_paramsA

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.

plugin_get_paramA

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.

plugin_set_paramA

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.

plugin_set_param_valueA

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.

plugin_find_paramA

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.

plugin_preset_countA

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.

plugin_next_presetA

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.

plugin_prev_presetA

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.

plugin_show_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.

plugin_list_mixer_trackA

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.

plugin_fpc_padsA

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.

playlist_track_countA

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.

playlist_track_infoA

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).

playlist_all_tracksA

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.

playlist_set_track_nameA

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).

playlist_set_track_colorA

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.

playlist_mute_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.

playlist_solo_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.

playlist_refreshA

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.

playlist_list_markersA

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.

playlist_add_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).

arrangement_set_selectionA

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.

arrangement_clear_selectionA

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.

arrangement_currentA

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.

arrangement_jump_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.

arrangement_play_timeA

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.

automation_record_tempoA

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.

automation_record_channel_volumeA

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).

automation_record_channel_panA

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).

automation_record_mixer_volumeA

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).

automation_record_plugin_paramA

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).

project_inspect_flpA

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.

project_snapshotA

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.

project_metadataA

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.

project_saveA

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.

project_save_asA

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.

project_undoA

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.

project_redoA

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.

project_undo_historyA

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.

project_save_undoA

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.

project_renderA

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.

project_versionA

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.

ui_focused_windowA

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.

ui_show_windowA

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.

ui_hide_windowA

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.

ui_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.

ui_show_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.

ui_open_piano_roll_for_channelA

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.

ui_selected_channelA

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.

ui_scroll_to_channelA

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.

piano_roll_statusA

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.

piano_roll_add_notesA

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.

piano_roll_add_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.

piano_roll_add_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.

piano_roll_edit_notesA

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.

piano_roll_delete_notesA

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.

piano_roll_clearA

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.

piano_roll_readA

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).

piano_roll_quantizeA

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.

piano_roll_transposeA

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.

piano_roll_humanizeA

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.

piano_roll_duplicateA

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.

gen_list_scalesA

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.

gen_list_chord_qualitiesA

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.

gen_list_progressionsA

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.

gen_list_drum_patternsA

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.

gen_chord_notesA

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.

gen_scale_notesA

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.

gen_emit_chord_progressionA

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.

gen_emit_melodyA

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.

gen_emit_basslineA

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.

gen_emit_drum_pattern_notesA

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).

gen_emit_drum_pattern_step_seqA

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.

gen_emit_arpeggioA

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.

voice_open_guiA

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.

voice_list_devicesA

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.

voice_record_and_transcribeA

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.

voice_transcribe_fileA

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).

voice_to_piano_rollA

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].

voice_notes_to_piano_rollA

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.

audio_loudness_reportA

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.

audio_compare_referenceA

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).

audio_analyzeA

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).

audio_sliceA

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).

audio_melody_to_piano_rollA

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.

gen_list_dnb_stylesA

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.

gen_emit_dnb_grooveA

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.

song_to_dnb_flipA

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).

Prompts

Interactive templates invoked by user choice

NameDescription
make_beatBuild and verify a drum groove for a genre, tempo and loop length.
write_chord_progressionChoose, voice and verify a chord progression in the requested key and mood.
hum_to_melodyRecord a hummed phrase, review its transcription and write it to the piano roll.
flip_song_to_dnbAnalyze an audio file and make a short Drum & Bass sketch in FL Studio.
mix_checkDiagnose levels, routing and effects before proposing any mix changes.
project_overviewSummarize FL Studio's current project, routing and selection without edits.

Resources

Contextual data attached and managed by the client

NameDescription
statusBridge + transport quick status.
projectProject snapshot with BPM, timing resolution, counts and selection.
transportLive transport state (is_playing, position, tempo, loop mode).
channelsFull channel rack as JSON.
mixerAll mixer tracks as JSON.
patternsAll patterns in the project.
playlistPlaylist tracks and any clip or marker data the controller bridge can provide.

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