Skip to main content

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

Metadata

Release files for glados-mcp 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for glados-mcp 0.2.0
File Size Uploaded Provenance Actions
glados_mcp-0.2.0.tar.gz 4.2 MB Without provenance Details for glados_mcp-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for glados-mcp 0.2.0
File Interpreter ABI Platform Actions
glados_mcp-0.2.0-py3-none-any.whl Python 3 none any Details for glados_mcp-0.2.0-py3-none-any.whl

Total release size: 8.5 MB

Release files / glados_mcp-0.2.0.tar.gz

Download URL glados_mcp-0.2.0.tar.gz
Size 4.2 MB
Tags Source
SHA-256 checksum
How to use checksums
f359f0f55a6f607be00fbb702aeb0627a80ffeb8f9b137c7001706a91e3f9654
BLAKE2b-256 checksum
How to use checksums
d22a05f768d0afb5fc045746dc527d13d8436c8bfbab847d8dc324c2e2e8ed86
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.0-py3-none-any.whl

Download URL glados_mcp-0.2.0-py3-none-any.whl
Size 4.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
321c578abe360437e44c96fc554f4b9e15e3ec63f220ecbe6ec8a6697ac059dd
BLAKE2b-256 checksum
How to use checksums
902710d499b561248a56e9d248c981f235e1b4fe4a905d3aaf4750e71c58cd65
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.0

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page