Skip to main content
Glama

FL Studio MCP — control FL Studio with Claude, Cursor and other AI assistants

The MCP server for FL Studio (Fruity Loops): AI mixing, mix diagnosis, plugin control, piano roll and drum patterns, in plain language.

Website: rosasynthesiz.com/products/fl-studio-mcp: what it does, all 96 tools and setup.

PyPI status license python platform FL Studio

Claude diagnosing and fixing a mix in FL Studio

Claude diagnosing and fixing a mix in FL Studio through natural language.

Overview

flstudio-mcp is a Model Context Protocol (MCP) server that connects FL Studio to AI assistants: Claude Code, Claude Desktop, Cursor, Codex, or any other MCP client. Ask for a mix diagnosis, a vocal chain, a chord progression in a particular scale, or a full arrangement, and the assistant carries it out inside your open FL Studio project through FL's scripting API and a set of calibrated, safety-checked tools.

  • 96 tools for the mixer, plugins, piano roll, step sequencer, patterns, playlist, routing and transport

  • One-command setup on macOS, with no MIDI configuration

  • Every change can be undone, and an undo never touches a different project

  • Windows and macOS, FL Studio 2025 and 2026

It is genre- and producer-agnostic: nothing about it assumes a particular style of music.

Related MCP server: FL Studio MCP

Quickstart

macOS — one command, no MIDI setup:

uvx fl-studio-mcp setup

It installs the FL controller script, then waits. Open FL Studio and load any project; the command prints Status: READY once FL answers. You do not create IAC ports and you do not touch FL's MIDI Settings: the server makes its own MIDI ports and FL links them by itself.

Then add the server to your AI client:

uvx fl-studio-mcp connect

Windows — two loopMIDI ports and one step in FL (details in Setup):

:: first: in loopMIDI, create two ports named exactly "FLStudioMCP RX" and "FLStudioMCP TX"
git clone https://github.com/rosasynthesiz/flstudio-mcp.git
cd flstudio-mcp
scripts\install_windows.bat

Then ask Claude in plain language:

"Scan my mix and tell me what's wrong." — "Set up a vocal chain from my plugins." — "Export this arrangement to MIDI."

If something does not connect, run fl-studio-mcp doctor. It checks each stage and prints one status and the one next step.

uvx comes with uv. Without it: pip install fl-studio-mcp, then fl-studio-mcp setup. To run the newest code from GitHub instead of the release: uvx --from git+https://github.com/rosasynthesiz/flstudio-mcp fl-studio-mcp setup.

Capabilities

Mixing & diagnosis

  • Mix Doctor — scans the whole mix and reports concrete problems (clipping, low headroom, level imbalance, missing high-pass, ungrouped related tracks, overlapping EQ boosts), each with the exact evidence and a proposed fix. Fixes are applied one at a time, only on approval, through a snapshot → write → readback → rollback safety layer. Master clipping is resolved by trimming the contributing source tracks rather than pulling the master.

  • Full-song peak watch — holds a running peak per track across playback, so level decisions are based on the loudest moment of the actual song, not a single instant.

  • Calibrated processing intents — musical EQ, compression, reverb, and delay moves mapped to real plugin parameters (native and third-party), each applied as one reversible change.

  • Level-aware compression — sets thresholds relative to a track's measured level during playback.

  • Gain staging — proposes per-track trims toward a healthy level with proper master headroom.

  • Reference match — compares your mix's level and tonal balance against a reference track.

  • Bulk track control — solo or mute a whole group (drums, vocals, …) in one step, with a one-call reset.

  • Track & channel coloring — color a track, a channel, or a whole group (drums, vocals, …) by color name or hex, reversible like every other change.

Plugin & preset control

  • Read and set plugin parameters by name, on native and third-party plugins (the parameter list is resolved live).

  • Verified writes — every parameter write is re-read on a fresh tick and retried (0.4 s apart) if FL did not take it; the answer carries verified / attempts and a hint, so a swallowed write is reported instead of echoed back as if it worked.

  • Batch parameter changes — fl_plugin_set_params sets several knobs of one plugin in a single paced burst and one undo step; fl_rollback_last_change puts them all back together.

  • Chain suggestions and preset recommendations drawn from your actual installed library — read directly from FL's plugin database and preset folders on disk, so recommendations are limited to what you own.

Composition

  • Multi-track MIDI export — generate a complete arrangement as a standard MIDI file to import.

  • Multi-pattern arrangement — create, name, clone, and mark sections.

  • Pattern control — list (paginated), select, rename, and read the length (beats/bars via the project PPQ) of any pattern; select and rename are single reversible steps with their own rollback.

  • Drum patterns in the step sequencer: read or set a channel's steps in the current pattern, e.g. x...x...x...x..., reversible like every other change.

  • Note and chord writing into the piano roll, with quantize to a grid (for new notes and existing ones).

  • Composition in any scale or mode — Western modes, pentatonic, ragas, maqam, and beyond — through the scale composer, where Claude supplies the notes for the requested scale.

Audio analysis

  • Tempo and key estimation from an audio file.

  • Melody-to-MIDI transcription (CREPE pitch tracking, with a lighter fallback).

  • Chords-to-MIDI transcription of polyphonic audio (keys, piano, guitar) with Spotify's Basic Pitch, as notes for the piano roll or a .mid file.

  • Drums to MIDI: a drum loop or stem to kick, snare, clap, closed and open hi-hat, aligned to the beat, as a .mid or straight into the step sequencer of the channels you choose (one undo step).

The server exposes 96 tools, plus 6 live resources (project, mixer, transport, channels, patterns, status) that Claude can read directly.

What sets it apart

flstudio-mcp is built as a mixing and production assistant, not only a note sender. It diagnoses and repairs a whole mix, makes decisions from real measured levels rather than guesswork, and is aware of your actual plugin and preset library when it makes suggestions. Every change that touches the project is shown before it is applied, logged, and reversible.

Limitations

These are properties of FL Studio's scripting API, stated plainly:

  • Plugins, audio files, and rendering are UI-only. FL's API cannot load a plugin, load an audio file, or render audio. The plugin and preset tools therefore suggest — you load the chosen plugin or preset, and Claude then configures it. Audio export is done manually (File > Export); Claude can analyze the rendered file afterward.

  • Only some plugin parameters accept arbitrary values. Levels and gains do; stepped parameters (filter types, orders, selectors) snap to their own grid steps, so an off-grid request cannot land; some parameters (Fruity Parametric EQ 2's band widths) ignore writes entirely. The parameter tools re-read and retry, then report verified: false with a hint and the value FL actually holds, instead of echoing the request as if it had landed.

  • Note writing is armed once per session. A generated pyscript writes notes into the piano roll; FL exposes no API to run a pyscript, so you run "MCP_Apply" once from the piano roll's scripting menu at the start of a session.

  • Micro-tonal and gamaka-heavy music is approximated. Scales with intervals smaller than a semitone (e.g. Arabic maqam) are rounded to the nearest semitone, and traditions built on gamaka/ornamentation (e.g. Carnatic) get the scale framework — the correct swaras and intervals — not gamaka or micro-tonal rendering. That's a limit of 12-tone MIDI, not of the tools.

Requirements

  • macOS or Windows 10/11 (Linux: untested, the macOS path should apply)

  • FL Studio 2025 or newer (tested on 26.1)

  • Claude Code, Claude Desktop, Cursor, Codex or any MCP client

  • Python 3.10+ (with uvx, uv brings its own)

  • Virtual MIDI ports:

    • macOS: nothing to install, the server creates them

    • Windows: loopMIDI (download)

  • Optional: ffmpeg on PATH (for MP3 analysis)

Setup

macOS

  1. Run setup:

    uvx fl-studio-mcp setup

    It copies the controller script into FL Studio's user-data folder (a different existing copy is kept next to it as a .bak-<date> file), then waits for FL Studio.

  2. Open FL Studio and load any project. If FL was already open, restart it once. Setup prints Status: READY when FL answers.

  3. Add the server to your client: run ... fl-studio-mcp connect and paste the entry it prints (Claude Code, Claude Desktop, Cursor, Codex).

That is all. How it works: the server creates two virtual MIDI ports that share one name, FLStudioMCP. The controller script lists that name as its supported device, so FL links the script, pairs input and output on one port number and enables them without any clicks. FL has to see the ports when it starts the first time; after that it re-attaches by itself.

Working from a clone instead: ./scripts/install_macos.sh does the same inside a private .venv in the repo (your system Python is not touched).

Already using IAC Driver ports named FLStudioMCP RX / FLStudioMCP TX? They keep working and are used first. FLSTUDIO_MCP_VIRTUAL_PORTS=0 stops the server from creating its own ports.

Windows

Windows cannot create MIDI ports from a program, so loopMIDI is still needed.

  1. Create two loopMIDI ports named exactly FLStudioMCP RX and FLStudioMCP TX:

    • Install and open loopMIDI.

    • Remove default ports (loopMIDI Port, …); those names are not detected.

    • Type FLStudioMCP RX in New port-name, click +. Repeat for FLStudioMCP TX.

    • Keep loopMIDI running (it can start with Windows).

  2. Install:

    git clone https://github.com/rosasynthesiz/flstudio-mcp
    cd flstudio-mcp
    scripts\install_windows.bat

    The server goes into a .venv folder inside the repo, using Python 3.12/3.11/3.10 when available. The installer prints the full paths of the commands. It finds your Documents folder even when it is redirected (OneDrive, non-English names) and follows FL's own "User data folder" setting; if it still cannot find the folder, run setx FL_SETTINGS "<folder>\FL Studio\Settings" once and open a new terminal.

  3. Configure FL Studio once — Options > MIDI Settings:

    • Input list: select FLStudioMCP RX, turn on Enable, set Controller type to FLStudioMCP, and give it a Port number.

    • Output list: select FLStudioMCP TX and give it the same Port number.

  4. Check: .venv\Scripts\fl-studio-mcp.exe doctor should print Status: READY.

  5. Add the server to your client: .venv\Scripts\fl-studio-mcp.exe connect prints the entry, with the full path already filled in.

Both platforms

No daemon to start. The first MCP server that starts owns the MIDI ports and shares them on a local socket; a second client joins it automatically. The standalone daemon (fl-studio-mcp-daemon, Windows: scripts\start_daemon.bat) is still there for one case: an MCP client that cannot receive MIDI itself, such as the Microsoft Store build of Claude Desktop. Start the daemon first and the server joins it. An older config with FLSTUDIO_MCP_TRANSPORT=tcp keeps working, with or without the daemon; the setting is no longer needed. Set FLSTUDIO_MCP_TRANSPORT=daemon to make a server use the daemon only and never open MIDI itself.

Note writing is armed once per session. Open the piano roll and choose Tools > Scripting > MCP > MCP Apply once. On macOS the note bridge then sends Cmd+Opt+Y; grant Accessibility permission to the app that runs the MCP server (System Settings > Privacy & Security > Accessibility).

Optional audio features (not installed by default):

pip install -e ".[audio]"                    # tempo/key, drums to MIDI, light melody
pip install -e ".[audio,audio-accurate]"     # + CREPE (accurate melody)
pip install -e ".[audio-chords]"             # chords: then also run
pip install --no-deps basic-pitch==0.4.0     #   (skips its TensorFlow requirement)

The installers take FLMCP_EXTRAS (all, none, or any of audio accurate chords); the Windows installer also asks.

Undo is tied to the project. Every change Claude makes can be rolled back with fl_rollback_last_change, but only inside the project and FL session it was made in. An entry from another project is refused, never applied.

After updating, run setup again and restart FL Studio so the controller and the server are the same version (doctor reports a mismatch). See bridge correctness regressions for numeric JSON compatibility, dry-run behavior, and localized parameter names.

Install as a Claude plugin

This repository is also a Claude Code plugin marketplace. In Claude Code run:

/plugin marketplace add rosasynthesiz/flstudio-mcp
/plugin install rosa-fl-studio@flstudio-mcp

Or in one line from your terminal:

claude plugin install rosa-fl-studio --marketplace rosasynthesiz/flstudio-mcp

The plugin lives in the claude-plugin/ folder. It adds the flstudio MCP server with all 96 tools and a skill that teaches Claude how to use them.

  • What runs: Claude Code starts uv run on claude-plugin/server.py, a bundled copy of this server, with the dependency versions pinned in claude-plugin/uv.lock. uv downloads those pinned packages from PyPI the first time it runs, as prebuilt wheels only.

  • What it needs: uv installed, Python 3.11 or 3.12 already installed (the plugin does not download Python), and FL Studio 2025 or newer. Do the one-time setup described in Setup first (macOS: fl-studio-mcp setup; Windows: loopMIDI ports and the MIDI Settings step). Without it, fl_ping tells Claude which step is missing.

  • What it connects to: only your own computer. The server talks to FL Studio through two virtual MIDI ports and a local socket that lets several clients share them. It makes no calls to the internet while it runs and sends no data anywhere. The only program it starts is osascript on macOS, to bring FL Studio to the front and send the piano-roll shortcut.

  • What it changes: the project open in FL Studio, and only when you ask. Each change is logged and can be rolled back with fl_rollback_last_change. On macOS, note writing needs Accessibility permission for the app that runs the server.

Troubleshooting

Symptom

Fix

Anything about connecting

fl-studio-mcp doctor checks each stage and prints one status code and the one next step. Start here.

A change is refused with FL_BUSY

FL Studio refuses writes while a dialog is open (the welcome screen counts). Close it or load a project, then try again.

Virtual MIDI ports not found / not detected

The two ports must be named exactly FLStudioMCP RX and FLStudioMCP TX. loopMIDI's default loopMIDI Port names won't work. Recreate them in loopMIDI (Windows) or IAC Driver (macOS), make sure loopMIDI is running, then re-run the installer.

FL Studio Settings\Hardware folder not found

Open FL Studio once so it creates its user-data folder. If you moved that folder (Options > File settings > User data folder), setx FL_SETTINGS "<that folder>\FL Studio\Settings", open a new terminal and re-run.

fl-studio-mcp-daemon is not recognized

The commands live in the repo's .venv\Scripts\ folder. Run them by full path (the installer prints it).

Python crashes on start / MIDI library fails to load (Windows)

Install Python 3.12 from python.org, delete the .venv folder, and re-run the installer.

No [FLStudioMCP] Ready in FL's Script output

The controller isn't registered: set the FLStudioMCP RX input's Controller type to FLStudioMCP in MIDI Settings, confirm device_FLStudioMCP.py is in Settings\Hardware\FLStudioMCP\, then fully restart FL Studio.

Claude can't reach FL / fl_ping fails

Run fl-studio-mcp doctor and do the step it prints. fl_ping returns the same status and next. Most common: FL Studio has no project loaded yet, or FL was opened before the server the first time (restart FL once).

fl_ping says the heartbeat is stale (Ready is shown, but FL stops answering)

Usually happens after changing MIDI Settings while the script is running. Open View > Script output, select the FLStudioMCP tab and click Reload script (or restart FL Studio). Also check that the Output port number is on FLStudioMCP TX, not FLStudioMCP RX.

Note-writing does nothing

Run MCP_Apply once from the piano roll's scripting menu this session — it arms the note bridge.

macOS note-trigger fails

Grant Accessibility permission to the app running the MCP server or daemon, then click the FL Piano roll and try Cmd+Opt+Y.

Audio tools error or are unavailable

Re-run the installer and answer Y to "Install audio to MIDI?" (or install the extras manually, see Setup step 2).

The installer stops because the MCP server is running

Claude Desktop or Claude Code is running fl-studio-mcp.exe from the .venv, which locks its files. Quit Claude Desktop or Claude Code, then re-run.

Usage examples

Plain-language prompts:

  • "Scan my mix and tell me what's wrong."

  • "Set up a vocal chain on the lead vocal using my plugins."

  • "Suggest a vintage bass preset from my Serum library."

  • "Compose an 8-bar melody in D Dorian and write it to the selected channel."

  • "Export this arrangement to a MIDI file."

  • "What tempo and key is this track?" (on an audio file)

Tools

96 tools, grouped by area.

Transport

  • fl_ping — Check that FL Studio is running and the controller script is loaded.

  • fl_get_tempo — Read the project tempo in BPM.

  • fl_set_tempo — Set the project tempo (10–999 BPM).

  • fl_play — Start playback.

  • fl_stop — Stop playback.

  • fl_toggle_play — Toggle play and stop, like the spacebar.

  • fl_record — Toggle record-arm.

  • fl_get_play_state — Report whether FL is playing or recording.

  • fl_get_song_position — Read the playhead position in beats.

  • fl_set_song_position — Move the playhead to a beat position.

Project, mixer & channel state

  • fl_get_project_state — Tempo, transport state, and pattern, channel and mixer counts.

  • fl_get_mixer_state — Every mixer track with name, volume, pan, mute and solo.

  • fl_get_channel_state — Every channel-rack channel with name, volume, pan, mute and solo.

  • fl_set_mixer_volume — Set a mixer track's volume (linear or dB).

  • fl_set_mixer_pan — Set a mixer track's pan (-1 left to +1 right).

  • fl_set_mixer_mute — Mute or unmute a mixer track.

  • fl_set_mixer_solo — Solo or unsolo a mixer track.

  • fl_set_mixer_name — Rename a mixer track.

  • fl_set_channel_volume — Set a channel's volume (linear or dB).

  • fl_set_channel_pan — Set a channel's pan (-1 left to +1 right).

  • fl_set_channel_mute — Mute or unmute a channel.

  • fl_set_channel_solo — Solo or unsolo a channel.

  • fl_take_snapshot — Read the current state of a scope for before/after comparison.

  • fl_rollback_last_change — Undo the most recent write from its saved snapshot.

  • fl_set_dry_run — Preview writes without changing the project.

Mix Doctor & gain staging

  • fl_diagnose_mix — Scan the whole mix and report problems with proposed fixes (read-only).

  • fl_apply_mix_fix — Apply one Mix Doctor fix with snapshot, readback and rollback.

  • fl_mix_watch_start — Start a full-song peak watch that keeps each track's loudest moment.

  • fl_mix_watch_status — Report whether a peak watch is running and for how long.

  • fl_mix_watch_stop — Stop the peak watch and diagnose the mix on full-song peaks.

  • fl_gain_stage — Propose per-track fader trims toward a healthy level with master headroom.

  • fl_reference_match — Compare your mix's level and tonal balance to a reference track.

Processing intents

  • fl_apply_eq_intent — Apply a musical EQ move on Fruity Parametric EQ 2.

  • fl_apply_compression_intent — Compress with Fruity Limiter or FabFilter Pro-C, relative to the measured level.

  • fl_apply_reverb_intent — Reverb moves on Fruity Reeverb 2 (decay, wet, high-cut) as one undoable change.

  • fl_apply_delay_intent — Delay moves on Fruity Delay (time, feedback, wet, feedback cut) as one undoable change.

  • fl_get_track_level — Measure a mixer track's level from its meter over a short window.

Plugin parameters

  • fl_plugin_list — List the filled effect slots on a mixer track.

  • fl_plugin_get_params — List every named parameter of a plugin with its value and display text.

  • fl_plugin_set_param — Set one plugin parameter, then verify it landed.

  • fl_plugin_set_params — Set several parameters of one plugin as a single rollback unit.

  • fl_plugin_overview — Summarise a plugin: how controllable it is and its parameters grouped by role.

  • fl_plugin_find_params — Search a plugin's parameters by name.

  • fl_plugin_calibrate_param — Learn a parameter's real unit (dB, Hz, ms, %) by sweeping it, then restoring it.

  • fl_plugin_set_param_value — Set a parameter to a real-unit value, for example 6 dB or 30 %.

  • fl_plugin_intent — Make a musical change by intent: brighter, darker, wider, more drive and others.

  • fl_load_plugin — Explains why FL's API cannot load a plugin and what to do instead.

All plugin tools also reach channel-rack instruments: pass slot=-1 and the channel index as track.

Presets & processing chains

  • fl_list_presets — List preset names from your FL Studio and Serum 2 preset folders.

  • fl_suggest_preset — Suggest presets from your own library that match a description.

  • fl_list_chains — List the built-in processing-chain recipes (vocal, drum bus, bass, master).

  • fl_list_installed_plugins — List the plugins installed in FL Studio, de-duplicated and categorized.

  • fl_setup_chain — Plan a processing chain over a track's existing plugins.

  • fl_plugin_preset — Read a plugin's preset (info) or step to the next/previous one; navigation has no rollback.

Routing

  • fl_get_routing — Show which tracks a mixer track sends to.

  • fl_get_routing_all — Show routing for every mixer track.

  • fl_get_channel_routing — Show which mixer track each channel is linked to.

  • fl_detect_cleanup_candidates — Flag empty channels and unused mixer tracks, with a reason (read-only).

  • fl_set_route — Turn a send between two mixer tracks on or off.

  • fl_group_tracks — Route a group of tracks into a bus, and the bus to the master.

Bulk mute, solo & color

  • fl_solo_tracks — Solo a group (drums, vocals, …) so only it is audible.

  • fl_mute_tracks — Mute a group of tracks.

  • fl_clear_mute_solo — Unmute and unsolo every mixer track.

  • fl_set_track_color — Color mixer tracks by name, group, color name or hex.

  • fl_set_channel_color — Color channel-rack channels.

  • fl_get_track_color — Read a mixer track's color (int, hex and RGB).

  • fl_get_channel_color — Read a channel-rack channel's color (int, hex and RGB).

Composition & arrangement

  • fl_write_piano_roll_notes — Write notes into the open piano roll.

  • fl_quantize_pattern — Quantize the notes already in the open piano roll.

  • fl_write_raga_melody — Write a melody in any scale into the selected channel.

  • fl_write_raga_chords — Write chords or a progression in any scale into the selected channel.

  • fl_get_step_grid — Read which step-sequencer steps are on for a channel.

  • fl_set_step_grid — Set exactly which step-sequencer steps are on for a channel.

  • fl_arrange_new_pattern — Create, select and name the next empty pattern.

  • fl_arrange_select_channel — Select a channel-rack channel.

  • fl_arrange_clone_pattern — Clone a pattern with its notes and rename the clone.

  • fl_arrange_add_marker — Add a named timeline marker at a bar.

  • fl_export_midi — Write a multi-track .mid file from an arrangement.

Playlist & arrangement

  • fl_playlist_tracks — List playlist tracks with name, mute and solo state (paged).

  • fl_playlist_mute_track — Mute or unmute a playlist track.

  • fl_playlist_solo_track — Solo a playlist track; refused when it could not be undone cleanly.

  • fl_playlist_rename_track — Rename a playlist track.

  • fl_playlist_set_track_color — Colour a playlist track by name or hex.

  • fl_arrangement_markers — List the timeline markers.

  • fl_arrangement_selection — Read the current time selection in the playlist.

Setup report

  • fl_capabilities — Report what this setup automates and which steps stay manual.

Patterns

  • fl_pattern_list — List the project's patterns with their names.

  • fl_pattern_select — Switch the working pattern; one undo step.

  • fl_pattern_rename — Rename a pattern; one undo step.

  • fl_pattern_get_length — Read a pattern's length in beats, bars and ticks.

Undo & introspection

  • fl_undo — One FL undo step; outside the rollback layer, with a warning about what it can and cannot undo.

  • fl_api_probe — List the names one FL scripting module exposes, optionally filtered; read-only.

Debugging

  • fl_screenshot — Capture FL Studio's window (not the whole display) to a PNG so the assistant can see the plugin window, hint bar or focus; whole_screen=true and region=[x, y, w, h] are explicit opt-ins. macOS and Windows, never writes outside its own shots folder.

Audio analysis

  • fl_analyze_audio — Estimate tempo and key of an audio file.

  • fl_extract_melody — Transcribe a single-line melody from audio to notes.

  • fl_extract_chords — Transcribe chords from audio to notes.

  • fl_extract_drums — Detect drum hits in a loop or stem and sort them into kick, snare, clap and hi-hats.

Architecture

A thin controller script runs inside FL Studio and returns only cheap, raw data; all judgement — diagnosis, calibration, planning — happens server-side. The two talk over MIDI SysEx, the only channel FL's script sandbox allows. The first MCP server to start owns the MIDI ports and shares them on a local socket, so several clients can use one FL Studio at once. Note authoring uses a generated pyscript bridge: the server re-triggers the armed MCP_Apply script with the platform run-last-script shortcut after a brief window focus. Every project-modifying tool routes through a snapshot → write → readback → rollback safety layer backed by a change log that is tied to the open project.

Design notes and findings are in docs/.

FAQ

Can Claude control FL Studio? Yes. With this MCP server Claude reads and changes the open project: mixer levels, plugin parameters, piano-roll notes, step-sequencer drums, patterns, routing, tempo and transport.

Which AI assistants does it work with? Any MCP client. fl-studio-mcp connect prints the ready-made entry for Claude Code, Claude Desktop, Cursor and Codex.

Which FL Studio versions are supported? FL Studio 2025 and 2026. It is tested on 26.1 (Producer Edition), on macOS and Windows 11.

Does it work on a Mac? Yes, and setup is one command: the server creates its own MIDI ports and FL Studio links them by itself. Windows needs the free loopMIDI tool.

Can it load plugins, load samples or render audio? No. FL Studio's scripting API does not allow that. The assistant suggests plugins and presets from the ones you own, you load them, and it then configures them.

Is it safe to use on a real project? Each change is logged with the value it replaced and can be rolled back with fl_rollback_last_change. Undo entries are tied to the project they were made in, so an old entry is never applied to another project. A dry-run mode shows what would change without changing it.

Is it free? Yes. MIT licence, open source.

License

MIT — see LICENSE.

Status & contributing

Beta. Version 2.0.0. Tested live on FL Studio 26.1 on macOS and Windows 11. Linux is untested; contributions are welcome. Issues and pull requests: github.com/rosasynthesiz/flstudio-mcp.

Available Tools

96 tools
fl_analyze_audioAnalyze audio (tempo/key)A
Read-onlyIdempotent

Estimate tempo + key (+ duration, beats, onsets) of an audio file. Pure offline analysis -- does NOT touch FL. Key is ESTIMATED.

Inputs: path (required). Returns: object

fl_api_probeProbe FL scripting API (names)A
Read-onlyIdempotent

Public names of one FL scripting module (dir(module), names only, budget-paginated). Without pattern: one page {module, total, start, next_start, names}. With pattern: all pages walked, matches filtered, reply carries {match_count, names, truncated}.

Inputs: module (required), start, pattern. Returns: object

fl_apply_compression_intentApply a compression intentA

Compress via Fruity Limiter (COMP section) or FabFilter Pro-C. ALWAYS sets ratio AND threshold together; ratio/attack/release/makeup (+ Pro-C Style) per intent, as ONE rollback unit. When level_aware and the track is playing, threshold is set relative to the MEASURED peak (a smart starting point, not exact gain-reduction); stopped -> preset fallback + a note. Returns readback + the measured level / chosen threshold.

Inputs: slot (required), track (required), intent (required), intensity, +1 more. Returns: object

fl_apply_delay_intentApply a delay intentA

Musical delay moves on a Fruity Delay (time division / feedback / wet / feedback-cut), as one undo-able group. Feedback is clamped <=100% unless intensity>0.9 (warns on self-oscillation risk). Returns readback strings.

Inputs: slot (required), track (required), intent (required), intensity. Returns: object

fl_apply_eq_intentApply an EQ mixing intentA

Apply a musical EQ move on a Fruity Parametric EQ 2 using a free band. Sets type/freq/gain/width as one undo-able group; returns the band used and FL's readback strings. Revert with fl_rollback_last_change.

Inputs: slot (required), track (required), intent (required), intensity. Returns: object

fl_apply_mix_fixApply a Mix Doctor fix (gated)A

Apply ONE Mix Doctor fix via the safety layer: snapshot -> write -> FRESH readback -> rollback-able with fl_rollback_last_change.

Call this ONLY after the user approves the exact change in conversation (Mix Doctor never auto-applies). 'trim_volume' sets a mixer track's fader to target_db. For grouping use fl_group_tracks; for EQ use fl_apply_eq_intent.

Inputs: kind (required), track, target_db. Returns: object

fl_apply_reverb_intentApply a reverb intentA

Musical reverb moves on a Fruity Reeverb 2 (decay/wet/high-cut), as one undo-able group. Returns readback strings. Revert: fl_rollback_last_change.

Inputs: slot (required), track (required), intent (required), intensity. Returns: object

fl_arrange_add_markerAdd a section marker at a barA

Add a named timeline marker at a bar (intro/verse/chorus/drop).

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

fl_arrange_clone_patternClone a pattern (copies notes)A

Clone a pattern (copies its notes) and rename the clone -- e.g. for verse -> verse2 variations.

Inputs: src (required), new_name (required). Returns: object

fl_arrangement_markersList arrangement markersB
Read-onlyIdempotent

List named timeline markers (intro/verse/drop/...), best-effort + capped.

Inputs: no named parameters. Returns: object

fl_arrangement_selectionGet arrangement selectionA
Read-onlyIdempotent

Read the arrangement timeline selection (start/end/active) + current playhead time. Read-only (FL can't author playlist clips via scripting).

Inputs: no named parameters. Returns: object

fl_arrange_new_patternNew named pattern (selects it)A

Create + select + name the next empty pattern. After this, the note bridge (fl_write_piano_roll_notes) writes INTO this pattern.

Inputs: name (required). Returns: object

fl_arrange_select_channelSelect channel (note-bridge target)A

Select a Channel Rack channel. An already-open Piano Roll can keep its previous channel; rack selection alone does not verify or retarget that editor. Confirm the Piano Roll target before writing notes.

Inputs: channel (required). Returns: object

fl_capabilitiesReport FL-MCP capabilitiesA
Read-onlyIdempotent

Report what this FL-MCP install can do automatically vs. what needs a manual step, for THIS OS and transport: MIDI-port mode (virtual vs. pre-created), note-bridge automation + the one-time arm, and the FL API limits. Call this to explain setup or why a note-write might not land.

Inputs: no named parameters. Returns: object

fl_clear_mute_soloClear all mutes + solosA

Unmute and unsolo every mixer track (reset). The universal undo for the bulk solo/mute tools.

Inputs: no named parameters. Returns: object

fl_detect_cleanup_candidatesDetect cleanup candidates (read-only)A
Read-onlyIdempotent

Flag (do NOT touch) empty channels + unused mixer tracks, each with a reason. Judgement is computed server-side from cheap controller reads. Channel emptiness is a name heuristic; unused-track detection is reliable.

Inputs: no named parameters. Returns: object

fl_diagnose_mixDiagnose the mix (Mix Doctor)A
Read-onlyIdempotent

Scan the WHOLE mix and report problems + proposed fixes. READ-ONLY.

Transparent threshold rules (clipping, headroom, level imbalance, missing high-pass, ungrouped tracks, EQ clashes) on a thin paginated snapshot; returns findings (severity + exact evidence) + concrete proposals.

IMPORTANT: this samples peaks over only ~1.2s -- one MOMENT of the song, so it can MISS clipping in a drop/chorus that isn't playing right now. For full-song-accurate levels use WATCH mode: fl_mix_watch_start -> play the whole song -> fl_mix_watch_stop. If stopped, level rules are skipped (needs_playback). Applies nothing.

Inputs: no named parameters. Returns: object

fl_export_midiExport arrangement to .midA

Write a type-1 multi-track .mid from an arrangement spec. YOU (Claude) generate the whole arrangement -- multiple named tracks, each with notes {pitch, start_bars, length_bars, velocity} across all sections -- and this writes ONE .mid. Bypasses the note-bridge's one-pattern + MCP_Apply limits.

Does NOT touch FL: IMPORT the file yourself (FL: File > Import > MIDI file, or drag it into the playlist). FL won't auto-load instruments -- assign a channel to each imported track. Returns the saved file path.

Inputs: tracks (required), bpm, output_path, beats_per_bar. Returns: object

fl_extract_chordsExtract chords/polyphonic notes from audio (Basic Pitch)A

Transcribe POLYPHONIC audio (full chords) to notes with Basic Pitch. Returns a per-bar chord progression and writes every note to a .mid; include_notes also returns bridge_notes for fl_write_piano_roll_notes. Does NOT write to FL; review first.

Inputs: path (required), bpm, max_notes, save_midi, +3 more. Returns: object

fl_extract_drumsDrums to MIDI / step sequencerA

Detect the hits in a drum loop or stem and sort them into kick, snare, clap, closed and open hi-hat. Always writes a .mid to ~/.flstudio-mcp/exports and returns per-kind step patterns. With to_channels, also writes those steps into the CURRENT pattern of the given channels (one undo step: fl_rollback_last_change).

Inputs: path (required), bpm, bars, start_bar, +1 more. Returns: object

fl_extract_melodyExtract melody from audio (pyin/CREPE)A
Read-onlyIdempotent

Transcribe a monophonic melody to quantized notes; engine-selectable (CREPE = accurate/heavy, pyin = light). Returns ALL notes with confidence

  • a kept flag; bridge_notes holds only the confident notes, ready for fl_write_piano_roll_notes. Does NOT write to FL -- review first.

Inputs: path (required), bpm, engine, min_conf. Returns: object

fl_gain_stageGain staging assistant (Mix Doctor)A
Read-onlyIdempotent

Propose per-track fader trims so each track's peak sits in a healthy band (~-12..-6 dBFS, aim -9) and the Master keeps -3..-6 dB headroom. READ-ONLY proposals -- apply approved ones via fl_apply_mix_fix (rollback).

Uses FULL-SONG peaks from a recent watch (fl_mix_watch_start -> play -> fl_mix_watch_stop) when available; else a ~1.2s snapshot (prefer watch). FL's fader is POST-chain, so this sets a track's OUTPUT level, not a true pre-plugin input trim.

Inputs: no named parameters. Returns: object

fl_get_channel_colorRead channel colorA
Read-onlyIdempotent

Channel color: {channel, color:{int, hex, r, g, b}} -- read-only counterpart of fl_set_channel_color.

Inputs: channel (required). Returns: object

fl_get_channel_routingGet channel->mixer routingA
Read-onlyIdempotent

Which mixer track each channel-rack channel is linked to: {total, channels:[{channel, name, target_mixer_track, target_name}]}.

Inputs: no named parameters. Returns: object

fl_get_channel_stateGet channel stateA
Read-onlyIdempotent

All channel-rack channels (index, name, volume, pan, mute, solo).

Inputs: no named parameters. Returns: object

fl_get_mixer_stateGet mixer stateA
Read-onlyIdempotent

All mixer tracks (index, name, volume, pan, mute, solo). Names in this overview are truncated; use a single-track read for the full name.

Inputs: no named parameters. Returns: object

fl_get_play_stateGet play stateA
Read-onlyIdempotent

Return whether FL is currently playing and / or recording.

Inputs: no named parameters. Returns: object

fl_get_project_stateGet project stateB
Read-onlyIdempotent

Tempo, transport state, pattern/channel/mixer counts.

Inputs: no named parameters. Returns: object

fl_get_routingGet mixer track routingA
Read-onlyIdempotent

Which destination tracks this mixer track sends to: {track, name, routes_to:[{dst, dst_name, level?}]}.

Inputs: track (required). Returns: object

fl_get_routing_allGet full routing matrixA
Read-onlyIdempotent

Routing for every mixer track (paginated under the hood, returned whole): {total, routing:[{i, name, routes_to:[...]}]}.

Inputs: no named parameters. Returns: object

fl_get_song_positionGet song position (beats)A
Read-onlyIdempotent

Return the current playhead position in beats from the song start.

Inputs: no named parameters. Returns: object

fl_get_step_gridRead step sequencerA
Read-onlyIdempotent

Which step-sequencer steps are on for a channel in the CURRENT pattern, plus a pattern string ('x' on, '.' off).

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

fl_get_tempoGet tempo (BPM)A
Read-onlyIdempotent

Return the current FL Studio project tempo in beats per minute.

Inputs: no named parameters. Returns: object

fl_get_track_colorRead mixer track colorA
Read-onlyIdempotent

Mixer track color: {track, color:{int, hex, r, g, b}} -- read-only counterpart of fl_set_track_color.

Inputs: track (required). Returns: object

fl_get_track_levelGet track level (dB)A
Read-onlyIdempotent

Measure a mixer track's level by sampling meter peaks over a short window. Requires PLAYBACK -- returns playing=False (avg/peak null) when stopped/silent. {track, playing, avg_db, peak_db}.

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

fl_group_tracksGroup tracks into a busA
Idempotent

Group sources into a bus, EXCLUSIVELY: each source -> bus ON and its direct -> Master OFF; bus -> Master ON; optional bus rename. Applied as ONE rollback unit -- fl_rollback_last_change undoes the whole grouping.

Inputs: bus (required), sources (required), name. Returns: object

fl_list_chainsList genre chainsA
Read-onlyIdempotent

List the built-in genre processing-chain recipes (vocal, drum_bus, bass, master) and their ordered steps.

Inputs: no named parameters. Returns: object

fl_list_installed_pluginsList installed plugins (FL DB on disk)A
Read-onlyIdempotent

Read FL's installed-plugin DATABASE from disk (the .fst shortcuts FL writes for every scanned plugin) -> a de-duped, categorized list of what you OWN. Bypasses the FL API (which only sees LOADED plugins). FL still can't LOAD these -- it's for library-aware suggestions. effects_by_role is a rough keyword grouping (Claude should apply its own plugin knowledge). Read-only (directory listing only).

Inputs: kind. Returns: object

fl_list_presetsList presets (from disk)A
Read-onlyIdempotent

Read preset NAMES from disk: FL Presets\ (per-plugin 'Plugin presets', plus Channel/Mixer presets) + Serum 2 Presets (.serumpreset). With NO filter -> a SUMMARY (which plugins have presets + counts). With plugin_filter -> that plugin's full preset list. Read-only. FL can't LOAD presets via the API -- this is for suggestions (you load the named preset, then Claude can tweak it).

Inputs: plugin_filter. Returns: object

fl_load_pluginLoad a plugin (NOT supported by FL API -- explains why)A
Read-onlyIdempotent

Attempt to load a plugin -- but FL's scripting API CANNOT do this, so this tool instead explains why, the drawbacks of UI-automation workarounds, and the reliable path (load manually or use a template), then tells you exactly how to control the plugin once it's loaded. Call it to understand the limitation rather than expecting an actual load.

Inputs: name (required), as_generator, attempt_focus. Returns: object

fl_mix_watch_startStart full-song peak watch (Mix Doctor)A
Read-onlyIdempotent

Begin a peak-HOLD watch: continuously sample every mixer track's peak, keeping a RUNNING MAX per track, until fl_mix_watch_stop. Tell the user to PLAY the whole song (or at least the loudest section / the drop) while this runs -- then stop for full-song-accurate level diagnosis. Read-only.

Inputs: interval_ms. Returns: object

fl_mix_watch_statusPeak watch status (Mix Doctor)A
Read-onlyIdempotent

Is a peak watch running, and for how long / how many polls so far?

Inputs: no named parameters. Returns: object

fl_mix_watch_stopStop peak watch + diagnose (Mix Doctor)A
Read-onlyIdempotent

Stop the peak watch and diagnose on the FULL-SONG running-max peaks captured across the whole watch (accurate clipping/headroom/imbalance vs the ~1.2s snapshot). Read-only -- proposes fixes, applies nothing.

Inputs: no named parameters. Returns: object

fl_mute_tracksMute a group of tracksA

Mute a group of tracks (leaves the others as they are). Use category or explicit tracks. One rollback unit; reverse with fl_clear_mute_solo.

Inputs: tracks, category. Returns: object

fl_pattern_get_lengthGet pattern lengthB
Read-onlyIdempotent

Pattern length in BEATS (FL's native unit) + derived ticks and bars (via RecPPQ / RecPPB), plus its name and current selection state.

Inputs: index (required). Returns: object

fl_pattern_listList patternsA
Read-onlyIdempotent

List patterns: {total, patterns:[{pattern (1-based), name}]}. Paginated (600-byte pages); omit limit to walk every page.

Inputs: limit, start. Returns: object

fl_pattern_renameRename a patternA
Idempotent

Rename a pattern. One rollback step: restores the old name.

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

fl_pattern_selectSelect a patternA
Idempotent

Make a pattern the current one (index must exist -- FL silently clamps out-of-range jumps, so we reject them). One rollback step: restores the previously selected pattern. Reports prev_index / prev_name.

Inputs: index (required). Returns: object

fl_pingPing FL StudioA
Read-onlyIdempotent

Check that FL Studio is running and the controller script is loaded.

Returns status (READY, FL_CLOSED, CONTROLLER_MISSING, NO_HEARTBEAT, VERSION_MISMATCH, ...) and next: the one step that fixes it. Call this first, and again whenever another tool fails.

Inputs: no named parameters. Returns: object

fl_playPlayA
Idempotent

Start playback. Idempotent — calling while already playing is a no-op.

Inputs: no named parameters. Returns: object

fl_playlist_mute_trackMute/unmute a playlist trackB
Idempotent

Set a playlist track's mute state (reversible).

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

fl_playlist_rename_trackRename a playlist trackC
Idempotent

Rename a playlist track (reversible).

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

fl_playlist_set_track_colorColor a playlist trackA
Idempotent

Set a playlist track's color by name or hex (reversible).

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

fl_playlist_solo_trackSolo/unsolo a playlist trackA
Idempotent

Set solo only when other tracks have no mute/solo state to disturb.

FL solo can change other tracks. Refuse complex existing state rather than recording a single-track undo that cannot restore it.

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

fl_playlist_tracksList playlist tracksA
Read-onlyIdempotent

List playlist tracks (1-based) with name + mute/solo state.

Returns {total, start, tracks, next_start}. Pass next_start as start for the following page; next_start is null at the end.

Inputs: limit, start. Returns: object

fl_plugin_calibrate_paramCalibrate a plugin parameterA
Idempotent

Learn a parameter's real-unit mapping by sweeping it 0..1 and reading FL's display string at each step (then restoring it). Returns the unit (dB/Hz/ms/%/ratio/...) and a norm<->value curve, cached on disk per plugin. Enables fl_plugin_set_param_value. The param is left unchanged.

Inputs: slot (required), param (required), track (required), steps. Returns: object

fl_plugin_find_paramsFind plugin parameters by nameA
Read-onlyIdempotent

Search a plugin/generator's parameters by name -- essential for big synths (Serum/Vital expose hundreds of params) where a full dump is unwieldy. Returns the matching {i,name,v,s} entries plus counts.

Inputs: slot (required), query (required), track (required), limit. Returns: object

fl_plugin_get_paramsGet plugin parametersB
Read-onlyIdempotent

Every named parameter of the plugin in this slot: index, name, normalised value (0..1) and FL's display string (e.g. '3.6dB', '500Hz'). Returns {"total", "params":[{"i","name","v","s"}, ...]}.

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

fl_plugin_intentApply a semantic plugin intentA
Idempotent

Shape ANY plugin by intent, without knowing its param names: locate the relevant knob by keyword (e.g. 'brighter' -> filter cutoff), calibrate it, and nudge it in the right direction/amount. Reversible via fl_rollback_last_change. Returns the param it moved + achieved value. Falls back with a clear message if no matching param or it's opaque.

Inputs: slot (required), track (required), intent (required), amount. Returns: object

fl_plugin_listList plugins on a mixer trackA
Read-onlyIdempotent

List the filled effect slots (0-9) on a mixer track, with plugin names.

We cannot load NEW plugins (FL API limit) -- this only reports plugins already present in the project.

Inputs: track (required). Returns: object

fl_plugin_overviewPlugin overview (grouped + controllability)A
Read-onlyIdempotent

A digestible map of a plugin/generator: parameters grouped by musical role (oscillator/filter/envelope/lfo/amp/fx/...), plus a controllability tier (full / partial / opaque) so you know whether unit-targeted control or raw normalised nudging is appropriate. Ideal first call for a big synth (Serum/Vital) before diving into specific params.

Inputs: slot (required), track (required), per_role. Returns: object

fl_plugin_presetPlugin preset info / next / prevA
Destructive

Read or navigate a plugin's presets. op=info (read-only) returns {preset_count, plugin_name, name_f3, name_f6}; name_f6 is the CURRENT preset name (via midi.GPN_GetCurrentPreset) -- name_f3 is usually empty, don't rely on it. op=next/prev step the preset but have NO ROLLBACK (see the response's warning): FL 26 cannot set a preset by name/index, and navigation itself is best-effort. The response carries a fresh-tick info re-read (current) because the same-RPC name can lag the navigation.

Inputs: track (required), op, slot. Returns: object

fl_plugin_set_paramSet plugin parameterA
Idempotent

Set one plugin parameter (normalised 0..1), then VERIFY it landed.

param may be an index or a name; names are resolved from the live param list. The change is logged ONCE and undo-able via fl_rollback_last_change. Returns before/after (unchanged shape) plus the resolved {index, name} and, because the value is checked on a fresh re-read, verified: bool and attempts: int (1 = it stuck first try); attempts can reach 4 (1 write + 3 retries) and a hint explains a verified: false.

RECIPE (FL API limits, measured on FL 26): verified is the source of truth, not the request. Levels/gains take an arbitrary 0..1 value; stepped params (filter types, orders, selectors) snap to their own grid, so an off-grid request comes back verified: false with the snapped value in after; some params (EQ2 band widths) ignore writes entirely. An open plugin window (pickup mode) did not block script writes in our test. Values are the normalised 0..1 domain shown by fl_plugin_get_params -- read after.s for the display string.

Inputs: slot (required), param (required), track (required), value (required). Returns: object

fl_plugin_set_paramsSet several plugin parametersA
Idempotent

Set several parameters of ONE plugin as a single rollback unit.

Every entry of writes ({param, value}; param is an index or a name) is written through ONE safety.safe_write_group call: one changelog entry, so fl_rollback_last_change restores ALL of them back to their original values in one step. Writes are paced 0.4 s apart (FL drops back-to-back writes), each is re-read and retried up to 3 times if it did not land, and results reports per-param {param, ok, verified, requested, attempts, before, after}.

RECIPE: same FL 26 limits as fl_plugin_set_param -- trust verified, not the request: stepped params snap to their grid, some params ignore writes entirely, values are the normalised 0..1 domain (see that tool's docstring for the full map). Prefer this over repeated fl_plugin_set_param calls whenever 2+ knobs change: it is one undo step and one paced burst instead of several. Worst case (every param refused) is ~1.6 s of retries per entry, so a full 16-entry batch can take ~25 s -- keep batches focused on the knobs you mean to change.

Inputs: slot (required), track (required), writes (required). Returns: object

fl_plugin_set_param_valueSet a plugin parameter to a real-unit valueA
Idempotent

Set a parameter to a MUSICAL target in its real unit (Hz/dB/ms/%/...), auto-calibrating first (cached). Falls back with a clear message if the plugin is opaque or the param isn't monotonic -- then use fl_plugin_set_param with a normalised 0..1 value instead. Reversible via fl_rollback_last_change; reports the achieved display string.

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

fl_quantize_patternQuantize piano-roll notesA

Quantize the notes ALREADY in the open Piano roll: reads the score, snaps note starts (and optionally lengths) to the grid, rewrites -- via the pyscript bridge, no dialog. Needs the Piano roll open + MCP_Apply armed once this session (same setup as note writing).

Inputs: grid_bars, snap_ends. Returns: object

fl_recordToggle recordA
Destructive

Toggle FL Studio's record-arm state.

Inputs: no named parameters. Returns: object

fl_reference_matchReference match (level/balance)A
Read-onlyIdempotent

Compare your mix's LEVEL + rough tonal BALANCE to a reference track. READ-ONLY. Analyzes the reference FILE (overall level + low/mid/high spectral-band shares) and your mix (Master peak for level + a ROUGH name-based band estimate). HONEST: a level/balance compare, NOT a spectral match -- FL doesn't expose its output audio, so the your-mix balance is estimated from track names + peaks. Suggests adjustments; applies nothing.

Inputs: reference_audio_path (required). Returns: object

fl_rollback_last_changeRollback last changeA
Destructive

Undo the most recent write by replaying its pre-change snapshot.

Inputs: no named parameters. Returns: object

fl_screenshotScreenshot (agent debugging)A
Read-only

Capture FL Studio's window to a PNG -- for AGENT DEBUGGING (see the plugin window, the hint bar, focus), not part of the music workflow. Only that window is captured by default; set whole_screen=True to capture the entire display, or region=[x,y,w,h] for an explicit crop.

Returns {ok, target, path, size, width, height}; Read the path to view it. target is "window", "screen" or "region". Files go to ~/.flstudio-mcp/shots/.png and are cleaned up after 7 days. path= accepts only a name or path INSIDE that shots directory (it is resolved and bound there -- the tool never writes elsewhere) and never overwrites an existing file.

Coordinates: region is in LOGICAL points -- the space pyautogui clicks in, NOT image pixels. A retina PNG is 2x bigger than the logical screen (E-0 Q5 measured: logical 1710x1107 -> PNG 3420x2214, factor exactly 2.0 on this display). To convert screenshot pixels to click coordinates: logical = px / (png_width / logical_screen_width) -- measure that ratio per display (pyautogui.size() vs the returned width), never hardcode 2.0. width/height here are PNG pixels.

Inputs: path, region, whole_screen. Returns: object

fl_set_channel_colorColor channelsA

Set the color of channel-rack channels (separate from mixer-track color). Target by index or name substring. ONE rollback unit -- fl_rollback_last_change reverts it. Note: FL's RGBToColor quantizes some colors (live: '#00FF00' reads back as '#14FF14') -- verify with fl_get_channel_color.

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

fl_set_channel_muteSet channel muteA
Idempotent

Mute or unmute a channel-rack channel (state=True mutes).

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

fl_set_channel_panSet channel panA
Idempotent

Set a channel-rack channel's pan position (-1 left .. +1 right).

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

fl_set_channel_soloSet channel soloA
Idempotent

Solo or unsolo a channel-rack channel (state=True solos).

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

fl_set_channel_volumeSet channel volumeA
Idempotent

Set a channel-rack channel's volume. unit='db' uses 0.8=unity (0 dB).

Inputs: value (required), channel (required), unit. Returns: object

fl_set_dry_runSet dry-run modeA
Idempotent

When on, write tools return a 'planned' preview without changing FL.

Inputs: enabled (required). Returns: object

fl_set_mixer_muteSet mixer track muteB
Idempotent

Mute or unmute a mixer track (state=True mutes).

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

fl_set_mixer_nameSet mixer track nameA
Idempotent

Rename a mixer track.

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

fl_set_mixer_panSet mixer track panA
Idempotent

Set a mixer track's pan position (-1 left .. +1 right).

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

fl_set_mixer_soloSet mixer track soloB
Idempotent

Solo or unsolo a mixer track (state=True solos).

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

fl_set_mixer_volumeSet mixer track volumeA
Idempotent

Set a mixer track volume. unit='db' uses 0.8=unity (0 dB).

Inputs: track (required), value (required), unit. Returns: object

fl_set_routeSet mixer routing (src -> dst)A
Idempotent

Enable/disable a send from src -> dst (calls afterRoutingChanged on the FL side). Snapshot + readback; undo with fl_rollback_last_change.

Inputs: dst (required), src (required), enabled. Returns: object

fl_set_song_positionSet song position (beats)A
Idempotent

Move the playhead to the given beat position.

Inputs: beats (required). Returns: object

fl_set_step_gridWrite step sequencer (drum pattern)A
Idempotent

Set a channel's step-sequencer steps in the CURRENT pattern: exactly the given steps on, the rest of 0..length-1 off. Snapshot, read back, undo with fl_rollback_last_change.

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

fl_set_tempoSet tempo (BPM)A
Idempotent

Set the FL Studio project tempo. Range is 10-999 BPM (FL's own limits).

Reversible like every other write: fl_rollback_last_change restores the tempo that was set before.

Inputs: bpm (required). Returns: object

fl_set_track_colorColor mixer tracksA

Set the color of mixer tracks. Pick targets by category ('drums', 'bass', ...) or an explicit tracks list; choose a color by name or hex. All writes are ONE rollback unit -- fl_rollback_last_change reverts them. (Master is never colored.)

Inputs: color (required), tracks, category. Returns: object

fl_setup_chainSet up a genre chain (plan)A
Read-onlyIdempotent

Plan a genre-appropriate processing chain over a track's EXISTING plugins. READ-ONLY plan: returns the ordered intent calls (each with the matched plugin + slot) and which steps are MISSING because the needed plugin isn't loaded (FL can't load plugins -- add those manually). After the user approves, apply each step by calling its 'apply' tool+args (fl_apply_eq_intent / fl_apply_compression_intent / fl_apply_reverb_intent -- each logged + rollback-able). e.g. vocal: HP -> comp -> presence -> air -> reverb.

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

fl_solo_tracksSolo a group of tracksA

Isolate a group so only it is audible -- mutes every OTHER (non-Master) track. Use category ('drums', etc.) or explicit tracks. Implemented as mute-the-rest (reliable; FL's multi-solo is inconsistent). Reverse with fl_clear_mute_solo. One rollback unit.

Inputs: tracks, category. Returns: object

fl_stopStopA
Idempotent

Stop playback. Idempotent.

Inputs: no named parameters. Returns: object

fl_suggest_presetSuggest a preset by descriptionA
Read-onlyIdempotent

Suggest presets from YOUR library matching a description, for a given plugin. Reads the plugin's preset NAMES from disk + ranks by name match. Name-only (can't hear the sound) -- apply your own knowledge of preset naming. FL can't LOAD presets via the API: recommend which to load in the plugin manually; AFTER the user loads it you can tweak its params via fl_plugin_set_param / fl_apply_*_intent.

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

fl_take_snapshotTake snapshotA
Read-onlyIdempotent

Read current state for a scope (for your own before/after diffing).

Inputs: scope (required). Returns: object

fl_toggle_playToggle playA

Toggle between play and stop, mirroring the spacebar in FL.

Inputs: no named parameters. Returns: object

fl_undoFL Undo (one step, NOT rollback-covered)A
Destructive

One FL undo step (general.undoUp). WARNING: not covered by fl_rollback_last_change -- undo jumps FL's own history and nothing readable describes what was undone, so no snapshot exists. Undo and rollback do NOT commute (see the response warning); coverage varies by action type. The response includes last_rollback -- the newest changelog entry, which an undo may have just cancelled.

Inputs: no named parameters. Returns: object

fl_write_piano_roll_notesWrite piano-roll notesA
Destructive

Write notes into the currently-open FL Piano roll.

Each note: {pitch (MIDI), time_bars, length_bars, velocity 0-1, porta (optional, slide into the note)}. Set quantize (grid in bars) to snap note starts to a grid before writing. Setup: open the Piano roll and run 'MCP_Apply' once from its Scripting menu (so Run last script again targets it). mode='replace' clears first.

Inputs: notes (required), mode, quantize. Returns: object

fl_write_raga_chordsWrite raga/scale CHORDSA
Destructive

Write CHORDS / a progression (stacked notes sharing start times) into the selected channel via the bridge. YOU stack chord tones drawn from the raga/scale (give simultaneous notes the SAME time_bars). Tool selects the channel + writes. SHOW the user the chords BEFORE calling.

Inputs: notes (required), mode, raga, root, +1 more. Returns: object

fl_write_raga_melodyWrite a raga/scale MELODYA
Destructive

Write a MELODY (single-line, sequential notes) into the selected channel via the piano-roll bridge. YOU (Claude) generate the swaras for the named raga/root -> MIDI notes (use the proper aarohana/avarohana; respect the raga's allowed swaras); this tool only selects the channel + writes. SHOW the user the notes/swaras BEFORE calling. Needs the Piano roll open + MCP_Apply armed once this session (see the note-bridge setup).

Inputs: notes (required), mode, raga, root, +1 more. Returns: object

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 96 tools

    Disambiguation4/5

    Despite the very large surface, most tools target a clear action+resource pair, and descriptions actively distinguish close neighbors such as fl_plugin_set_param vs. fl_plugin_set_param_value vs. fl_plugin_intent. Some boundaries remain easy to blur, especially transport (fl_play/fl_stop/fl_toggle_play), bulk mute/solo utilities, and the many mix-analysis helpers, but the descriptions generally prevent misselection.

    Naming Consistency3/5

    All names use the fl_ prefix and snake_case, but the set mixes verb-first and domain-first conventions: fl_get_tempo / fl_set_tempo alongside fl_plugin_list, fl_pattern_rename, fl_arrangement_markers, and fl_playlist_tracks. The grouping is still readable, but the inconsistency is more than minor.

    Tool Count1/5

    96 tools is an extreme surface for a single MCP server, far beyond the 3-15 well-scoped range. Even though many tools are niche but valid, the volume creates selection overhead and makes the server difficult for an agent to use coherently as one toolset.

    Completeness4/5

    The surface covers a wide FL Studio workflow: transport, tempo, mixer/channel state, routing, patterns, playlist tracks, plugin parameters, audio extraction, MIDI export, mix diagnosis, snapshots, rollback, and setup diagnostics. There are notable gaps such as true plugin/preset loading, playlist clip authoring, and some deeper editing operations, but many are explicitly constrained by FL's API and documented as such.

    Maintenance

    ActivityActive
    ResponsivenessUsually handled

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables an AI agent to drive FL Studio 2025 through the DAW's own state rather than screenshots: reading project, mixer and plugin state, measuring and diagnosing the mix, moving faders, applying effects, and writing notes into the piano roll via natural language. Changes can be previewed with dry runs, snapshotted and rolled back so edits stay verifiable and safe.
      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
      C
      maintenance
      Enables an AI assistant to turn feelings or high-level sonic references into original FL Studio arrangements and to inspect and control tempo, transport, mixer, Channel Rack, loaded plugin parameters, and Piano Roll notes through MCP tools.
      MIT
    • A
      license
      C
      quality
      B
      maintenance
      Enables AI assistants to control FL Studio’s transport, mixer, Channel Rack, and stock plugins, generate beats/chords/melodies as MIDI, analyze mixes against streaming LUFS targets, and coach vocal timing and pitch through MCP tools and live state resources.
      37
      MIT