Flstudio Mcp

io.github.rosasynthesiz由 GitHub 帳號 rosasynthesiz 發布v1.0.0更新於 Oct 24, 2026

Control FL Studio with Claude: in-DAW mixing, diagnosis, routing, and composition.

已驗證STDIO僅桌面開發者工具媒體與設計

概覽

AI 產生的概覽

一個 MCP 伺服器,讓助理在桌面上操控 FL Studio 2025:混音診斷、外掛參數控制、路由與 MIDI 編曲。

可以做什麼
診斷並修復混音:掃描削波、餘裕不足、電平失衡與 EQ 重疊,提出證據與建議修正,經核准後逐項套用並可回復,另支援增益分級與參考曲目比對。依名稱讀取與設定外掛參數,依已安裝的資料庫建議效果鏈與預設,並可批次 solo、靜音或為軌道與群組上色。在鋼琴捲簾中編曲:寫入音符與和弦、量化、建立多樣式編排並匯出多軌 MIDI。分析音訊:估計速度與調性,將旋律轉寫為 MIDI。讀取專案、混音器、播放控制、通道與樣式的即時狀態。
適用情境
適合在 FL Studio 工作的製作人,用自然語言要求混音檢查、人聲效果鏈、指定音階的和弦進行或完整編曲,由助理在 DAW 內執行。
執行需求
在 Windows 10/11 或 macOS 上執行的本機程序(不支援 Linux),需要 FL Studio 2025 或更新版本、Claude Desktop 或其他 MCP 用戶端、Python 3.10+。需建立兩個名稱嚴格為 FLStudioMCP RX 與 FLStudioMCP TX 的虛擬 MIDI 埠(Windows 用 loopMIDI,macOS 用 IAC Driver),安裝控制器腳本並在 FL 的 MIDI 設定中註冊,並執行橋接守護程序。MP3 分析可選裝 ffmpeg;macOS 需授予輔助使用權限。
安裝前請注意
它會修改專案:工具會寫入混音器、外掛、路由與鋼琴捲簾資料,但變更會先顯示、記錄並可回復。寫音符需每個工作階段執行一次 MCP_Apply;macOS 上守護程序會強制聚焦 FL 並送出快速鍵。外掛載入、音訊檔載入與算圖仍需手動完成。未宣告任何憑證。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Flstudio Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

flstudio-mcp

Control FL Studio with Claude: AI mixing, composition, and mix diagnosis through natural language.

[version] [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 lets Claude Desktop drive FL Studio 2025 directly — the mixer, plugins, piano roll, routing, and project — from plain-language requests. Ask for a mix diagnosis, a vocal chain, a chord progression in a particular scale, or a full arrangement, and Claude carries it out through FL's scripting API and a set of calibrated, safety-checked tools.

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

Quickstart

bat
scripts\install_windows.bat        :: controller + server + note bridgefl-studio-mcp-daemon               :: start the bridge, keep it running
bash
./scripts/install_macos.sh         # macOS: controller + server + note bridgefl-studio-mcp-daemon               # start the bridge, keep it running

Wire the two virtual MIDI ports in FL (loopMIDI on Windows, IAC Driver on macOS), arm MCP_Apply once in the piano roll, 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."

Full setup is below.

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).
  • 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.
  • 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).

The server exposes 67 tools across 14 categories, 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.
  • 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

  • Windows 10/11 (tested on Windows 11) or macOS
  • FL Studio 2025 or newer
  • Claude Desktop (or any MCP client)
  • Python 3.10+
  • Virtual MIDI ports:
    • Windows: loopMIDI (download)
    • macOS: the built-in IAC Driver
  • Optional: ffmpeg on PATH (for MP3 analysis)

Linux is not yet supported — contributions welcome.

Setup

  1. Create two virtual MIDI ports, named exactly FLStudioMCP RX and FLStudioMCP TX.

    Windows: create both ports in loopMIDI.

    macOS:

    • Open Audio MIDI Setup.
    • Choose Window > Show MIDI Studio.
    • Double-click IAC Driver.
    • Enable Device is online.
    • Create or rename two ports exactly:
      • FLStudioMCP RX
      • FLStudioMCP TX
  2. Install the controller script and server:

    Windows:

    bat
    git clone https://github.com/rosasynthesiz/flstudio-mcpcd flstudio-mcpscripts\install_windows.bat

    macOS:

    bash
    git clone https://github.com/rosasynthesiz/flstudio-mcpcd flstudio-mcpchmod +x scripts/install_macos.sh./scripts/install_macos.sh

    This copies the controller script, seeds the note-bridge pyscript (MCP_Apply), installs the server, and checks that your virtual MIDI ports exist. For audio features, add the optional extras:

    pip install -e ".[audio]"pip install -e ".[audio,audio-accurate]"
  3. Configure FL Studio — Options > MIDI Settings:

    • Enable FLStudioMCP RX as an input, set its controller type to FLStudioMCP, and give it a port number.
    • Enable FLStudioMCP TX as an output with the same port number.
    • View > Script output should show [FLStudioMCP] Ready.
  4. Start the bridge daemon (recommended) so the MIDI port is held by a stable process:

    bat
    fl-studio-mcp-daemon
  5. Register the server with Claude Desktop:

    Windows: %APPDATA%\Claude\claude_desktop_config.json

    macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

    json
    {  "mcpServers": {    "fl-studio": {      "command": "fl-studio-mcp",      "env": { "FLSTUDIO_MCP_TRANSPORT": "tcp" }    }  }}

    tcp routes through the daemon, which works regardless of how Claude Desktop launches the server. Omit the env var to let the server open the MIDI ports directly instead.

  6. Arm the note bridge (per session) — open the piano roll and run MCP_Apply once from its scripting menu, so note-writing works.

    On macOS, the note bridge re-triggers the armed script with Cmd+Opt+Y. Grant Accessibility permission to the app running the MCP server or daemon, for example Terminal, iTerm, Claude Desktop, or Cursor: System Settings > Privacy & Security > Accessibility.

Verify the connection by asking Claude to call fl_ping.

Troubleshooting

SymptomFix
Virtual MIDI ports not found / not detectedThe two ports must be named exactly FLStudioMCP RX and FLStudioMCP TX. Recreate them in loopMIDI (Windows) or IAC Driver (macOS), then re-run the installer.
No [FLStudioMCP] Ready in FL's Script outputThe 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 failsMake sure the daemon is running (fl-studio-mcp-daemon); check the transport matches (FLSTUDIO_MCP_TRANSPORT=tcp uses the daemon, unset uses direct MIDI); restart Claude Desktop after editing its config.
Note-writing does nothingRun MCP_Apply once from the piano roll's scripting menu this session — it arms the note bridge.
macOS note-trigger failsGrant 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 unavailableInstall the optional extras: pip install -e ".[audio]" (or ".[audio,audio-accurate]").

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)

Architecture

A thin controller script runs inside FL Studio and returns only cheap, raw data; all judgement — diagnosis, calibration, planning — happens server-side. A standalone daemon owns the MIDI port so the server works regardless of how the MCP client is launched. Note authoring uses a generated pyscript bridge: the daemon re-triggers the armed MCP_Apply script with the platform run-last-script shortcut after a brief window force-focus. Every project-modifying tool routes through a snapshot → write → readback → rollback safety layer backed by a persisted change log.

Design notes and findings are in docs/.

License

MIT — see LICENSE.

Status & contributing

Beta — the public 1.0 release. Windows and macOS are supported; Linux contributions are welcome. Issues and pull requests: github.com/rosasynthesiz/flstudio-mcp.

來源:README.md,提交 ba94a6d

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分