MCP server implementation for RouteMIDI that provides tools for managing MIDI routing, filtering, transformations, and MPE (MIDI Polyphonic Expression) processing. Implements the Model Context Protocol over stdio transport.
The RouteMIDI MCP server defines 11 tools with mixed quality. All tools have descriptions and most have input schemas, but there are significant gaps in parameter descriptions, error handling guidance, and output schema documentation. Naming is generally verb-forward and clear (get_schema, list_midi_ports, start_route, inject_midi), which is good. However, parameter descriptions are minimal or missing for several tools, output schemas are not documented, and there is no error recovery guidance. The server is domain-specific (MIDI routing) and the tool interface is reasonably well-composed, but falls short of production-grade quality due to missing documentation and incomplete schema definition.
Adds processing commands to the end of a route's processing pipeline.
Returns the complete MCP schema describing all available tools, their input/output schemas, and configuration.
Injects MIDI messages into a specified route for processing and output.
Lists all available MIDI input and output ports on the system.
Lists all currently active MIDI routes with their configuration, connected ports, and processing pipeline stages.
Sends a panic command to a route, typically stopping all notes and resetting state.
Reads captured MIDI output from a route's buffer. Supports cursor-based polling for new messages.
Output schemas not documented for any tool. LLMs cannot determine what fields are returned, forcing unstructured parsing and hindering downstream tool composition.
Error handling missing. No tool provides guidance on what to do if an operation fails (e.g., invalid route_id, MIDI port not found, command parse error). LLMs cannot self-correct without recovery hints.
Minimal parameter descriptions. Parameters like 'messages' in inject_midi describe the format but lack context on valid content ranges, error conditions, or required structure. Description length averages ~50 chars; baseline is 72 chars.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 61 | 2025-06-18+ | v2 |
Removes a processing command from a specific stage and index in the route's pipeline.
Replaces a processing command at a specific index within a stage of the route's pipeline.
Creates and starts a new MIDI route with the specified input and output ports.
Stops and removes a MIDI route by its ID.
No documentation of tool idempotency or stateful side effects. Tools like start_route and add_commands modify state. LLMs need explicit declarations (via annotations or description) of which operations are safe to retry.
get_schema returns the complete MCP schema, which is verbose and irrelevant to chat context. This wastes tokens and dilutes signal. Consider returning only tool summaries or a discovery format.