Skip to main content

An MCP server providing voice status reports using OpenAI TTS (text-to-speech) API

Project description

Voice Status Report MCP Server Python Package PyPI version License: MIT Python 3.12

A Model Context Protocol (MCP) server that provides voice status updates using OpenAI's text-to-speech API. This allows language models to communicate with users through short voice messages: reporting on the progress of a task, or confirming that a command has been executed.

This MCP server is meant to be batteries included: the description of the summarize tool (prepended to system message by most MCP clients) asks the model to use this tool to report on the progress of a task.

Available Tools

The server exposes the following tool:

  • summarize(text: str): Converts the provided text into speech using OpenAI's TTS API and plays it to the user. This is useful for providing status updates or confirmations after code changes or commands.

Usage

You'll need an OpenAI API key to use this server.

Claude for Desktop

Update your claude_desktop_config.json (located in ~/Library/Application\ Support/Claude/claude_desktop_config.json on macOS and %APPDATA%/Claude/claude_desktop_config.json on Windows) to include the following:

{
  "mcpServers": {
    "voice-status-report": {
      "command": "uvx",
      "args": [
        "voice-status-report-mcp-server"
      ],
      "env": {
        "OPENAI_API_KEY": "YOUR_OPENAI_API_KEY"
      }
    }
  }
}

Command Line Options

The server accepts the following command line options:

  • --ding: Enable the ding sound that plays before each voice message. By default, the ding sound is disabled.
  • --voice [VOICE]: Choose the voice for speech generation. Available options: alloy, ash, coral (default), echo, fable, onyx, nova, sage, shimmer.
  • --speed SPEED: Set the speech speed (0.5-4.0, where higher is faster). Default is 4.0.
  • --instructions TEXT: Provide custom voice instructions for the TTS model. By default, the server uses a preset instruction for a calm, friendly voice.

Examples

# Run with ding sound enabled and a different voice
voice-status-report-mcp-server --ding --voice nova

# Run with a slower speech speed
voice-status-report-mcp-server --speed 2.0

# Run with custom voice instructions
voice-status-report-mcp-server --instructions "Voice should be confident and authoritative"

Claude for Desktop Configuration Examples

{
  "mcpServers": {
    "voice-status-calm": {
      "command": "uvx",
      "args": [
        "voice-status-report-mcp-server",
        "--voice",
        "coral"
      ],
      "env": {
        "OPENAI_API_KEY": "YOUR_OPENAI_API_KEY"
      }
    },
    "voice-status-friendly": {
      "command": "uvx",
      "args": [
        "voice-status-report-mcp-server",
        "--voice",
        "nova",
        "--speed",
        "3.0"
      ],
      "env": {
        "OPENAI_API_KEY": "YOUR_OPENAI_API_KEY"
      }
    }
  }
}

Example Usage

Once connected, Claude can use the tool to provide audio feedback like:

  • "Added a new function to handle user authentication"
  • "Fixed the bug in the login form"
  • "Created a new file for the API client"
  • "Added OpenAI TTS documentation link"

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

voice_status_report_mcp_server-0.1.3.tar.gz (388.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

voice_status_report_mcp_server-0.1.3-py3-none-any.whl (376.6 kB view details)

Uploaded Python 3

File details

Details for the file voice_status_report_mcp_server-0.1.3.tar.gz.

File metadata

File hashes

Hashes for voice_status_report_mcp_server-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8f21cbf877613ae9b06afa639265cf2d6664d16f49b00a35c91cc22e9fe4d567
MD5 b780ef9f87b794655be41d30a61afc94
BLAKE2b-256 c8d02cb65f6bfbee4979869cd8c4ab46e2a342d0e08bf1e90a859a3ed8116ce5

See more details on using hashes here.

File details

Details for the file voice_status_report_mcp_server-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for voice_status_report_mcp_server-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ada9a03bb3f954debc0bf6388108053211a8bf07c14664c98961f148f52a508c
MD5 4c4b7093c5e3dc67f364a13eb7c03fc0
BLAKE2b-256 8bcdb8a9d8854eacec3610200f5dc255dd765507610b757a4972b06dd2456631

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page