Back to Home
IrisMu01 icon

midi-gen-mcp

Verified Safe

by IrisMu01

Overview

An MCP server that provides low-level MIDI manipulation tools for AI-assisted music composition by an LLM.

Installation

Run Command
uv run midi-gen-mcp

Security 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

Stats

Interest Score0
Security Score6
Cost ClassHigh
Avg Tokens600
Stars0
Forks0
Last Update2026-01-19

Tags

MIDIAIMusicCompositionMCP