Skip to main content
Glama

minimax-tts-mcp

AI가 말할 수 있게 해주는 경량 MCP(Model Context Protocol) 서버입니다. 텍스트를 입력하면 오디오 URL을 출력합니다.

Flask + MiniMax TTS API로 구축되었습니다.

기능

  • MCP 프로토콜을 통해 generate_speech 도구를 노출합니다.

  • AI가 텍스트를 보내면 → 서버가 MiniMax TTS를 호출 → 재생 가능한 mp3 URL을 반환합니다.

  • 감정 조절, 속도 조절, 언어 선택(광둥어, 만다린 등)을 지원합니다.

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.txt

2. 구성

cp .env.example .env
# Edit .env with your MiniMax API key and voice ID

MiniMax Platform에서 API 키와 음성 ID를 받으세요.

3. 실행

python server.py

서버는 http://localhost:5000에서 시작됩니다.

엔드포인트

엔드포인트

메서드

설명

/mcp

POST

AI 도구 호출용 MCP 프로토콜 엔드포인트

/tts

POST

직접 TTS — JSON을 POST하면 mp3 파일을 받습니다.

/audio/<filename>

GET

생성된 오디오 파일 제공

/health

GET

상태 확인

MCP 통합

MCP 클라이언트 구성에 추가하세요:

{
  "mcpServers": {
    "tts": {
      "url": "http://localhost:5000/mcp"
    }
  }
}

서버는 하나의 도구를 노출합니다:

generate_speech

매개변수

유형

필수

설명

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, 컨테이너 등. 공개 액세스가 필요하면 HTTPS를 지원하는 리버스 프록시(nginx/caddy) 뒤에 배치하세요.

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

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

View all related MCP servers

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

View all MCP Connectors

Latest Blog Posts

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