Feedback

MIDI MCP Server

@tubone24 Claim

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
tubone24
Submitted by
Community
Quality
55
Stars
45

About MIDI MCP Server

MIDI MCP Server is a Model Context Protocol (MCP) server that enables AI models to generate MIDI files from text-based music data. This tool allows for programmatic creation of musical compositions through a standardized interface.

MIDI MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by tubone24. Supported transport: stdio. Runtime: node. License: MIT. The repository has 45 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "midi-mcp-server": {
            "command": "node",
            "args": [
                "build/index.js",
                "--http"
            ]
        }
    }
}

MIDI MCP Server config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "midi-mcp-server": {
            "command": "node",
            "args": [
                "build/index.js",
                "--http"
            ]
        }
    }
}

MIDI MCP Server tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is MIDI MCP Server?

A Model Context Protocol (MCP) server for AI-driven MIDI composition. It generates MIDI files from structured JSON data, supports chord names, provides an interactive piano-roll preview UI, and offers multiple deployment modes (stdio, HTTP, Cloudflare Workers).

How to use MIDI MCP Server?

Deploy remotely via Cloudflare Workers (https://midi-mcp-server.tubone24.workers.dev/mcp) or run locally as a stdio or HTTP server. Use the create_midi tool to generate a MIDI file from a composition object, and parse_chord to resolve chord names into pitches. See the README for configuration examples for each transport.

Key features of MIDI MCP Server

  • Two MCP tools: create_midi and parse_chord
  • Rich pitch input: MIDI numbers, note names, pitch arrays, or chord names
  • Chord library with 25+ chord qualities
  • Flexible durations: numeric beats, standard strings, dotted, triplet
  • Seven built-in music theory reference documents as MCP resources
  • Three transport modes: stdio, HTTP, Cloudflare Workers
  • Interactive piano-roll preview and audio playback in supported MCP clients

Use cases of MIDI MCP Server

  • Compose MIDI songs directly from an AI conversation
  • Parse chord names into MIDI pitches and note names for analysis
  • Use music theory resources to guide composition decisions
  • Generate multi-track MIDI files with specified instruments and velocities
  • Embed MIDI generation into MCP‑compatible clients (e.g., Claude.ai)

Frequently asked questions

1 What deployment options are available?

The server can run as a local stdio process, a local HTTP server, or a remote Cloudflare Workers endpoint. The remote server is pre‑deployed at https://midi-mcp-server.tubone24.workers.dev/mcp.

2 What tools does the server expose?

Two tools: create_midi (generates a MIDI file from composition data) and parse_chord (resolves a chord name into its component MIDI numbers and note names).

3 What runtime and dependencies are required?

Node.js and npm. Key packages include @modelcontextprotocol/sdk, midi-writer-js, zod, and soundfont-player.

4 How do I specify pitches in a composition?

Pitches can be given as MIDI numbers (0–127), note name strings (e.g., "C4"), arrays of pitches, or chord names (e.g., "Cmaj7"). Accidentals # and b are supported.

5 What transport modes are supported?

The server supports stdio (default for local desktop clients), HTTP (local Streamable HTTP server), and Cloudflare Workers (remote, via HTTP). Authentication is not required.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬