Melrōse - programming of music melodies

by emicklei

210 784 downloads Not rated yet MIT
GitHub

About

interactive programming of melodies, producing MIDI

Details

License
MIT

Explore

- Custom language for composing notes, sequences, loops, and tracks
- MIDI playback with support for live performance
- Note sequences can be changed while playing, giving instant audible feedback
- MCP integration allows AI‑driven music generation
- Visual Studio Code plugin for seamless editing
- Language version 1.0,

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Melrōse - programming of music melodies
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "melr\u014dse - programming of music melodies": {
            "melr\u014dse": {
                "command": "<YOUR DIRECTORY TO THE BINARY>/melrose-mcp",
                "args": []
            }
        }
    }
}

McpServers

{
    "melr\u014dse": {
        "command": "<YOUR DIRECTORY TO THE BINARY>/melrose-mcp",
        "args": []
    }
}

Build
Go Report Card
GoDoc

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

riboluta-melrose

System setup

melrose-port-daw.png

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.
&copy; 2026 ernestmicklei.com

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.

Videos about Melrōse - programming of music melodies

Relevant YouTube tutorials, setups, and demos