
MCP 服务器使 LLM 助手能够与 FL Studio 的钢琴卷轴交互
概览
一个MCP(模型上下文协议)服务器,使像Claude这样的AI助手能够与FL Studio的钢琴卷轴交互。通过自然语言对话创建旋律、和弦进行和音乐模式。 点击这里查看播放列表:LLMs 和 FL Studio Piano Roll(MacOs 版本) 与Claude对话,观看你的音乐创意在FL Studio中即时显现:- 按名称或自定义音符生成和弦进行 - 创建旋律和贝斯线 - 修改现有MIDI音符 - 导出并分析钢琴卷轴状态 - - 音符自动显示,内置触发器!
概述(AI 翻译)
一个MCP(模型上下文协议)服务器,使像Claude这样的AI助手能够与FL Studio的钢琴卷轴交互。通过自然语言对话创造旋律、和弦进行和音乐模式,并支持自动、实时更新。
播放列表请见此处: 大型语言模型与FL录音室钢琴卷轴(MacOS版本)
概述
与Claude对话,观看你的音乐创意在FL Studio中瞬间呈现:
- 按名称或自定义音符生成和弦进行
- 创作旋律和贝斯线
- 修改现有的MIDI音符
- 导出和分析钢琴卷轴状态
- 零手动干预 - 笔记自动显示,内置触发器!
平台支持
** ✅ macOS(主版)** - 全自动触发功能,并与 osascript 集成 ** ⚠️ Windows(次要)** - 部分实现,可能需要额外配置
先修条件
- macOS 或 Windows(macOS 完全正常,Windows 需要更多改进)
- FL Studio(任何支持Python脚本的最新版本)
- Python 3.11+(由 uv 自动管理)
- MCP 兼容客户端(Claude 桌面版、Claude Code CLI 或其他 MCP 客户端)
- uv(快速 Python 包管理器 - 安装指南)
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
FL Studio Piano Roll MCP
An MCP (Model Context Protocol) server that enables AI assistants like Claude to interact with FL Studio’s piano roll. Create melodies, chord progressions, and musical patterns through natural language conversation with automatic, real-time updates.
See the playlist here: LLMs and FL Studio Piano Roll (MacOs Version)
Overview
Talk to Claude and watch your musical ideas appear instantly in FL Studio:
- Generate chord progressions by name or custom notes
- Create melodies and bass lines
- Modify existing MIDI notes
- Export and analyze piano roll state
- Zero manual intervention - notes appear automatically with built-in trigger!
Platform Support
✅ macOS (Primary) - Full auto-trigger functionality with osascript integration ⚠️ Windows (Secondary) - Partially implemented, may require additional configuration
Prerequisites
- macOS or Windows (macOS working fully, Windows needs more work)
- FL Studio (any recent version with Python scripting support)
- Python 3.11+ (managed automatically by uv)
- MCP-compatible client (Claude Desktop, Claude Code CLI, or other MCP client)
- uv (Fast Python package manager - installation guide)
macOS Accessibility Permissions
The auto-trigger uses pynput to send keystrokes to FL Studio. You must enable Accessibility access for Terminal (or your terminal app) and Claude Code (if using Claude Code CLI):
- Open System Settings → Privacy & Security → Accessibility
- Click the + button to add applications
- Add Terminal (or iTerm, Warp, etc.)
- Add Claude (Claude Code CLI) if you’re using it
- Ensure the toggles are enabled for each app
Without these permissions, the auto-trigger cannot send the Cmd+Opt+Y keystroke to FL Studio.
Installation
Quick Start (3 Commands)
git clone https://github.com/calvinw/fl-studio-mcp.git
cd fl-studio-mcp
./install_prerequisites.sh # Install uv and Python environment
./install_mcp_for_claude.sh # Register with Claude Code
Then restart Claude Code and you’re ready to go!
Usage
Quick Start (Every Session)
Step 1: Open FL Studio
- Open FL Studio
- Open or create a piano roll
Step 2: Initialize the Script
Run this script once to update and get ready to work with LLM:
Tools → Scripting → ComposeWithLLM
This sets up the piano roll state and clears the request queue (no dialog appears).
Step 3: Talk to Claude or your LLM
Now just talk to your AI assistant:
- “Add a C major chord”
- “Create a sad chord progression in Am”
- “Add a bass line”
- “Create a pentatonic melody”
Notes will appear automatically in FL Studio!
Important Tips
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →