Dorico Maestro
An AI composition partner that remote-controls Steinberg Dorico through the Model Context Protocol, enabling composers to create, edit, play back, and refine musical scores using natural language.
README
Dorico Maestro
An AI composition partner that remote-controls Steinberg Dorico through the Model Context Protocol (MCP).
Dorico Maestro turns Dorico into a shared canvas between a composer and an AI assistant. You discuss a musical idea in plain language; the assistant writes it into your open Dorico score, plays it back, and the two of you refine it together — bar by bar.
Status: early / experimental (v0.1). Connecting, reading live status and live note input are verified against Dorico 6. Most of the ~340 catalogued commands are not yet live-tested — each carries an honest status (
verified/broken/untested); see docs/dorico_command_catalog.md.
How it works
You ⇄ Claude (LLM) ⇄ Dorico Maestro (MCP server) ⇄ Dorico (Remote Control · WebSocket 127.0.0.1:4560)
│
└─ music21 ⇄ MusicXML (full-score generation & reading)
- Data-driven core — every Dorico command is described as data in
commands.yaml; one generic builder/executor sends them, so behaviour is consistent and adding a command is a data change, not new code. - Small, honest MCP surface — a handful of musical tools (
add_notes,transpose,playback, …), a genericrun_command, and adorico://commandsresource to discover the whole catalog.kOKfrom Dorico means accepted, not effective — results say which. - Full-score awareness — Dorico's API can only read the current selection, so whole-piece understanding uses MusicXML + music21.
Requirements
- Steinberg Dorico (Remote Control API; introduced in Dorico 4, tested on Dorico 6), with Remote Control enabled.
- Python 3.11+.
- An MCP client (Claude Desktop / Claude Code).
Install
git clone git@github.com:romanstark/dorico-maestro.git
cd dorico-maestro
python -m venv .venv
.venv\Scripts\activate # Windows (use source .venv/bin/activate on macOS/Linux)
pip install -e ".[dev]"
pytest # optional: 87 tests, no Dorico needed
Enable Dorico's Remote Control
- In Dorico, turn on the Remote Control API (it listens on
127.0.0.1:4560). - The first time Dorico Maestro connects, Dorico asks you to allow the connection — accept it. On the very first connect you may be prompted more than once (allow it twice); accept each time. A session token is then stored and reused, so later runs connect without a prompt.
Register with your MCP client
Add to your client's mcpServers config (adjust the path to your checkout):
{
"mcpServers": {
"dorico-maestro": {
"command": "/absolute/path/to/dorico-maestro/.venv/Scripts/python.exe",
"args": ["-m", "dorico_maestro.server"]
}
}
}
Restart the client, open a score in Dorico, then say "connect to Dorico".
Usage
Talk to the assistant naturally; it drives these tools:
connect_to_dorico,get_status— connect and read Dorico's live state.add_notes(["C4","E4","G4"], duration="quarter")— enter notes at the caret (accidentals like"F#5"/"Bb3"supported), then leaves note input cleanly.add_rest,transpose,switch_mode,playback,save.run_command(command_id, params)— the escape hatch for any catalogued command.- Resource
dorico://commands(anddorico://commands/{category|status}) — discover the full command set and its verification status.
What works / current limits
- Verified live: connect + status, note input (pitch/duration/accidental),
Edit.SelectAll/SelectNone/Copy,Window.SwitchMode,Play.Stop. - Selection-only reads: there is no "read bar N" — the API reads only the current selection; whole-score reading will go via MusicXML export + music21.
- Popover-only actions not yet supported: time/key signatures and dynamics are entered via a Dorico popover whose value the API can't fill, so those tools report the limitation instead of silently doing nothing.
kOK≠ effect: tools verify where they can and say so; otherwise confirm in the score.
Contributing
Contributions are very welcome — via GitHub Issues and Pull Requests. CI runs the tests and linter on every PR. Because the project is dual-licensed (see below), contributors sign a lightweight CLA. Start with CONTRIBUTING.md.
Good first tasks: live-verify untested commands (flip their status in
commands.yaml), enrich command params from Dorico's application.log, or help
build the MusicXML round-trip.
License
AGPL-3.0-or-later — see LICENSE. The software is free and open; if you deploy a modified version, you must share your source under the same license.
Commercial licensing: if you want to use Dorico Maestro in a proprietary or closed-source product (AGPL terms don't fit), a separate commercial license is available — contact Roman Stark (mail@romanstark.de).
Documentation
- docs/architecture.md — how the data-driven design fits together
- docs/protocol.md — the reverse-engineered Dorico Remote Control protocol
- docs/dorico_command_catalog.md — all ~340 command IDs
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。