Skip to main content

MCP server providing text-to-speech functionality using OpenAI's API

Project description

Quick-TTS MCP Server

MCP server providing text-to-speech functionality using OpenAI's TTS API via the quick-tts package.

Installation

Using uvx (Recommended)

uvx quick-tts-mcp

Using pip

pip install quick-tts-mcp

Using Docker

docker run -e OPENAI_API_KEY=your-key quick-tts-mcp

Configuration

Create a .env file:

OPENAI_API_KEY=sk-your-openai-api-key-here

Usage

Start the server

quick-tts-mcp

Available tools:

  • generate_speech: Convert text to speech
  • list_voices: List available voices
  • list_models: List available models

Example MCP client configuration

{
  "mcpServers": {
    "quick-tts": {
      "command": "uvx",
      "args": ["quick-tts-mcp"],
      "env": {
        "OPENAI_API_KEY": "sk-your-key"
      }
    }
  }
}

Tools

generate_speech

Convert text to speech using OpenAI's TTS API.

Parameters:

  • text (required): Text to convert to speech
  • voice (optional): Voice to use - alloy, echo, fable, onyx, nova, shimmer (default: alloy)
  • model (optional): Model to use - tts-1, tts-1-hd (default: tts-1-hd)
  • output_format (optional): Output format - mp3, wav (default: mp3)

Returns: JSON with file path, size, and metadata

list_voices

List all available TTS voices with descriptions.

Returns: JSON array of available voices

list_models

List all available TTS models with descriptions.

Returns: JSON array of available models

Development

Local installation

pip install -e .

Running locally

python -m quick_tts_mcp.server

License

MIT

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

quick_tts_mcp-0.1.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

quick_tts_mcp-0.1.4-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file quick_tts_mcp-0.1.4.tar.gz.

File metadata

  • Download URL: quick_tts_mcp-0.1.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for quick_tts_mcp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 c7bac9a1573975c23875106a4b2a5c2a6abfeae6541d08893a68bc521a5fdb0d
MD5 fbdfa058a4be240a243bfb8f74459f63
BLAKE2b-256 a659f3736b85a03623f80498f9053ed7305b452d14a467aefb9ac199ad5e1157

See more details on using hashes here.

File details

Details for the file quick_tts_mcp-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: quick_tts_mcp-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for quick_tts_mcp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 40093fea9df3d8d8a679ad81510810634636ac71bad55b77ccedd14eb6de0be0
MD5 aa0092c64671b4f1336a5fec10f2d373
BLAKE2b-256 800aa1a47964b53ed271733e1ed14952893c9367023190e27dd4805c28c83862

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