Sheet Music to MIDI — ChatGPT & MCP

Attach a PDF, PNG, or JPG score directly in ChatGPT or another MCP host. Sign in with OAuth to receive MIDI or MXL.

Attach a score and ask your AI to start the conversion.
Connect with OAuth

MCP: start_sheet_music_conversion + get_sheet_music_conversion

Attach a PDF, PNG, or JPG score directly in ChatGPT or another MCP host. Sign in with OAuth to receive MIDI or MXL.

PDF, PNG, JPG
PDFPNGJPG
MIDI, MXL
MIDIMXL

Parameters

file — host-provided file descriptor
output_formats — requested outputs, for example ["midi", "mxl"]
preprocess — optional preparation for the attached score

How It Works

Attach a PDF, PNG, or JPG score directly in ChatGPT or another MCP host. Sign in with OAuth to receive MIDI or MXL.

1

Configure MCP

Connect with OAuth

2

Ask Your AI

Attach a score and ask your AI to start the conversion. start_sheet_music_conversion.

3

Get Results

get_sheet_music_conversion — Check task status and collect the result.

Usage Example

Your AI starts the task and checks its asynchronous status.

Example prompt to your AI agent:

start_sheet_music_conversion → get_sheet_music_conversion

// MCP Tool Call (handled automatically by your AI agent)
{
  "tool": "start_sheet_music_conversion",
  "arguments": {
    "file": {
      "file_id": "host_uploaded_score_123",
      "download_url": "https://host.example/files/score.pdf",
      "file_name": "score.pdf",
      "mime_type": "application/pdf"
    },
    "client_request_id": "chatgpt-score-0001",
    "output_formats": ["midi", "mxl"]
  }
}

// Poll until the job is complete
{
  "tool": "get_sheet_music_conversion",
  "arguments": {"task_id": "task_abc123456789"}
}

// Completed response (abridged)
{
  "task_id": "task_abc123456789",
  "status": "succeeded",
  "artifacts": [
    {"type": "midi", "file_name": "score.mid", "download_url": "https://..."},
    {"type": "mxl", "file_name": "score.mxl", "download_url": "https://..."}
  ]
}

Why Use This MCP Tool?

Keep the music workflow inside the same AI conversation.

2
Outputs
3
Input types
OAuth
Secure authorization

No Manual Upload

Attach the file directly in your MCP host; do not paste a public link.

Multiple Output Formats

Request MIDI, MXL, or both with output_formats.

AI-Integrated Workflow

Your AI starts the task and checks its asynchronous status.

Production-Grade Engine

OAuth + secure host-provided file descriptor

Frequently Asked Questions

Common questions about this MCP workflow.

Clear, printed scores produce the most reliable conversion. Review every result before using it in production.

Yes. Attach a multi-page PDF as one file and submit it directly.

You do not need to host the file. Attach it in your MCP host; the host passes a secure file descriptor automatically.

The result is standard MIDI or MXL, but review notes, rhythm, and notation before production use.

Sheet Music to MIDI — ChatGPT & MCP

Attach a PDF, PNG, or JPG score directly in ChatGPT or another MCP host. Sign in with OAuth to receive MIDI or MXL.

Connect with OAuth
Sheet Music to MIDI — ChatGPT & MCP | Melogen AI | Melogenai