← Discover MCPs and Agents
m
MCPProductivityGitHub

melrose

interactive programming of melodies, producing MIDI

Links

README

From the repo.

Melrōse - programming of music melodies

Build 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. Write note patterns as short text expressions, then play them through a MIDI device or music app.

MIDI (Musical Instrument Digital Interface) is a digital communication language that sends musical instructions—like which note to play, how long to hold it, and how hard it is struck—between electronic instruments and computers.

This is an example of a simple major scale C.

sequence('c d e f g a b c5') // or use the alias "seq"

Note sequences in your program can be changed while playing giving you direct audible feedback.

See also Blog post

Read the documentation on how to use melrōse.

Choose your setup

  • Try it in your browser: Open the Melrōse Playground, enter the scale example above, connect a MIDI receiver such as GarageBand, and use the play control.
  • Work locally with music files and MIDI devices: Install Melrōse to use its terminal REPL and minimal Web UI. A local installation can connect to multiple devices, with up to 16 MIDI channels available per device.
  • Compose in Visual Studio Code: Install the Melrōse VS Code extension to manage music files and play music from the editor.

Showcase

riboluta-melrose

MIDI setup

melrose-port-daw.png

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.

Related tools

  • 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.
  • midicyles is a tool that visualizes MIDI events using polar coordinates (notes move around in circles).See midicyles for details how to install and use it.
  • keymidi is a tool that provides an interactive OS Keyboard to send MIDI events. This can be used to control the playing of music in melrōse.See keymidi for details how to install and use it.
  • slidermidi is a tool that provides an interactive UI Sliders to send MIDI change event. This can be used to control the playing of music in melrōse.See slidermidi for details how to install and use it.

Software is licensed under MIT.

© 2026 ernestmicklei.com

Collected info

  • ★ 213 stars
  • ⎇ 18 forks
  • Language: Go
  • Source updated: 9/27/2026

Config for your environment

Replace {MCP_ENDPOINT_URL} with this MCP’s endpoint URL (from its repo or docs above). No API key — you connect directly.

Tool

OS

Config file: ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-server": {
      "url": "{MCP_ENDPOINT_URL}"
    }
  }
}

Paste into mcpServers in the config file. Restart Cursor after saving.

If this MCP is also published on mcpchannel.ai, you can subscribe from Browse and use the gateway config there instead.