mcp-speak-when-done
Uses OpenAI's TTS API (or compatible) to convert text summaries to speech, with configurable voice and speed.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-speak-when-done Explain the water cycle briefly."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-speak-when-done
An MCP server that makes AI agents speak a brief summary of every response out loud.
When installed, the agent sees a speak_when_done tool with instructions to call it at the end of every response with a 1-3 sentence spoken summary.
Install
uvx mcp-speak-when-doneClaude Desktop / Claude Code
Add to your MCP configuration:
{
"mcpServers": {
"speak-when-done": {
"command": "uvx",
"args": ["mcp-speak-when-done"],
"env": {
"OPENAI_API_KEY": "your-api-key"
}
}
}
}Works with any OpenAI-compatible TTS API. The provider is auto-detected from your API key:
Key prefix | Provider | Default model | Default voice |
| Groq | canopylabs/orpheus-v1-english | troy |
(other) | OpenAI | tts-1 | alloy |
Requirements
One audio player must be installed: ffplay (from ffmpeg), mplayer, or vlc.
Related MCP server: speaches-mcp
Configuration
All settings are optional environment variables:
Variable | Description | Default |
| API key (required) | — |
| Voice name | auto-detected from key |
| Speech speed |
|
| TTS model | auto-detected from key |
| API endpoint | auto-detected from key |
| Retry count |
|
| Request timeout (s) |
|
Remote Use (SSH + SSE)
If you run Claude on a remote server but want audio on your local machine:
1. On your local machine (has speakers + API key):
OPENAI_API_KEY="your-key" mcp-speak-when-done --transport sseThis starts an SSE server on port 8000 (override with FASTMCP_PORT).
2. SSH tunnel from the remote server to your local machine:
ssh -R 8000:localhost:8000 remote-server3. On the remote server, configure Claude with proxy mode:
{
"mcpServers": {
"speak-when-done": {
"command": "uvx",
"args": ["mcp-speak-when-done"],
"env": {
"SPEECH_PROXY_URL": "http://localhost:8000/sse"
}
}
}
}No API key needed on the remote side. If your local machine is off, the tool silently returns success — Claude keeps working normally.
Variable | Description | Default |
| SSE server URL | — (unset = direct mode) |
| Proxy timeout (s) |
|
License
GPL-3.0-or-later
Available Tools
1 toolspeak_when_doneA
Speak a brief summary of your response out loud. Call this at the end of EVERY response. Summarize what you said in 1-3 short sentences — shorter is better. If your response is a question, speak the question only, not the suggested answers. Keep it natural and conversational.
Inputs: text (required), voice, speed. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
Only one tool exists, so there is no possibility of confusion or overlap between tools.
The single tool name 'speak_when_done' is clear, descriptive, and follows a natural verb_temporal pattern.
The server is narrowly scoped to speaking a summary when done, so one tool is perfectly appropriate and not thin.
The tool fully covers the server's stated purpose of providing a spoken summary; no additional tools are needed.
Maintenance
Related MCP Connectors
AI voice generation: text-to-speech and voice cloning from any MCP client.
MCP server for Text-to-Speech
Remote text-to-speech MCP server with text_to_speech and list_voices tools. Free plan.
An MCP server that integrates with Discord to provide AI-powered features.
Related MCP Servers
- AlicenseAqualityDmaintenanceAn MCP server that enables LLMs to generate spoken audio from text using OpenAI's Text-to-Speech API, supporting various voices, models, and audio formats.11MIT
- FlicenseCqualityCmaintenanceAn MCP server that exposes speech-to-text and text-to-speech capabilities using a local speaches instance, allowing AI assistants to transcribe audio and generate speech.2-
- AlicenseAqualityDmaintenanceAn MCP server that lets AI assistants send spoken audio notifications using high-quality AI voices, so you don't have to stare at the screen waiting for long tasks to finish.2MIT
- AlicenseAqualityDmaintenanceThis MCP server enables Claude to speak summaries, announcements, and explanations aloud using text-to-speech — right from your terminal.4MIT