musictomidi-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MUSICTOMIDI_API_KEY | Yes | Your API key, created on https://musictomidi.com/developers. `mtm_prod_…` keys run real conversions. `mtm_test_…` keys use the same API, run no conversion, debit no credits and always return the same sample result. Required; without it, every tool answers with an error that tells you to create a key. | |
| MUSICTOMIDI_API_URL | No | Base URL of the API. Default: `https://api.musictomidi.com/v1`. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| musictomidi_convert_to_midiA | Uploads a local audio or video file to MusicToMIDI and starts a MIDI conversion job. Returns at once, without waiting for the end of the job: jobId (give it to musictomidi_get_job to get the status, then to musictomidi_download_result to get the files) and status. |
| musictomidi_separate_stemsA | Uploads a local audio or video file to MusicToMIDI and starts a stem separation job, whose result is one audio file per stem. Returns at once, without waiting for the end of the job: jobId (give it to musictomidi_get_job to get the status, then to musictomidi_download_result to get the files) and status. |
| musictomidi_get_jobA | Returns the state of a MusicToMIDI job, without downloading anything: status (validating, starting, running, then done, failed or expired), progress, stage, cost, the results once done (links to the result files, bpm, key, duration…), the error of a failed or expired job, and testMode true for the sample job of a test key (no conversion: always the same sample files, never the file sent). While the status is validating, starting or running, call again (wait_seconds waits inside the call); once it is done, use the links of the results, or call musictomidi_download_result to save the files in a folder. |
| musictomidi_download_resultA | Saves the result files of a done MusicToMIDI job in a local folder, where musictomidi_get_job only gives their links, and returns the paths written: .mid (MIDI), .raw.mid (MIDI before filtering and quantization), .stem. (isolated voice or drums), .original. (the audio sent; with a test key, a sample and not the file sent), and each stem as .flac and/or .mp3. Never overwrites an existing file: a number is added to the name, as in song (1).mid. |
| musictomidi_list_jobsA | Lists the jobs of the MusicToMIDI account, newest first, one page at a time: for each job its jobId, createdAt, model, cost, audioName and status (running, done, or refunded for a failed or expired job, which is not charged). A test key lists only its test jobs; open a listed job with musictomidi_get_job. |
| musictomidi_get_accountB | Returns the credits and the quotas of the MusicToMIDI account. The prices are in musictomidi_get_prices. |
| musictomidi_get_pricesA | Returns the prices of the MusicToMIDI account as GET /v1/account sends them: one entry per model, with creditsPerSegment and segmentSeconds. A job costs (floor(seconds / segmentSeconds) + 1) × creditsPerSegment credits, seconds being the duration of the audio, or of the part chosen with startSeconds and endSeconds. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 7 tools
Each tool maps to a distinct step of the workflow: two job-creation tools with clearly different outputs (MIDI vs. stems), plus status polling, file download, listing, credits/quotas, and pricing. The only near-overlap is get_account vs. get_prices, but the descriptions make the boundary explicit (remaining credits/quotas vs. per-model cost formula).
All seven tools use the same musictomidi_ prefix followed by a snake_case verb_noun pattern (convert_to_midi, separate_stems, get_job, download_result, list_jobs, get_account, get_prices). No convention mixing.
Seven tools is well-scoped for an async conversion service: two job submitters, three job-lifecycle tools, and two account/billing tools. Nothing feels redundant or missing at the count level.
The full async lifecycle is covered: submit, poll, download, list history, check credits, and check pricing. Minor gaps exist, e.g. no cancel/delete job operation and no explicit pagination/cursor parameter for list_jobs, but agents can work around these.