music21-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MUSIC21_MCP_HOST | No | Server host (used by HTTP adapter and launcher) | 127.0.0.1 |
| MUSIC21_MCP_PORT | No | Server port (used by HTTP adapter and launcher) | 8000 |
| MUSIC21_MCP_TIMEOUT | No | General async operation timeout in seconds | 30 |
| MUSIC21_CORS_ORIGINS | No | CORS origins for HTTP adapter (comma-separated) | http://localhost:* |
| MUSIC21_TOOL_TIMEOUT | No | Per-tool execution timeout in seconds | 30 |
| MUSIC21_BATCH_TIMEOUT | No | Batch processing timeout in seconds | 30 |
| MUSIC21_CHORD_ANALYSIS_TIMEOUT | No | Chord analysis timeout in seconds | 60 |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| list_scores_resource | List all scores as an MCP resource |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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