MCP MiniMax 音乐服务器 logo

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.

Publisherfalahgs
Repositorymcp-minimax-music-server
LanguageTypeScript
Forks
2
Stars
5
Available tools
0
Transport typestdio
Categories
Links
  • Connect tools to AI workflows

    MCP MiniMax 音乐服务器 exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    5 stars and 2 forks from the linked repository.

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.

Installation

TypingMind
Prerequisites:

Node.js 18+

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

Use MCP MiniMax 音乐服务器 MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MCP MiniMax 音乐服务器 is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MCP MiniMax 音乐服务器 as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MCP MiniMax 音乐服务器 MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "yourusername-mcp-minimax-music-server": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-minimax-music-server"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MCP MiniMax 音乐服务器 MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MCP MiniMax 音乐服务器 MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP MiniMax 音乐服务器 to help me with this task?
MCP MiniMax 音乐服务器
Sure. I read it.
Here is what I found using MCP MiniMax 音乐服务器.

Frequently asked questions

What is the MCP MiniMax 音乐服务器 MCP server used for?

MCP MiniMax 音乐服务器 is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MCP MiniMax 音乐服务器 MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MCP MiniMax 音乐服务器 with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MCP MiniMax 音乐服务器 MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MCP MiniMax 音乐服务器 connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MCP MiniMax 音乐服务器 MCP to TypingMind?

MCP MiniMax 音乐服务器 runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does MCP MiniMax 音乐服务器 MCP provide in TypingMind?

MCP MiniMax 音乐服务器 exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MCP MiniMax 音乐服务器 MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MCP MiniMax 音乐服务器 requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇