跳到正文
FunCoding

GLaDOS Voice

官方 MCP Registry 已收录

Local text-to-speech: your AI assistant speaks aloud as GLaDOS or one of 26 Kokoro voices.

Star
11
分类
其他
版本
v0.2.1
许可证
MIT
最近提交
2026年11月24日

GLaDOS MCP Server

PyPI Python versions License: MIT MCP Registry Publish

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

ToolWhat 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:

VariableDefaultPurpose
GLADOS_MCP_DEFAULT_VOICEgladosVoice used when speak is called without one.
GLADOS_MCP_MODELS_DIRper-user cache directoryWhere 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."

同类 MCP Server

官方

Time

Current time lookup and conversion between IANA timezones

MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star

官方

Everything

Reference server that exercises every MCP feature: tools, resources, prompts, sampling and more

MOmodelcontextprotocol/servers92k近 7 天新增 200 个 star

官方

Context7

Up-to-date docs for AI agents

UPupstash/context766k近 7 天新增 359 个 star

Reactive Resume

Free open-source resume builder with remote MCP tools for resumes and job applications.

REreactive-resume/reactive-resume46k近 7 天新增 219 个 star

mcp-server

Puter MCP enables AI tools to interact with Puter: manage files, websites, workers, and more

HEHeyPuter/puter44k近 7 天新增 63 个 star