Logo van MCP MiniMax 音乐服务器

MCP MiniMax 音乐服务器

Community
falahgs

A Model Context Protocol (MCP) server implementation for AI-powered audio generation using the MiniMax Music API. Developed by Falah.G.Salieh.

Uitgeverfalahgs
Repositorymcp-minimax-music-server
TaalTypeScript
Forks
2
Sterren
5
Beschikbare tools
0
Transporttypestdio
Categorieën
Links
  • Koppel tools aan AI-workflows

    MCP MiniMax 音乐服务器 biedt MCP-functionaliteit die compatibele AI-clients en agenten kunnen gebruiken.

  • Beschikbare tools: 0

    Bekijk hieronder de aanroepbare acties, inclusief namen en beschrijvingen als de server die beschikbaar stelt.

  • Configuratie om direct te kopiëren

    Gebruik de installatievoorbeelden om deze server in je favoriete MCP-client te configureren.

  • Belangstelling voor het opensourceproject

    Statistieken van de gekoppelde repository (sterren: 5, forks: 2).

MCP MiniMax Music Server

Version License

A Model Context Protocol (MCP) server implementation for AI-powered audio generation using the MiniMax Music API. Developed by Falah.G.Salieh.

📋 Table of Contents

🎯 Overview

This MCP server enables AI agents to generate music and audio content using the MiniMax Music API through the Model Context Protocol. It provides seamless integration with MCP hosts like Claude Desktop, allowing AI agents to create music and audio based on text prompts.

✨ Features

  • AI-powered music generation
  • Support for MiniMax Music model
  • Two-step generation process with status checking
  • Seamless integration with Claude Desktop
  • Environment variable support for API keys
  • Detailed error handling and reporting

🔧 Prerequisites

  • Node.js (v16 or higher)
  • TypeScript (v5.3.3 or higher)
  • Claude Desktop (latest version)
  • AIML API Key
  • Windows/Linux/macOS operating system

📦 Installation

  1. Clone the repository:

    bash
    git clone https://github.com/yourusername/mcp-minimax-music-server.git
    cd mcp-minimax-music-server
  2. Install dependencies:

    bash
    npm install
  3. Build the server:

    bash
    npm run build

⚙️ Configuration

Claude Desktop Configuration

  1. Locate your Claude Desktop configuration file:

    • Windows: %APPDATA%\Claude\claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  2. Add the following configuration:

    json
    {
      "mcpServers": {
        "minimax-music-server": {
          "command": "node",
          "args": [
            "G:\\mcp-minimax-music-server\\build\\index.js"
          ],
          "env": {
            "AIML_API_KEY": "Bearer your-aiml-api-key-here"
          }
        }
      }
    }

    ⚠️ Important:

    • Replace the path with your actual server path
    • Add "Bearer " prefix to your API key
    • Use double backslashes in Windows paths

API Key Setup

Your AIML API key can be configured in two ways:

  1. Environment Variables (Recommended)

    • Set in Claude Desktop config as shown above
    • Prefix with "Bearer " (include the space)
    • Example: "AIML_API_KEY": "Bearer 3d90d64a000c4e6eb02df7e52d2166d2"
  2. Direct Configuration

    • Pass the API key directly in the generation request
    • Less secure, but useful for testing

🚀 Usage

Basic Usage

The server provides a tool called generate_audio with the following parameters:

  • prompt (required): Text prompt for audio generation
  • model (optional): Set to "minimax-music"
  • reference_audio_url (optional): URL of reference audio
  • generation_id (optional): ID from previous generation for status checking

Example Commands

  1. Start new generation:

    Generate audio with prompt "Create a romantic love song with gentle acoustic guitar and soft vocals"
  2. Check generation status:

    Generate audio with generation_id "abc123" and prompt "Check status"

Response Format

json
{
  "toolResult": {
    "status": "completed",
    "id": "generation-id",
    "audio_file": {
      "url": "https://cdn.example.com/audio.mp3",
      "content_type": "audio/mpeg",
      "file_name": "output.mp3",
      "file_size": 1024000
    }
  }
}

📚 API Reference

MiniMax Music Model

The server uses the MiniMax Music model which:

  • Specializes in music generation
  • Requires reference audio for style matching
  • Supports lyric generation with ## delimiters
  • Generates high-quality musical output

Generation Process

  1. Step 1: Submit Generation

    • Send prompt and parameters
    • Receive generation ID
  2. Step 2: Check Status

    • Poll status using generation ID
    • Download audio when complete

🔍 Troubleshooting

Common Issues

  1. Authentication Errors (401)

    • Verify API key format (should start with "Bearer ")
    • Check API key validity
    • Ensure correct configuration in claude_desktop_config.json
  2. Path Issues

    • Use correct path format for your OS
    • Windows: Use double backslashes
    • Verify build directory exists
  3. Generation Errors

    • Check prompt format (should be wrapped in ##...## for lyrics)
    • Ensure reference audio URL is accessible
    • Verify prompt length and content

Debug Steps

  1. Rebuild the server:

    bash
    npm run build
  2. Restart Claude Desktop

  3. Check server logs for errors

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

📄 License

MIT License - see the LICENSE file for details

👤 Author

Falah.G.Salieh

  • Location: Baghdad, Iraq
  • Role: Developer & AI Integration Specialist
  • Year: 2025

🌟 Support

Need help? Here's how to get support:

  1. Check the troubleshooting section
  2. Open an issue in the repository
  3. Contact the author directly

This project is part of the Model Context Protocol ecosystem, enabling seamless integration between AI agents and external services.

Installatie

TypingMind
Vereisten:

Node.js 18+

{
  "mcpServers": {
    "yourusername-mcp-minimax-music-server": {
      "command": "",
      "args": []
    }
  }
}

Gebruik MCP MiniMax 音乐服务器 MCP met meerdere AI-modellen

TypingMind koppelt MCP-tools aan de werkruimte. Zodra MCP MiniMax 音乐服务器 is verbonden, kun je de verbinding dus met verschillende AI-modellen in TypingMind gebruiken, zonder die voor elk model apart in te stellen. Deze MCP-integratie draait lokaal via de TypingMind MCP-connector op je apparaat.

Installatiehandleiding voor de lokale connector

Gebruik dit als de MCP-server toegang nodig heeft tot lokale bestanden, apps of privébronnen op je computer.

1

Open de MCP-instellingen

Ga in TypingMind naar Instellingen, Geavanceerde instellingen en vervolgens Model Context Protocol. Kies daar Connector instellen.

  1. Open TypingMind in je browser.
  2. Klik op het pictogram Instellingen.
  3. Ga naar Geavanceerde instellingen.
  4. Open het gedeelte Model Context Protocol.
  5. Klik op Connector instellen en kies Dit apparaat.
Instelscherm voor de TypingMind MCP-connector met Dit apparaat geselecteerd
2

Voer de connectoropdracht uit

Kies Dit apparaat, kopieer de opdracht uit TypingMind en voer deze uit in Terminal. Laat het proces draaien zolang je MCP gebruikt.

  1. Kopieer de installatieopdracht die TypingMind toont.
  2. Open Terminal op macOS of Windows Terminal op Windows.
  3. Plak de opdracht en voer deze uit.
  4. Keur de pakketinstallatie goed als Terminal vraagt of je wilt doorgaan.
  5. Laat het proces in het Terminal-venster draaien zolang je MCP-tools gebruikt.
3

Voeg MCP MiniMax 音乐服务器 toe als server

Klik op Servers bewerken zodra de connectorstatus Gereed is en plak de MCP-serverconfiguratie.

  1. Wacht tot de connectorstatus op ‘Gereed’ staat.
  2. Klik op Servers bewerken.
  3. Plak de MCP-serverconfiguratie van MCP MiniMax 音乐服务器.
  4. Sla de serverlijst op.
  5. Vernieuw de pagina als je wilt controleren of de connectorstatus nog op ‘Gereed’ staat.
MCP-instellingen van TypingMind met een actieve server en de knop Servers bewerken
{
  "mcpServers": {
    "yourusername-mcp-minimax-music-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-minimax-music-server"
      ]
    }
  }
}
4

Gebruik de verbinding met verschillende modellen

Sla de serverlijst op, open Plug-ins en schakel de MCP-tools van MCP MiniMax 音乐服务器 in. Selecteer vervolgens een ondersteund AI-model in TypingMind en gebruik de tools in de chat of wijs ze toe aan een AI-agent.

  1. Open de pagina Plug-ins in TypingMind.
  2. Schakel de MCP-tools van MCP MiniMax 音乐服务器 in.
  3. Start een chat en kies het AI-model dat je wilt gebruiken.
  4. Gebruik de MCP-tools in een chat of wijs ze toe aan een AI-agent.
  5. Schakel wanneer nodig over naar een ander AI-model zonder opnieuw verbinding te maken met MCP.
TypingMind-chat met ingeschakelde MCP-tools en een geselecteerd AI-model
Kun je MCP MiniMax 音乐服务器 gebruiken om me hiermee te helpen?
MCP MiniMax 音乐服务器
Zeker. Ik heb het gelezen.
Dit vond ik met MCP MiniMax 音乐服务器.

Veelgestelde vragen

Waarvoor wordt de MCP-server MCP MiniMax 音乐服务器 gebruikt?

MCP MiniMax 音乐服务器 is een MCP-server waarmee compatibele AI-clients toegang krijgen tot externe tools en context. In TypingMind hoef je deze MCP-server maar één keer toe te voegen om de tools beschikbaar te maken in je AI-werkruimte.

Kan ik MCP MiniMax 音乐服务器 MCP met meerdere AI-modellen in TypingMind gebruiken?

Ja. TypingMind verbindt MCP-tools op werkruimteniveau. Daardoor kun je MCP MiniMax 音乐服务器 gebruiken met verschillende AI-modellen, zoals Claude, ChatGPT, Gemini of andere modellen die je in TypingMind hebt ingesteld, zonder de MCP-server voor elk model afzonderlijk in te stellen.

Waarom MCP MiniMax 音乐服务器 MCP gebruiken met TypingMind?

TypingMind is een van de beste interfaces voor chats met LLM's, omdat het meerdere AI-modellen, prompts, plug-ins, AI-agenten, API-sleutels en MCP-tools samenbrengt in één werkruimte. Als MCP MiniMax 音乐服务器 verbonden is, kun je de MCP-tools ervan gebruiken met je favoriete modellen en je chatworkflow overzichtelijk houden in TypingMind.

Hoe verbind ik MCP MiniMax 音乐服务器 MCP met TypingMind?

MCP MiniMax 音乐服务器 werkt via de lokale MCP-connector van TypingMind. Dit is de beste optie als de MCP-server toegang nodig heeft tot lokale bestanden, desktopapps, opdrachtregeltools of privébronnen op je computer.

Welke tools biedt MCP MiniMax 音乐服务器 MCP in TypingMind?

MCP MiniMax 音乐服务器 biedt MCP-functies die je kunt inschakelen via de pagina Plug-ins in TypingMind. Je kunt ze gebruiken in chats of toewijzen aan AI-agenten.

Moet ik mijn API-sleutels delen met TypingMind om MCP MiniMax 音乐服务器 MCP te gebruiken?

Nee. TypingMind werkt in de eerste plaats lokaal en laat je de controle houden over je modelaanbieders, API-sleutels, prompts en MCP-configuratie. Als MCP MiniMax 音乐服务器 authenticatie vereist, voeg je bij het maken van de verbinding de vereiste headers, OAuth-instellingen of lokale configuratie voor die MCP-server toe.

Gerelateerde MCP-servers

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇