
使用 melrose 工具播放音乐表达的 MCP 服务器( STDIO)
概览
melrêse是一种通过编程旋律来创作和演奏音乐的工具. 它使用自定义语言来作笔记并创建回路和音轨来播放. melrose-mcp是一个MCP服务器(STDIO),它使用melōse工具的软件包. 这个mcp服务器需要Go SDK安装. 要制作音乐,需要设置MIDI接收器,如DAW或硬件合成器. 安装 github.com/emiclei/ mellerse- mcp@latest - melrose play - melrose bpm - melrose devices - melrose change output device 互联网档案馆的存檔,存档日期2013-12-02. 将 melrose 中的节奏改为更低的值 下面的示例可以配置在克洛德桌面中. {"mcpServers":{"取出":{"命令":"/melrose-mcp","args": [}}}}}
概述(AI 翻译)
□ melrose-mcp (英语).
melrêse是一种通过编程旋律来创作和演奏音乐的工具. 它使用自定义语言来作笔记并创建回路和音轨来播放.
melrose-mcp是一个MCP服务器(STDIO),它使用来自[[T1]工具的包.
□ 安装
这个mcp服务器需要Go SDK安装. 要制作音乐,需要设置MIDI接收器,如DAW或硬件合成器.
安装 github.com/emiclei/ mellerse- mcp@latest
工具 # # 工具 # # 工具 # # 工具 # # # 工具 # # # # 工具 # # # 工具 # # # 工具 # # # 工具 # # # # 工具 # # # # # 工具 # # 工具 # # # # # 工具 # # # # # # # 工具 # # # # # # # 工具 # # #
- 玩游戏
- 冰块-bpm
- 设备
- melrose change output 设备
□会
将 melrose 中的节奏改为更低的值
[[T2]请求:
[T3]答复:
克洛德·德布西的曲调
[T4]答复:
[T5]请求:
[T6]答复:
□ 客户端中的配置
下面的示例可以配置在克洛德桌面中.
{ “McpServers”: {(英语: “冶炼”:{ “命令”:“/melrose-mcp”,“[“命令”:”/melrose-mcp",". “ar”: [. {\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢? {\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢? {\fn黑体\fs22\bord1\shad0\3aHBE\4aH00\fscx67\fscy66\2cHFFFFFF\3cH808080}你觉得呢?
□ 示例提示
- 播放音乐序列 CD E
- 吹出第一棒毛皮精灵
- 演奏麦克·奥德菲尔德的出名曲子,叫"管子钟"
- 演奏弗雷·雅克的笔记
- 演奏C#和弦
本页由 AI 翻译,技术细节请以原文为准。
README
melrose-mcp
melrōse is a tool to create and play music by programming melodies. It uses a custom language to compose notes and create loops and tracks to play.
melrose-mcp is an MCP server (STDIO) that uses the packages from the melrōse tool.
installation
This mcp server requires the Go SDK for installation. To produce music, you need to setup a MIDI receiver such as a DAW or a hardware synthesizer.
go install github.com/emicklei/melrose-mcp@latest
tools
- melrose_play
- melrose_bpm
- melrose_devices
- melrose_change_output_device
session
change the tempo in melrose to a lower value
melrose_bmp request:
{
`bpm`: `80`
}
llm response:
I've reduced the tempo to 80 beats per minute from the default of 120 BPM. This creates a more relaxed and slower pace for any musical expressions we play.
play a tune from Claude Debussy
llm response:
I'll create a small segment inspired by Claude Debussy's impressionist style using the Melrose language at our current tempo of 80 BPM.
melrose_play request:
{
`expression`: `sequence('(F4 A4 D5) 4(F4 A4 D5) (G4 B4 E5) 4(G4 B4 E5) (A4 C5 F5) 4(A4 C5 F5) (G4 B4 E5) 4(G4 B4 E5) (F4 A4 D5) 8= 8(E4 G4 C5) 4(F4 A4 D5)')`
}
melrose_play response:
12.749963417s
configuration in your client
Below an example to configure it in Claude Desktop.
{
"mcpServers": {
"melrōse": {
"command": "/melrose-mcp",
"args": []
}
}
}
example prompts
- play the music sequence C D E
- play the first bar of fur elise
- play the famous tune from Mike Oldfield called Tubular Bells
- play the notes of Frere Jacques
- play the C# chord
To help your LLM understand the Melrōse language better, you can use this context.
Contributions
Fixes, suggestions, documentation improvements are all welcome. Fork this project and submit small Pull requests. Discuss larger ones in the Issues list. You can also sponsor Melrōse via Github Sponsors.
Software is licensed under MIT. © 2025 ernestmicklei.com
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →