GLaDOS MCP Server
Your AI coding assistant, now with opinions about you. This Model Context Protocol server lets it talk 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.
uvx glados-mcp
Demo
Turn the sound on.
https://github.com/user-attachments/assets/15be4927-439f-4697-b17f-991c6de69d80
https://github.com/user-attachments/assets/f90c3673-f9d7-41f9-a643-6e5f0464545f
These are scripted scenes; the voice is real output from this server.
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."
Metadata
Release files for glados-mcp 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| glados_mcp-0.2.1.tar.gz | 4.2 MB | Without provenance | Details for glados_mcp-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| glados_mcp-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for glados_mcp-0.2.1-py3-none-any.whl |
Total release size: 8.5 MB
Release files / glados_mcp-0.2.1.tar.gz
| Download URL | glados_mcp-0.2.1.tar.gz |
|---|---|
| Size | 4.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fd13498552956278ff1096fe4e389d5e0218baceb76a01f04d0fde0dab78504f
|
|
BLAKE2b-256 checksum How to use checksums |
ae243bbc9e3de57bcecd65ad009ca7643a70ddea3c374093fc7281bf2191c544
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / glados_mcp-0.2.1-py3-none-any.whl
| Download URL | glados_mcp-0.2.1-py3-none-any.whl |
|---|---|
| Size | 4.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f9d83b7d299b88bab48b09835be2aa923a1f8e5aad7d1bf76c1997a80353dbd
|
|
BLAKE2b-256 checksum How to use checksums |
ac5ffb67dac569cd622641d553955f875f0ffe21871591fa5db31ab3e7a05a52
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for glados-mcp 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.