# Melrose Mcp

> MCP server (STDIO) that uses melrose tool to play musical expressions

- **Type:** MCP server
- **Install:** `agentstack add mcp-emicklei-melrose-mcp`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [emicklei](https://agentstack.voostack.com/s/emicklei)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [emicklei](https://github.com/emicklei)
- **Source:** https://github.com/emicklei/melrose-mcp

## Install

```sh
agentstack add mcp-emicklei-melrose-mcp
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

## melrose-mcp 

[melrōse](https://melrōse.org) 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](http://modelcontextprotocol.io/) server (STDIO) that uses the packages from the `melrōse` tool.

## installation

This mcp server requires the [Go SDK](https://go.dev) 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:
```javascript
{
  `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:
```javascript
{
  `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:
```javascript
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](resources/melrose_llm_context.txt).

### 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](https://github.com/sponsors/emicklei).

Software is licensed under [MIT](LICENSE).
&copy; 2025 [ernestmicklei.com](http://ernestmicklei.com)

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [emicklei](https://github.com/emicklei)
- **Source:** [emicklei/melrose-mcp](https://github.com/emicklei/melrose-mcp)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-emicklei-melrose-mcp
- Seller: https://agentstack.voostack.com/s/emicklei
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
