Skip to main content
Glama
mberg

Kokoro Text to Speech MCP Server

by mberg

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DEBUGNoEnable debug mode (set to "true" or "1")
MCP_HOSTNoHost to bind the server to0.0.0.0
MCP_PORTNoPort to listen on9876
TTS_SPEEDNoDefault speed for the TTS client1.0
TTS_VOICENoDefault voice for the TTS clientaf_heart
AWS_REGIONNoS3 region (e.g., us-east-1)us-east-1
MP3_FOLDERNoPath to store MP3 files (default is 'mp3' folder in script directory)
S3_ENABLEDNoEnable S3 uploads (set to "true" or "1")true
TTS_LANGUAGENoDefault language for the TTS clienten-us
AWS_S3_FOLDERNoFolder path within the S3 bucketmp3
MCP_CLIENT_HOSTNoHostname for client connections to the serverlocalhost
AWS_ACCESS_KEY_IDNoYour AWS access key ID
AWS_S3_BUCKET_NAMENoS3 bucket name
MP3_RETENTION_DAYSNoNumber of days to keep MP3 files before automatic deletion
AWS_S3_ENDPOINT_URLNoOptional custom endpoint URL for S3-compatible storage
AWS_SECRET_ACCESS_KEYNoYour AWS secret access key
DELETE_LOCAL_AFTER_S3_UPLOADNoWhether to delete local MP3 files after successful S3 upload (set to "true" or "1")

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
text_to_speechB
    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
    

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 1 tool

Disambiguation5/5

With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool has a clearly defined purpose of converting text to speech, which cannot be confused with any other functionality.

Naming Consistency5/5

The single tool name 'text_to_speech' follows a clear verb_noun pattern and uses snake_case consistently. With only one tool, naming consistency is inherently perfect as there are no other tools to compare against.

Tool Count2/5

A single tool is too few for a server's apparent scope of text-to-speech functionality. While the tool itself is well-defined, a complete TTS service would typically include additional tools such as listing available voices, managing audio files, or configuring settings, making this server feel thin and incomplete.

Completeness2/5

The server is severely incomplete for a text-to-speech domain. It lacks essential operations such as listing available voices, checking service status, managing generated audio files (beyond the single generation tool), or handling configuration. This creates significant gaps that will limit agent workflows and cause failures in more complex tasks.

Maintenance

ActivityInactive
ResponsivenessNo issues