
glados-mcp
io.github.halfaipg/glados-mcp
Local text-to-speech: your AI assistant speaks aloud as GLaDOS or one of 26 Kokoro voices.
Documentation
GLaDOS MCP Server
A Model Context Protocol server that lets your AI assistant talk to you out loud: GLaDOS-style commentary on whatever it is doing, or one of 26 neutral Kokoro voices when you want it to be serious.
Speech is synthesized locally with ONNX models. Nothing you say or it says leaves your machine.
Demo Videos (Turn on sound)
https://github.com/user-attachments/assets/f5623dd5-ac9b-4adc-8641-104d634504c7
https://github.com/user-attachments/assets/542fb5c6-03ab-4f4d-9e73-0d7f29a71c4e
Quick start
You need uv and working speakers. Add this to your MCP client configuration (Claude Desktop, Cursor, and so on):
{
"mcpServers": {
"glados": {
"command": "uvx",
"args": ["glados-mcp"]
}
}
}
For Claude Code:
claude mcp add glados -- uvx glados-mcp
The first start downloads about 300 MB of voice models into your user cache directory. Until that finishes, the tools reply with download progress. To fetch the models ahead of time:
uvx glados-mcp download
Linux also needs the PortAudio library (macOS and Windows wheels include it):
sudo apt install libportaudio2 # Debian/Ubuntu
sudo dnf install portaudio # Fedora/RHEL
Tools
| Tool | What it does |
|---|---|
speak(text, voice?, volume?) | Speaks the text and returns when playback finishes. Defaults to the GLaDOS voice. |
alert(alert_type?) | Plays a Portal sound: "chime" (about 3 seconds, the default) or "radio" (about 22 seconds). Returns immediately. |
stop() | Stops whatever is playing. |
list_voices() | Lists GLaDOS and the Kokoro voices. |
To get running commentary, tell your assistant so, for example in your rules or CLAUDE.md file: "Use the glados speak tool to comment briefly on what you are doing."
Voices
- GLaDOS (default):
glados - Kokoro female, US: af_alloy, af_aoede, af_bella, af_jessica, af_kore, af_nicole, af_nova, af_river, af_sarah, af_sky
- Kokoro female, British: bf_alice, bf_emma, bf_isabella, bf_lily
- Kokoro male, US: am_adam, am_echo, am_eric, am_fenrir, am_liam, am_michael, am_onyx, am_puck
- Kokoro male, British: bm_daniel, bm_fable, bm_george, bm_lewis
Configuration
Optional environment variables:
| Variable | Default | Purpose |
|---|---|---|
GLADOS_MCP_DEFAULT_VOICE | glados | Voice used when speak is called without one. |
GLADOS_MCP_MODELS_DIR | per-user cache directory | Where the voice models are stored. |
{
"mcpServers": {
"glados": {
"command": "uvx",
"args": ["glados-mcp"],
"env": { "GLADOS_MCP_DEFAULT_VOICE": "bm_daniel" }
}
}
}
Development
git clone https://github.com/halfaipg/glados-mcp
cd glados-mcp
uv sync
uv run pytest
uv run glados-mcp # runs the server on stdio
To release, bump the version in pyproject.toml and server.json, then push a v* tag. The Publish workflow uploads to PyPI and the MCP Registry.
Requirements
- Python 3.10 or newer
- Audio output
- Internet access on first run, for the model download
Credits and license
MIT. The speech synthesis code and voice models come from dnhkng/GLaDOS (MIT); the neutral voices are Kokoro. GLaDOS and Portal are property of Valve. This is an unofficial fan project, not affiliated with or endorsed by Valve.
"The cake is a lie, but the voice commentary is real."
glados-mcppip install glados-mcp