
FL Studio MCP Mac
io.github.purahmanian由 GitHub 账号 purahmanian 发布v0.1.2更新于 Oct 24, 2026
macOS-first MCP bridge for FL Studio using CoreMIDI and FL Studio Python MIDI scripts.
概览
一个本地 macOS MCP 桥接服务,让助手通过 CoreMIDI 控制 FL Studio 的走带、速度、混音器和通道,并排队 MIDI 音符。
- 可以做什么
- 通过本地 MIDI 桥接检查 FL Studio 状态与健康状况,并控制走带(播放、停止、录音切换、倒回、歌曲/样式模式、节拍器)和速度变更。读取混音器轨道和通道机架内容,并执行明确的混音器与通道修改。生成可导入 FL Studio 的标准 MIDI 文件。排队 Piano Roll 音符,需在目标 Piano Roll 中运行随附的 FL Studio 脚本才会写入。
- 适用场景
- 适合在 macOS 上让助手操作 FL Studio 的会话状态、调整速度、混音器和通道,或从聊天客户端准备 MIDI 音符数据与文件。它是 alpha MVP,更适合试验而非完整的无头 DAW 自动化。
- 运行要求
- 需要 macOS 和已安装的 FL Studio,以及本地安装的 Python 3 和 flstudio-mcp-mac PyPI 包。安装程序会把 FL Studio 硬件脚本和 Piano Roll 脚本复制到 FL Studio 的设置目录。需在 FL Studio 的 MIDI 设置中把 FLStudioMCP Request 和 Response 虚拟端口映射到控制器。无需账户、API 密钥或网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 FL Studio MCP Mac,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
FL Studio MCP Mac
macOS-first MCP bridge for FL Studio. It exposes FL Studio transport, mixer, channel, MIDI export, and Piano Roll note-apply workflows to MCP clients such as Claude Desktop, Claude Code, Cursor, and other MCP-capable tools.
This is an alpha MVP. It is intentionally scoped around FL Studio's documented Python MIDI scripting and Piano Roll scripting APIs. It does not promise full headless FL Studio automation.
Why This Exists
Most FL Studio MCP work today is Windows-oriented. macOS has a cleaner CoreMIDI path for virtual ports, and FL Studio supports Python-based MIDI scripts on macOS. This project turns that into a small local MCP server plus companion FL Studio scripts.
What Works
- Live bridge over macOS virtual MIDI ports.
- FL Studio status and health checks.
- Transport: play, stop, record toggle, rewind, song/pattern mode, metronome toggle.
- Tempo changes.
- Mixer track reads and explicit track mutations.
- Channel Rack reads and explicit channel mutations.
- Standard MIDI file generation for import into FL Studio.
- Piano Roll queue file plus an included
.pyscriptto insert persistent notes.
Known Limits
- FL Studio's MIDI scripting API is not a complete DAW API.
- Loading plugins, loading arbitrary audio files, and rendering/exporting are not implemented here.
- Persistent note writing goes through the included Piano Roll script. The MCP server queues notes; you run
Scripts > FL Studio MCP Applyin the target Piano Roll. - Live bridge setup requires FL Studio's MIDI settings to map the request/response ports. The MCP server starts a singleton local MIDI daemon so Claude Desktop, Claude Code, and terminal tests share the same CoreMIDI endpoints.
Install
From this repo:
The installer copies:
device_FLStudioMCP.pyto~/Documents/Image-Line/FL Studio/Settings/Hardware/FLStudioMCP/FL Studio MCP Apply.pyscriptto~/Documents/Image-Line/FL Studio/Settings/Piano roll scripts/
Configure FL Studio on macOS
-
Start the MCP server once so it starts the local MIDI daemon and creates the virtual CoreMIDI ports:
You can stop this foreground MCP process after the ports appear. The background daemon keeps the
FLStudioMCP RequestandFLStudioMCP Responseports available for all MCP clients. -
Open FL Studio and go to
Options > MIDI Settings. -
In the input list, choose
FLStudioMCP Request. -
Set
Controller typetoFL Studio MCP Mac. -
Set the controller output to
FLStudioMCP Response. -
Restart the MCP client if needed. If duplicate
FLStudioMCPports appear, quit old MCP server processes and start the v0.1.1+ daemon again.
MCP Client Config
For detailed setup across Claude Desktop, Claude Code, Cursor, Windsurf, PyPI, and the MCP Registry, see docs/publishing.md.
Example Claude Desktop config:
For source installs where the command is not on PATH:
MIDI Note Workflow
Use fl_create_midi_file when you want a normal .mid file to import.
Use fl_queue_piano_roll_notes when you want to apply notes into the currently open Piano Roll:
- Ask the MCP client to queue notes.
- In FL Studio, open the target channel's Piano Roll.
- Run
Scripts > FL Studio MCP Apply.
Note shape:
Times are in beats. MIDI pitch uses the standard 0-127 scale.
Development
Set FLSTUDIO_MCP_BRIDGE=mock to run the MCP server with deterministic in-memory FL Studio responses for protocol tests:
Normal live mode uses a background daemon. For low-level debugging, set FLSTUDIO_MCP_BRIDGE=direct to make one MCP process own the virtual MIDI ports directly.
For live FL Studio validation steps, see docs/testing.md.
Protocol
The bridge sends base64 JSON over MIDI control-change frames on channel 16:
- CC 120: frame start
- CC 121: one base64 character
- CC 122: frame end
The FL script only accepts whitelisted command names and returns one JSON response for each request.
Privacy
This server runs entirely on your machine. It collects no telemetry and stores no data on any remote service. It communicates only with your local FL Studio instance over macOS virtual MIDI ports (CoreMIDI), and writes files only where you ask: generated MIDI files and the Piano Roll queue JSON under your local Music folder. No account, API key, or network connection is required, and nothing you do in FL Studio leaves your computer.
Built by
Built by Puya Ventures LLC. I build custom MCP servers and AI integrations. Get in touch: [email protected] | Portfolio: https://puyarahmanian.com
License
MIT. See LICENSE.
来源:README.md,提交 4be48b1
工具
0版本历史
1- v0.1.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分