Skip to main content
Glama
Boyan253

FL Studio 2025 AI Bridge

by Boyan253

FL Studio 2025 AI Bridge (fLMCP-2025)

A Model Context Protocol (MCP) bridge that lets an AI assistant (Claude, or any MCP client) read and control FL Studio — extended to actually work on FL Studio 2025 (build 25.2.5), whose locked-down control-script sandbox breaks every socket-based FL bridge.

Attribution

This project is a derivative of geezoria/FLStudioMCP (MIT), which provides the 159-tool MCP server and the FL-side device script. All original credit goes to that project — see LICENSE. This repo adds the FL Studio 2025 compatibility layer and a few new capabilities (below).


Why this fork exists

On FL Studio 2025 build 25.2.5, control-surface scripts run in a CPython sub-interpreter that blocks threads, sockets, and most os filesystem calls, and never calls OnIdle — so the upstream TCP bridge cannot even open its port. Full diagnosis (with every error, reproduced): docs/FL2025_SANDBOX.md.

This fork makes the bridge work anyway, using only the primitives FL 2025 does allow:

Addition

What it does

file-RPC transport

Request/response over two fixed JSON files (read/write only — no sockets, threads, mkdir, rename, unlink, or glob). Enable with FLMCP_TRANSPORT=file.

MIDI-wake

OnIdle is dead on this build, so the server sends a tiny MIDI note to the loopback port; FL's OnMidiIn (driven by the MIDI engine) fires and pumps the request.

Note recording

channels.triggerNote while recording writes pitched notes into the piano roll — bypassing the (sandbox-blocked) piano-roll file-staging path.

"Ears" (example)

Play a pattern → capture FL's live output via WASAPI loopback → analyse tempo/key/loudness/brightness with librosa. See examples/.

Verified working on FL Studio 2025 build 25.2.5: reads (project/transport/ channels/mixer), writes (tempo, step-sequencer beats, mixer), note recording, and audio analysis.

Related MCP server: FL Studio MCP Server

Quick start (Windows, FL Studio 2025)

git clone https://github.com/Boyan253/fl-studio-2025-ai-bridge.git
cd fl-studio-2025-ai-bridge
./scripts/install_windows.ps1

Then in FL Studio:

  1. Install loopMIDI and create a port (e.g. loopMIDI Port).

  2. Options > MIDI settings > Input: select the loopMIDI port and set Controller type = fLMCP Bridge (it appears in the "Scripts" section near the top — not alphabetically).

  3. Set FLMCP_TRANSPORT=file in your MCP client's env for this server (and FLMCP_MIDI_PORT if your port name differs from loopMIDI).

Smoke test:

$env:FLMCP_TRANSPORT="file"
.\.venv\Scripts\python.exe scripts\smoke_test.py

What works vs. doesn't on FL 2025 25.2.5

  • ✅ Reads, transport/mixer control, step-sequencer beats, tempo, note recording, audio analysis

  • ❌ Direct piano-roll editing (pianoroll.*) — the sandbox blocks its file staging (use note recording instead)

  • ❌ Playlist clip placement — limited by FL's public API

See docs/FL2025_SANDBOX.md for the complete story.

License

MIT — see LICENSE. Original work © the FLStudioMCP authors (geezoria/FLStudioMCP); FL-2025 additions contributed on top.

Install Server
A
license - permissive license
B
quality
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Boyan253/fl-studio-2025-ai-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server