minimax-tts-mcp
minimax-tts-mcp
Легковесный MCP-сервер (Model Context Protocol), который даёт ИИ возможность говорить. Текст на вход — URL аудио на выход.
Создан с помощью Flask + MiniMax TTS API.
Что он делает
Предоставляет инструмент
generate_speechчерез протокол MCPИИ отправляет текст → сервер вызывает MiniMax TTS → возвращает воспроизводимый URL mp3
Поддерживает управление эмоциями, регулировку скорости и выбор языка (кантонский, мандарин и т. д.)
Related MCP server: Blabber-MCP
Быстрый старт
1. Клонирование и установка
git clone https://github.com/YOUR_USERNAME/minimax-tts-mcp.git
cd minimax-tts-mcp
pip install -r requirements.txt2. Настройка
cp .env.example .env
# Edit .env with your MiniMax API key and voice IDПолучите свой API-ключ и ID голоса на MiniMax Platform.
3. Запуск
python server.pyСервер запускается на http://localhost:5000.
Эндпоинты
Endpoint | Method | Description |
| POST | Эндпоинт протокола MCP для вызовов инструментов ИИ |
| POST | Прямой TTS — отправьте JSON, получите mp3-файл |
| GET | Отдача сгенерированных аудиофайлов |
| GET | Проверка состояния |
Интеграция с MCP
Добавьте в конфигурацию вашего MCP-клиента:
{
"mcpServers": {
"tts": {
"url": "http://localhost:5000/mcp"
}
}
}Сервер предоставляет один инструмент:
generate_speech
Parameter | Type | Required | Description |
text | string | да | Текст для озвучивания |
emotion | string | нет | neutral, happy, sad, angry, fearful, surprised, disgusted |
speed | number | нет | 0.5 - 2.0 (по умолчанию 0.9) |
language | string | нет | например, "Chinese,Yue" для кантонского |
Прямое использование TTS
curl -X POST http://localhost:5000/tts \
-H "Content-Type: application/json" \
-d '{"text": "Hello world", "speed": 1.0}' \
--output speech.mp3Развёртывание
Работает везде, где есть Python — VPS, облачная VM или контейнер. Для публичного доступа разместите за обратным прокси (nginx/caddy) с HTTPS.
Пример с systemd:
# /etc/systemd/system/tts-mcp.service
[Unit]
Description=MiniMax TTS MCP Server
[Service]
WorkingDirectory=/path/to/minimax-tts-mcp
EnvironmentFile=/path/to/minimax-tts-mcp/.env
ExecStart=/usr/bin/python3 server.py
Restart=always
[Install]
WantedBy=multi-user.targetПримечания
Сгенерированные аудиофайлы хранятся в
/tmpи не очищаются автоматически. Для продакшена добавьте cron-задачу или логику очистки.MiniMax API — платный сервис. Ознакомьтесь с их тарифами на использование TTS.
Клонирование голоса требует настройки пользовательского голоса на платформе MiniMax.
Лицензия
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server implementation that integrates with Minimax API to provide AI-powered image generation and text-to-speech functionality in editors like Windsurf and Cursor.33250MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables LLMs to generate spoken audio from text using OpenAI's Text-to-Speech API, supporting various voices, models, and audio formats.1121MIT
- FlicenseCqualityCmaintenanceAn MCP server that exposes speech-to-text and text-to-speech capabilities using a local speaches instance, allowing AI assistants to transcribe audio and generate speech.2
- Alicense-qualityDmaintenanceMCP server for MiniMax's multimodal generation models, enabling text-to-speech, voice cloning, image, video, and music creation through natural language.MIT
Related MCP Connectors
MCP server exposing the AceDataCloud Fish Audio API (text-to-speech with voice conditioning)
MCP server for Hailuo (MiniMax) AI video generation
MCP server for AI dialogue using various LLM models via AceDataCloud
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/jb4f7mhbvf-svg/minimax-tts-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server