melrose
Interactive programming of melodies, producing MIDI for the Model Context Protocol. Enhance AI assistants with powerful integrations. Go-based implementation.
Documentation
Melrōse - programming of music melodies
Introduction
`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.
This is an example of a simple major scale C.
sequence('c d e f g a b c5')Note sequences in your program can be changed while playing giving you direct audible feedback.
For the best experience, use the `melrōse` tool together with the Visual Studio Code Plugin for Melrōse.
See also Blog post
Install
See Build instructions.
Usage
`melrōse` is a tool to create music by programming melodies and uses a custom language to compose notes that are played with MIDI.
Note sequences in your program can be changed while playing which makes it possible to even use it for live performance.
For the best experience, use the `melrōse` together with the Visual Studio Code Plugin for Melrōse.
Read the documentation on how to use `melrōse`.
Status
The language has reached version `1.0` since tool version `v1.0.0` and therefore future changes will only extend it (1.x) and not introduce breaking changes.
Programming music

System setup

Melrōse MCP Server
`melrose-mcp` is a (server) tool that uses the MCP protocol to receive expressions to play.
See melrose-mcp for details how to install and use it.
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.
© 2026 ernestmicklei.com
Frequently asked questions
What is melrose?
melrose is Interactive programming of melodies, producing MIDI for the Model Context Protocol. Enhance AI assistants with powerful integrations. Go-based implementation.
How do I install melrose?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is melrose open source?
Yes — it is hosted on GitHub at https://github.com/emicklei/melrose and has 198 stars.
Related MCP tools
Flux Operator is a Kubernetes controller for managing the lifecycle of Flux CD for the Model Context Protocol. Enhance AI assistants with powerful integrations.
Lunar.dev: Ground Control for 3rd Party APIs for the Model Context Protocol. Enhance AI assistants with powerful integrations. Go-based implementation.
MCP server connecting to Kubernetes Go-based implementation.
A fully functional MCP server and CLI for YouTube Go-based implementation.
MCP server for Grafana Go-based implementation. Trusted by 1700+ developers. Trusted by 1700+ developers. Trusted by 1700+ developers.
ToolHive makes deploying MCP servers easy, secure and fun Go-based implementation. Trusted by 1300+ developers. Trusted by 1300+ developers.
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP