Compose music with AI agents
music.build is an MCP server that lets AI agents compose music as typed, immutable data — notes, voices, harmony, and form — and export to MIDI and LilyPond notation.
Typed Music Data
Notes, voices, and chords are first-class immutable values. No piano roll — compositions emerge from tool calls.
47 MCP Tools
Pitch, harmony, form, drums, transforms, and export. Connect to Claude Desktop or any MCP-capable agent.
MIDI + LilyPond
Export to playable MIDI and engraved PDF sheet music via LilyPond.
$
./mvnw exec:java -pl music-server