Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
HF_TOKENNoHugging Face token for downloading models, required if not logged in via hf auth login
MIDI_MCP_OUTPUT_DIRNoDirectory for MIDI output and temporary downloads<cwd>/.midi-output
MIDI_MCP_ALLOWED_INPUT_DIRSNoAllowed local root directories for reading input, separated by system path separatorMCP process working directory
MIDI_MCP_DOWNLOAD_MAX_BYTESNoMaximum size in bytes for a single local or remote audio file (200 MB default)209715200
MIDI_MCP_MUSCRIPTOR_COMMANDNoMuScriptor executable name or absolute pathmuscriptor
MIDI_MCP_PROCESS_TIMEOUT_MSNoTimeout for a single MuScriptor process in milliseconds (1 hour default)3600000
MIDI_MCP_DOWNLOAD_TIMEOUT_MSNoTimeout for the entire download in milliseconds (5 minutes default)300000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
audio_to_midiA

Transcribe a local or public HTTPS audio file to a multi-instrument MIDI file with MuScriptor.

check_modelA

Check whether MuScriptor and the writable output directory are ready without loading model weights.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ALLLLLL703/midi'

If you have feedback or need assistance with the MCP directory API, please join our Discord server