Skip to main content
Glama
install.shโ€ข1.77 kB
#!/bin/bash echo "๐ŸŽต Installing MusicMCP.AI MCP Server..." echo "==========================================" # ๆฃ€ๆŸฅPython็‰ˆๆœฌ python_version=$(python3 --version 2>&1 | grep -oP '\d+\.\d+' | head -1) required_version="3.10" if [ "$(printf '%s\n' "$required_version" "$python_version" | sort -V | head -n1)" != "$required_version" ]; then echo "โŒ Error: Python 3.10 or higher is required. Current version: $python_version" exit 1 fi echo "โœ… Python version check passed: $python_version" # ๆฃ€ๆŸฅpipๆ˜ฏๅฆๅฏ็”จ if ! command -v pip3 &> /dev/null; then echo "โŒ Error: pip3 is not available. Please install pip first." exit 1 fi # ๅฎ‰่ฃ…ไพ่ต– echo "๐Ÿ“ฆ Installing dependencies..." pip3 install "mcp[cli]>=1.6.0" "sounddevice==0.5.1" "soundfile==0.13.1" "requests==2.31.0" "httpx>=0.24.0" if [ $? -ne 0 ]; then echo "โŒ Error: Failed to install dependencies" exit 1 fi echo "โœ… Dependencies installed successfully" # ๅฎ‰่ฃ…MCPๆœๅŠกๅ™จ echo "๐Ÿš€ Installing MusicMCP.AI MCP Server..." pip3 install -e . if [ $? -ne 0 ]; then echo "โŒ Error: Failed to install MCP server" exit 1 fi echo "" echo "๐ŸŽ‰ Installation completed successfully!" echo "======================================" echo "" echo "๐Ÿ“‹ Next steps:" echo "1. Log in to the official website: https://app.musicmcp.ai, and contact customer support to obtain an API Key." echo "2. Set environment variable: export MUSICMCP_API_KEY='your-api-key-here'" echo "3. Copy configuration from README.md examples to Claude Desktop" echo "4. Restart Claude Desktop" echo "" echo "๐Ÿงช To test the installation:" echo "python3 -m musicmcp_ai_mcp.api" echo "" echo "๐Ÿ“š For more information, see README.md" echo "" echo "๐ŸŽต Happy music making with MusicMCP.AI!"

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/amCharlie/aimusic-mcp-tool'

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