midi-gen-mcp
Verified Safeby IrisMu01
Overview
An MCP server that provides low-level MIDI manipulation tools for AI-assisted music composition by an LLM.
Installation
uv run midi-gen-mcpSecurity Notes
The server uses the `eval()` function within `_eval_expression` in `note.py`, `validation.py`, and `midi_export.py` to process mathematical expressions for note timing. While `eval()` is used with `{"__builtins__": {}}` to restrict access to built-in functions, `eval()` still carries inherent risks if malicious input is provided, potentially leading to code execution vulnerabilities if the controlling LLM is compromised or manipulated. The server operates via stdio, which limits direct network exposure, but the internal risk remains.
Similar Servers
strudel-mcp-server
An MCP server enabling AI-powered music generation, live coding, and algorithmic composition by controlling Strudel.cc in a browser.
1xn-vmcp
An open-source platform for composing, customizing, and extending multiple Model Context Protocol (MCP) servers into a single logical, virtual MCP server, enabling fine-grained context engineering for AI workflows and agents.
midi-mcp-server
An MCP server that enables AI models to generate MIDI files from text-based music data, allowing programmatic creation of musical compositions.
riffmcp
An MCP server that allows LLMs to play, compose, and render music.