Labsco
samihalawa logo

Advanced TTS MCP Server

โ˜… 2

from samihalawa

A high-quality, feature-rich Text-to-Speech (TTS) server for generating natural and expressive speech with advanced controls.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeAdvanced setup

Advanced TTS MCP Server

A high-quality, feature-rich Text-to-Speech MCP server with native TypeScript implementation. Designed for professional applications requiring natural, expressive speech synthesis with advanced controls and zero external dependencies.

โœจ Features

๐ŸŽฏ Advanced Voice Control

  • 10 High-Quality Voices - Male and female voices with distinct personalities
  • Emotion Control - Neutral, happy, excited, calm, serious, casual, confident
  • Dynamic Pacing - Natural, conversational, presentation, tutorial, narrative modes
  • Speed & Volume - Precise control from 0.25x to 3.0x speed, 0.1x to 2.0x volume

๐Ÿš€ Professional Capabilities

  • Streaming Audio - Real-time synthesis and playback
  • Batch Processing - Handle multiple text segments efficiently
  • Multiple Formats - WAV, MP3, FLAC, OGG output support
  • Natural Speech Enhancement - Automatic pause insertion and emotion markers
  • Queue Management - Handle multiple concurrent requests

๐Ÿ”ง MCP Integration

  • 6 Powerful Tools - Complete synthesis, batch processing, voice management
  • 2 Rich Resources - Voice capabilities and usage examples
  • Real-time Status - Track processing progress and manage requests
  • File Management - Save, list, and organize audio outputs

๐ŸŽ™๏ธ Available Voices

Voice IDNameGenderDescription
af_heartHeartFemaleWarm, friendly voice (default)
af_skySkyFemaleClear, bright voice
af_bellaBellaFemaleElegant, sophisticated voice
af_sarahSarahFemaleProfessional, confident voice
af_nicoleNicoleFemaleGentle, soothing voice
am_adamAdamMaleStrong, authoritative voice
am_michaelMichaelMaleFriendly, approachable voice
bf_emmaEmmaFemaleYoung, energetic voice
bf_isabellaIsabellaFemaleMature, expressive voice
bm_lewisLewisMaleDeep, resonant voice

๐Ÿ› ๏ธ Available Tools

synthesize_speech

Convert text to natural speech with full control over voice characteristics.

Parameters:

  • text - Text to synthesize (max 10,000 chars)
  • voice_id - Voice selection (see table above)
  • speed - Speech rate (0.25-3.0)
  • emotion - Voice emotion (neutral, happy, excited, calm, serious, casual, confident)
  • pacing - Speech style (natural, conversational, presentation, tutorial, narrative, fast, slow)
  • volume - Audio volume (0.1-2.0)
  • output_format - File format (wav, mp3, flac, ogg)
  • save_file - Save to file (boolean)
  • filename - Custom filename

batch_synthesize

Process multiple text segments efficiently with optional merging.

Parameters:

  • segments - List of text segments
  • merge_output - Combine into single file
  • segment_pause - Pause between segments (0.0-5.0s)
  • All synthesis parameters from above

get_voices

Retrieve complete voice information and capabilities.

get_status

Check processing status for synthesis requests.

cancel_request

Cancel active synthesis operations.

list_output_files

Browse saved audio files with metadata.

๐ŸŽ›๏ธ Voice Controls

Emotions

  • Neutral - Standard, professional tone
  • Happy - Upbeat, cheerful expression
  • Excited - Enthusiastic, energetic delivery
  • Calm - Relaxed, soothing tone
  • Serious - Formal, authoritative delivery
  • Casual - Relaxed, conversational style
  • Confident - Assured, professional tone

Pacing Styles

  • Natural - Balanced, human-like rhythm
  • Conversational - Casual discussion pace
  • Presentation - Professional speaking rhythm
  • Tutorial - Educational, clear delivery
  • Narrative - Storytelling pace
  • Fast - Quick delivery (1.2x base speed)
  • Slow - Deliberate delivery (0.8x base speed)

๐ŸŽต Audio Formats

FormatQualityUse Case
WAVUncompressedHighest quality, editing
MP3CompressedWeb, streaming, sharing
FLACLosslessArchival, high-quality storage
OGGCompressedOpen source alternative

๐Ÿ—๏ธ Architecture

โ”œโ”€โ”€ src/advanced_tts/
โ”‚   โ”œโ”€โ”€ __init__.py          # Package initialization
โ”‚   โ”œโ”€โ”€ server.py            # MCP server implementation  
โ”‚   โ”œโ”€โ”€ engine.py            # Kokoro TTS engine wrapper
โ”‚   โ”œโ”€โ”€ models.py            # Data models and validation
โ”‚   โ””โ”€โ”€ utils.py             # Utility functions
โ”œโ”€โ”€ pyproject.toml           # Project configuration
โ”œโ”€โ”€ README.md               # Documentation
โ””โ”€โ”€ LICENSE                 # MIT License

๐Ÿค Contributing

Contributions welcome! Areas for improvement:

  • Additional voice models
  • Real-time streaming synthesis
  • Advanced audio effects
  • Multi-language support
  • Performance optimizations

๐Ÿ“„ License

MIT License - see LICENSE for details.

๐Ÿ™ Acknowledgments

  • Kokoro TTS - High-quality neural voice synthesis
  • MCP Protocol - Seamless AI model integration
  • FastMCP - Efficient server framework

Developed by Sami Halawa

Transform your text into natural, expressive speech with Advanced TTS MCP Server.