Kokoro Text to Speech MCP Server

Apache 2.0
  • Apple

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")

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools