Loading...

Kokoro TTS MCP server generates speech from text, with optional S3 upload and local file management. Requires local setup and careful configuration.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
Kokoro TTS MCP server generates speech from text, with optional S3 upload and local file management. Requires local setup and careful configuration.
The Kokoro TTS MCP server is relatively safe if used without S3 upload and with strict access control to the local file system. Enabling S3 upload increases the risk due to the need to manage AWS credentials. Ensure proper configuration and monitoring to mitigate potential security issues.
Performance depends on the complexity of the text and the speed of the TTS engine. Consider optimizing the text input and adjusting the TTS speed for better performance.
Cost considerations include the computational resources required to run the TTS engine and the storage costs associated with storing MP3 files, especially if S3 upload is enabled.
brew install ffmpegAWS_ACCESS_KEY_IDAWS_SECRET_ACCESS_KEYMCP_PORTmcp-tts.pyConverts text to speech using the Kokoro TTS engine and optionally uploads the result to S3.
Writes MP3 files to the local file system and can upload to S3 using provided credentials.
Environment Variable
The Kokoro TTS MCP server is relatively safe if used without S3 upload and with strict access control to the local file system. Enabling S3 upload increases the risk due to the need to manage AWS credentials. Ensure proper configuration and monitoring to mitigate potential security issues.
Autonomy is limited by the configuration options. S3 upload and local file management are controlled via environment variables.
Production Tip
Implement robust logging and monitoring to track TTS requests, S3 uploads, and potential errors.
Set the `TTS_VOICE` environment variable to the desired voice.
Set `S3_ENABLED` to `true` and configure the AWS credentials and bucket settings.
MP3 files are stored in the directory specified by the `MP3_FOLDER` environment variable.
Set the `MP3_RETENTION_DAYS` environment variable to automatically delete files older than the specified number of days. You can also set `DELETE_LOCAL_AFTER_S3_UPLOAD` to `true` to delete local files after S3 upload.
The server needs `s3:PutObject` permission to upload files to the specified S3 bucket and folder.
Yes, use the `--no-s3` option in the `mcp_client.py` script to disable S3 upload for a specific request.
The default language is `en-us`, configurable via the `TTS_LANGUAGE` environment variable.
Matt Berg
Lead Maintainer
Lawrence Sinclair
Contributor
Frank Fiegel
Contributor