FL Studio MCP
FL Studio has no external API, so AI models connect to it through virtual MIDI ports and a Python controller script running inside FL. I extended that connection so models can generate full songs, not just melodies and mixes.
This is built on the open-source flstudio-mcp project by rosasynthesiz. I vetted it, set it up on macOS, made the connection reliable and added support for FL templates and preset browsing.
- full songs generated
- 10
- AI detectors used
- 4
- checks flagged a song as AI
- 0 of 40
Where it stands
Models have generated 10 full songs inside FL Studio so far. I'm still refining the effects and mixing.
Built with
- MCP
- Python
- FL Studio scripting
- IAC Driver
- uv
- macOS LaunchAgent
How I built and tested it
- ReviewRead the installer and controller scripts before running anything, and confirmed the bridge only listens on the local machine.
- IsolateInstalled it in its own Python 3.12 environment, so nothing else on the Mac changed.
- ConnectLinked the server to FL Studio with two virtual MIDI ports.
- AutomateSet the bridge to start at login and restart after a crash, so it needs no Terminal commands.
- ExtendAdded FL templates and preset browsing, so models can build full songs from the sounds available.
- TestRan all 10 songs through SubmitHub, Let's Submit, detect.music and the open-source lofcz/ai-music-detector. Each tool gives a yes, maybe or no verdict rather than a score, and none of the 40 checks flagged a song as AI.
The hard part
FL Studio sends replies to the output port with the same number as the input. With both virtual ports on 42, replies looped back and the server heard nothing, and FL showed no errors. Moving one port to 43 fixed it.