MIDI文件生成服务

一个面向音乐制作与DAW工作流的MCP服务,能够根据音乐角色和段落模板生成标准MIDI文件,并支持确定性输出与REAPER集成。

  • by kardelw1409
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 kardelw1409/mcp-midi-writer

使用说明

mcp-midi-writer

An MCP server that generates standard MIDI files based on musical roles and sections.

Features

  • MIDI file generation with grid-aligned notes
  • Roles: bass, sub bass, chords, lead, arp, kick pattern, fx rhythm, wobble
  • Sections: intro, build, break, drop, outro
  • Deterministic output with optional seed

Running

python -m mcp_midi_writer

Tools

  • list_roles()
  • list_section_templates()
  • generate_midi(role, section, bars, tempo, time_signature, scale, root_note, style_tags, rhythmic_density, output_path, seed=None)

The server writes MIDI files to the provided output_path.

Typical use: call generate_midi(...) to write a .mid file, then place it into REAPER as ONE item with the insert_midi_item tool of the REAPER MCP - the note list never has to be written out note by note.