Skip to main content
Glama

Kokoro Text to Speech MCP Server

by mberg

text_to_speech

Convert any text into audio files in MP3 format using customizable voice, speed, and language settings. Supports optional S3 uploads for easy file storage and access.

Instructions

Convert text to speech using the Kokoro TTS service. Args: text: The text to convert to speech voice: Voice ID to use (default: af_heart) speed: Speech speed (default: 1.0) lang: Language code (default: en-us) filename: Optional filename for the MP3 (default: auto-generated UUID) upload_to_s3: Whether to upload to S3 if enabled (default: True) Returns: A dictionary with information about the generated audio file

Input Schema

NameRequiredDescriptionDefault
filenameNo
langNoen-us
speedNo
textYes
upload_to_s3No
voiceNoaf_heart

Input Schema (JSON Schema)

{ "properties": { "filename": { "default": null, "title": "Filename", "type": "string" }, "lang": { "default": "en-us", "title": "Lang", "type": "string" }, "speed": { "default": 1, "title": "Speed", "type": "number" }, "text": { "title": "Text", "type": "string" }, "upload_to_s3": { "default": true, "title": "Upload To S3", "type": "boolean" }, "voice": { "default": "af_heart", "title": "Voice", "type": "string" } }, "required": [ "text" ], "title": "text_to_speechArguments", "type": "object" }
Install Server

Other Tools from Kokoro Text to Speech MCP Server

Related Tools

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/mberg/kokoro-tts-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server