Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MUSIC21_MCP_HOSTNoServer host (used by HTTP adapter and launcher)127.0.0.1
MUSIC21_MCP_PORTNoServer port (used by HTTP adapter and launcher)8000
MUSIC21_MCP_TIMEOUTNoGeneral async operation timeout in seconds30
MUSIC21_CORS_ORIGINSNoCORS origins for HTTP adapter (comma-separated)http://localhost:*
MUSIC21_TOOL_TIMEOUTNoPer-tool execution timeout in seconds30
MUSIC21_BATCH_TIMEOUTNoBatch processing timeout in seconds30
MUSIC21_CHORD_ANALYSIS_TIMEOUTNoChord analysis timeout in seconds60

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tasks
{
  "list": {},
  "cancel": {},
  "requests": {
    "tools": {
      "call": {}
    },
    "prompts": {
      "get": {}
    },
    "resources": {
      "read": {}
    }
  }
}
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
import_scoreC

Import a score from various sources

list_scoresC

List all available scores

score_infoC

Get detailed information about a score

export_scoreD

Export a score to various formats

delete_scoreC

Delete a score from storage

key_analysisC

Analyze the key signature of a score

chord_analysisC

Analyze chord progressions in a score

harmony_analysisC

Perform harmony analysis (roman numeral or functional)

voice_leading_analysisC

Analyze voice leading patterns in a score

pattern_recognitionD

Recognize patterns in music

harmonize_melodyC

Generate harmonization for a melody in various styles (classical, jazz, pop, modal)

generate_counterpointC

Generate species counterpoint (1=note-against-note, 2=2:1, 3=3:1, 4=syncopated, 5=florid)

imitate_styleB

Generate music imitating a specific composer style (bach, mozart, chopin, debussy) or analyze score for style

health_checkB

Check server and adapter health

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
list_scores_resourceList all scores as an MCP resource

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/brightlikethelight/music21-mcp-server'

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