Kokoro Text to Speech MCP Server

Apache 2.0
  • Apple
# MCP TTS Server Environment Variables # AWS/S3 Settings - These are just placeholders, replace with real values if needed AWS_ACCESS_KEY_ID=your_access_key_here AWS_SECRET_ACCESS_KEY=your_secret_key_here AWS_S3_BUCKET_NAME=your_bucket_name AWS_S3_REGION=us-east-1 AWS_S3_FOLDER=mp3 # AWS_S3_ENDPOINT_URL=optional_custom_endpoint_url # Server Settings # Note: 0.0.0.0 means "listen on all interfaces" MCP_HOST=0.0.0.0 MCP_PORT=9876 # Client Settings - use localhost or 127.0.0.1 to connect to a local server MCP_CLIENT_HOST=localhost # TTS Client Settings TTS_VOICE=af_heart TTS_SPEED=1.0 TTS_LANGUAGE=en-us # MP3 File Settings # Path to store MP3 files (default is 'mp3' folder in script directory) MP3_FOLDER=mp3 # Number of days to keep MP3 files before deletion (optional) MP3_RETENTION_DAYS=30 # Whether to delete local files after successful S3 upload (optional) DELETE_LOCAL_AFTER_S3_UPLOAD=false # S3 Settings # Enable or disable S3 uploads (overrides settings.py) S3_ENABLED=false # Alternatively, you can disable S3 with DISABLE_S3=true # Debug Settings DEBUG=true