Skip to content
Conduit

mcp server

tts-stt-voice-mcp

Push-to-talk TTS/STT voice MCP assistant with local and cloud speech options.

a2z2k26/tts-stt-voice-mcpcommunitylistedunreviewed

Set up

Runs on your computer. Pick your agent and operating system.

Before you start

  • uv (`curl -LsSf https://astral.sh/uv/install.sh | sh`)
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "tts-stt-voice-mcp": {
      "command": "uvx",
      "args": [
        "bumba"
      ]
    }
  }
}

same format Cursor, GitHub Copilot CLI, Junie, JetBrains AI Assistant, Augment (Auggie CLI), Factory Droid, Kiro, Devin CLI +12

Values in angle brackets are placeholders. Restart Claude Desktop after editing its config.Claude Desktop docs

README

synced Oct 21, 2026
 _____ _____ ____    ____ _____ _____  __     _____ ___ ____ _____
|_   _|_   _/ ___|  / ___|_   _|_   _| \ \   / / _ \_ _/ ___| ____|
  | |   | | \___ \  \___ \ | |   | |    \ \ / / | | | | |   |  _|
  | |   | |  ___) |  ___) || |   | |     \ V /| |_| | | |___| |___
  |_|   |_| |____/  |____/ |_|   |_|      \_/  \___/___\____|_____|

 __  __  ____ ____
|  \/  |/ ___|  _ \
| |\/| | |   | |_) |
| |  | | |___|  __/
|_|  |_|\____|_|

Python

Talk with Claude. Keyboard control. Optimized latency. TTS STT Voice MCP is a keyboard-driven push-to-talk voice assistant for Claude Code and AI assistants, delivering 60% faster response times through optimized audio processing. Built on the Model Context Protocol (MCP), it combines precise PTT control with sub-2-second latency for natural, real-time conversations.


Push-to-Talk Control

  1. Press key: Right Option Key to talk just like a walkie-talkie:
  2. Press and Hold: Hold the PTT key (Right Option) while speaking.
  3. Release key: Release the key when done - your speech is processed immediately.

60% Faster Response Times (sub 2sec)

  • Traditional flows: 3.5s average (record → process → speak)
  • TTS STT Voice MCP flow: 1.4s average (parallel processing, WebRTC VAD, connection pooling)

Zero Cost Option

  • Local & free run locally without API fees.
  • Whisper.cpp for speech-to-text (on-device)
  • Kokoro TTS for text-to-speech (50+ voices)
  • No cloud required or mix local + cloud services

Performance

MetricTraditionalTTS STT Voice MCPImprovement
Total Turnaround3.5s1.4s60% faster
Time to First Audio2.1s0.8s62% faster
Speech-to-Text1.2s0.4s67% faster

Based on average conversation over 100+ interactions

Latency Optimization

  • Parallel TTS/STT processing
  • WebRTC VAD for instant speech detection
  • HTTP connection pooling
  • Zero-copy audio buffers
  • Provider health caching

Installation

(requires Python 3.10+, FFmpeg)

# Clone and install
git clone https://github.com/a2z2k26/tts-stt-voice-mcp
cd tts-stt-voice-mcp
make dev-install

# Or install from source (requires uv)
uv pip install -e .

# Or install released package (coming soon)
pip install bumba

Configuration

Add to Claude Code (`~/.claude/mcp_settings.json)

{
  "mcpServers": {
    "bumba": {
      "command": "python",
      "args": ["-m", "voice_mode.server"]
    }
  }
}

Environment Setup

Create voicemode.env in your project root:

# Push-to-Talk Configuration
BUMBA_PTT_ENABLED=true
BUMBA_PTT_MODE=hold              # hold, toggle, or hybrid
BUMBA_PTT_KEY_COMBO=option_r     # Your preferred key combo (Right Option Key)

# Voice Services (optional - uses OpenAI by default)
OPENAI_API_KEY=<openai-api-key>      # For cloud TTS/STT

# Or use local services (zero cost)
# VOICEMODE_TTS_URL=http://localhost:8880/v1  # Local Kokoro
# VOICEMODE_STT_URL=http://localhost:7880/v1  # Local Whisper

Basic Conversation

# In Claude Code, just say:
"Use the converse tool to chat with me"

# Claude will respond in voice and listen for your reply

First Conversation

  1. Start: "Hey Claude, use the converse tool"
  2. Hello Message: Claude will say 'Hello..'
  3. Hold your PTT key: hold Right Option key
  4. Speak: add your prompt by voice
  5. Release key: release Right Option key
  6. Listen: hear Claude respond!

Install Whisper.cpp (Speech-to-text)

# Using MCP tool in Claude Code (recommended):
"Install whisper with the base model"

# The MCP tool will:
# - Auto-detect your platform (macOS with Metal, Linux with CUDA if available)
# - Download and compile whisper.cpp with optimal settings
# - Download the specified model (default: base, 142MB)
# - Configure the service to auto-start

Install Kokoro (Text-to-speech)

# Using MCP tool in Claude Code (recommended):
"Install kokoro TTS service"

# The MCP tool will:
# - Clone kokoro-fastapi repository
# - Install dependencies in a virtual environment
# - Download required models on first start
# - Configure service to auto-start (macOS: launchd, Linux: systemd)

Setup Environment Variables

# PTT Settings
BUMBA_PTT_ENABLED=true|false
BUMBA_PTT_MODE=hold|toggle|hybrid
BUMBA_PTT_KEY_COMBO=option_r

# Voice Preferences
VOICEMODE_TTS_VOICE=alloy,nova,shimmer  # Preferred voices in order
VOICEMODE_STT_MODEL=whisper-1

# Service URLs (optional - auto-discovered)
VOICEMODE_TTS_URL=http://localhost:8880/v1
VOICEMODE_STT_URL=http://localhost:7880/v1

# Audio Settings
VOICEMODE_AUDIO_FEEDBACK=true|false
VOICEMODE_FEEDBACK_STYLE=whisper|shout
VOICEMODE_VAD_AGGRESSIVENESS=0-3  # Voice activity detection sensitivity

Setup Voice Preferences

Create .voices.txt in your project or home directory:

# Cloud voices (OpenAI)
alloy
nova

# Local voices (Kokoro)
af_sky    # American Female - Sky
am_adam   # American Male - Adam
bf_emma   # British Female - Emma

Audio Issues

# Check audio devices
python -m voice_mode.tools.devices

# Test microphone
# In Claude Code: "check my audio devices"

Service Issues

# Check service status
# In Claude Code: "check voice service status"

# Or use MCP service management tools:
# In Claude Code: "restart the whisper service"
# In Claude Code: "restart the kokoro service"
# In Claude Code: "show whisper service logs"

PTT Not Working

  • Check voicemode.env has correct settings
  • Verify key combination doesn't conflict with system shortcuts
  • Try a different key combo: BUMBA_PTT_KEY_COMBO=f12

Documentation

License

MIT License - See LICENSE for details

Acknowledgement

Built upon the foundation of the VoiceMode project by @mbailey


BUMBA Multi-Agent Orchestration Framework

↑↓ navigate openesc close