Skip to main content
Glama

FL Studio MCP

FL Studio MCP connects an MCP client to FL Studio through a virtual MIDI port and a small controller script that runs inside FL Studio. It lets an assistant inspect and edit many parts of an open project, including transport, mixer, channels, patterns, notes, and plugin parameters.

The repository also includes an optional Windows desktop adapter. It can take screenshots, try a sample drop into the Playlist, use the Plugin Picker, and render a saved project through FL Studio's command-line renderer. Those actions depend on the visible Windows desktop and should be checked in FL Studio after they run.

This project is maintained at prodlunaro-sketch/fl-studio-mcp. It builds on the MIT-licensed work by Zierax and earlier contributors. See Credits for the source projects.

What it can do

  • Control playback, recording, tempo, loop mode, and song position.

  • Read and change mixer tracks, channel settings, patterns, step sequences, and piano-roll notes.

  • Inspect and change parameters for plugins already loaded in the project.

  • Discover functions exposed by the installed FL Studio scripting API and call them through the raw API tools.

  • Read project, playlist, mixer, channel, and transport state.

  • Analyze an exported audio file with FFmpeg, including loudness, peaks, duration, and silence intervals.

  • On Windows, use optional desktop controls for screenshots, sample drops, plugin insertion, and rendering a saved .flp file.

FL Studio's scripting API cannot create a channel or load a sample into one. The Windows adapter can attempt a sample drop into the Playlist, and it can open the Plugin Picker. These UI actions need visual review. See Limitations.

Related MCP server: FL Studio MCP

Requirements

  • FL Studio 20.7 or newer, with its MIDI controller scripting API.

  • Python 3.10 or newer and uv.

  • A virtual MIDI port: loopMIDI on Windows, or the IAC Driver on macOS.

  • For Windows desktop tools, Windows with FL Studio open in the same logged-in desktop session. Install the optional windows-ui dependencies.

  • For audio analysis, ffmpeg and ffprobe available on PATH.

Quick start

Clone the repository, install Python dependencies, and install the FL Studio controller script. Full Windows and macOS instructions are in Setup.

uv sync

For Windows desktop tools, install the optional dependencies:

uv sync --extra windows-ui

Start loopMIDI and add a port. Copy fl_controller/device_FLStudioMCP.py into FL Studio's Settings/Hardware/FLStudioMCP folder, then select FL Studio MCP Controller for that MIDI input in FL Studio's MIDI settings. Restart FL Studio or update its MIDI scripts.

Configure your MCP client to launch the server from this repository. The command is:

uv run --directory <path-to-this-repository> fl-studio-mcp

The exact configuration format depends on the MCP client. The setup guide includes a JSON example. After connecting, call fl_connection_status to check the MIDI bridge.

Guides

Document

Contents

User guide

Setup checklist, working features, examples, and known limits

Setup

Windows and macOS installation instructions

Tool catalog

MCP tools grouped by function

Architecture

MIDI and JSON bridge, controller script, and hot reload

Troubleshooting

Common connection and setup issues

Limitations

FL Studio API limits and Windows UI adapter scope

Development

Project structure and contribution notes

Project layout

fl_controller/                 Script loaded by FL Studio
src/fl_studio_mcp/server.py    MCP server entry point
src/fl_studio_mcp/tools/       Transport, mixer, channel, pattern, and other tools
scripts/                       Setup helpers and piano-roll script
docs/                          Setup and feature documentation

License

MIT. See LICENSE and Credits.

Tool Schema Changelog

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

Loading tool schema changelog…

    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
      B
      quality
      B
      maintenance
      Enables AI assistants to control FL Studio bidirectionally through a chunked MIDI SysEx bridge and Win32 GUI automation, covering channel rack and step sequencing, patterns and playlist, mixer/EQ/plugin params, sample browsing, and project setup. Also generates Hard Techno MIDI and kick/rumble WAVs with DSP audio analysis, and can run fully in-memory via a mock mode for testing without a live DAW.
      32
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI assistants to drive a live FL Studio session at the engine level through 173 tools — cloning effects with their complete state, loading presets by name, swapping FX slots, editing piano roll and playlist clips, and switching arrangements. It loads a native extension inside FL's own Python process and verifies every mutation by readback, with version-gated loading that fails closed on unsupported builds.
      4
      MIT