Logo di 音乐收藏 MCP 服务器

音乐收藏 MCP 服务器

Community
gorums

A powerful Model Context Protocol (MCP) server that provides intelligent access to your local music collection through advanced metadata management, album type classification, and comprehensive analytics.

Autoregorums
Repositorymusic-mcp-server
LinguaPython
Fork
1
Stelle
14
Strumenti disponibili
0
Tipo di trasportostdio
Categorie
Link
  • Collega gli strumenti ai flussi di lavoro IA

    音乐收藏 MCP 服务器 mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    14 stelle e 1 fork nel repository collegato.

Music Collection MCP Server

A powerful Model Context Protocol (MCP) server that provides intelligent access to your local music collection through advanced metadata management, album type classification, and comprehensive analytics.

✨ Key Features

  • 🎵 Smart Music Discovery: Intelligent scanning with 8-type album classification (Album, EP, Live, Demo, Compilation, Single, Instrumental, Split)
  • 📊 Advanced Analytics: Collection maturity assessment, health scoring, and personalized recommendations
  • 🏗️ Flexible Organization: Support for multiple folder structures with automated migration and compliance scoring
  • ⚡ High Performance: Optimized scanning (20-30% faster), batch operations, and intelligent caching
  • 🤖 AI Integration: Works seamlessly with Claude Desktop and other MCP clients
  • 🔄 Automated Setup: One-command installation with configuration generation

🚀 Quick Start

Option 1: Automated Setup (Recommended)

bash
python scripts/setup.py

This guided setup will:

  • Check system requirements
  • Install dependencies
  • Configure your music collection path
  • Generate Claude Desktop configuration
  • Validate your setup

Option 2: Manual Installation

Using Python

bash
# Install dependencies
pip install -r requirements.txt

# Set your music path
export MUSIC_ROOT_PATH="/path/to/your/music"

# Run the server
python main.py

Using Docker

bash
# Build and run
docker build -t music-mcp .
docker run -v "/path/to/your/music:/music" -e MUSIC_ROOT_PATH=/music music-mcp

🤖 MCP Client Setup

Configuration File Locations for Claude desktop

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Python Installation

json
{
  "mcpServers": {
    "music-collection": {
      "command": "python",
      "args": ["/path/to/music-mcp-server/main.py"],
      "env": {
        "MUSIC_ROOT_PATH": "/path/to/your/music",
        "CACHE_DURATION_DAYS": "30",
        "LOG_LEVEL": "INFO"
      }
    }
  }
}

Docker Installation

json
{
  "mcpServers": {
    "music-collection": {
      "command": "docker",
      "args": [
        "run", "--rm", "--interactive",
        "-v", "/path/to/your/music:/music",
        "-e", "MUSIC_ROOT_PATH=/music",
        "-e", "CACHE_DURATION_DAYS=30",
        "music-mcp"
      ]
    }
  }
}

📁 Music Organization

The server supports multiple organization patterns:

Enhanced Structure (Recommended)

Band Name/
├── Album/
│   ├── 1973 - Dark Side of the Moon/
│   └── 1979 - The Wall (Deluxe)/
├── Live/
│   └── 1988 - Delicate Sound of Thunder/
├── Compilation/
│   └── 2001 - Echoes - Best Of/
└── .band_metadata.json (auto-generated)

Simple Structure (Also Supported)

Band Name/
├── 1973 - Dark Side of the Moon/
├── 1988 - Delicate Sound of Thunder (Live)/
└── 2001 - Echoes - Best Of (Compilation)/

🛠️ MCP Capabilities

Tools (10 total)

  • Music Discovery: scan_music_folders - Smart scanning with type detection
  • Collection Management: get_band_list - Advanced filtering and search
  • Metadata Storage: save_band_metadata, save_band_analyze, save_collection_insight
  • Validation: validate_band_metadata - Dry-run validation
  • Advanced Search: advanced_search_albums - 13-parameter filtering system
  • Analytics: analyze_collection_insights - Comprehensive collection analysis
  • Structure Migration: migrate_band_structure - Safe folder organization migration

Resources (3 total)

  • Band Info: band://info/{band_name} - Detailed band information
  • Collection Summary: collection://summary - Overview and statistics
  • Advanced Analytics: collection://analytics - Deep collection analysis

Prompts (4 total)

  • Information Gathering: fetch_band_info, analyze_band
  • Analysis: compare_bands, collection_insights

⚙️ Configuration

Configure via environment variables or the automated setup:

bash
MUSIC_ROOT_PATH="/path/to/your/music"     # Required: Your music directory
CACHE_DURATION_DAYS=30                    # Optional: Cache expiration (default: 30)
LOG_LEVEL=INFO                           # Optional: Logging level (default: INFO)

📚 Documentation

Get Started Quickly

Learn More

Get Help

🔧 Maintenance & Scripts

The scripts/ directory provides powerful maintenance tools:

  • Setup: setup.py - Automated installation and configuration
  • Docker: start-docker.sh - Container management with options
  • Validation: validate-music-structure.py - Collection health checking
  • Backup: backup-recovery.py - Complete backup and recovery system
  • Monitoring: health-check.py - Comprehensive health monitoring

🧪 Testing

bash
# Using Docker (recommended)
docker build -f Dockerfile.test -t music-mcp-tests .
docker run --rm music-mcp-tests python -m pytest . -v

# Using Python
python -m pytest tests/ -v

📊 What's New

Recent Improvements

  • Migration Tools: Safe folder structure migration with backup and rollback
  • Advanced Analytics: Collection maturity assessment and health scoring
  • Performance: 20-30% faster scanning with optimized file operations
  • Separated Schema: Local vs missing albums for better management
  • Automated Setup: One-command installation and configuration
  • Album Types: Intelligent 8-type classification system
  • Flexible Structure: Support for multiple organization patterns

🆘 Need Help?

  1. Check the FAQ for common questions
  2. Run health check: python scripts/health-check.py /path/to/music
  3. Validate structure: python scripts/validate-music-structure.py /path/to/music
  4. Review Troubleshooting guide

🔗 Links

  • Setup Scripts: Complete automation in scripts/ directory
  • Claude Desktop Configs: Ready-to-use examples in scripts/claude-desktop-configs/
  • Developer Docs: Architecture and API reference in docs/developer/

Transform your music collection into an intelligent, searchable library with AI-powered insights! 🎶

Requirements

  • Python 3.8+
  • Docker (for containerized deployment)

License

MIT License

Copyright (c) 2025 Music Collection MCP Server

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Installazione

TypingMind
Prerequisiti:

Node.js 18+

{
  "mcpServers": {
    "gorums-music-mcp-rules": {
      "command": "",
      "args": []
    }
  }
}

Usa MCP 音乐收藏 MCP 服务器 con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso 音乐收藏 MCP 服务器, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi 音乐收藏 MCP 服务器 come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di 音乐收藏 MCP 服务器.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "gorums-music-mcp-rules": {
      "command": "npx",
      "args": [
        "-y",
        "music-mcp-rules"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di 音乐收藏 MCP 服务器, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di 音乐收藏 MCP 服务器.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare 音乐收藏 MCP 服务器 per aiutarmi con questa attività?
音乐收藏 MCP 服务器
Certo. Ho letto.
Ecco cosa ho trovato con 音乐收藏 MCP 服务器.

Domande frequenti

A cosa serve il server MCP 音乐收藏 MCP 服务器?

音乐收藏 MCP 服务器 è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare 音乐收藏 MCP 服务器 MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare 音乐收藏 MCP 服务器 con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP 音乐收藏 MCP 服务器 con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando 音乐收藏 MCP 服务器, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego 音乐收藏 MCP 服务器 MCP a TypingMind?

音乐收藏 MCP 服务器 funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre 音乐收藏 MCP 服务器 MCP in TypingMind?

音乐收藏 MCP 服务器 mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare 音乐收藏 MCP 服务器 MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se 音乐收藏 MCP 服务器 richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇