mcp-tts-google mcp

v1.0.1 · MCP Tool · audio · registry.pascalai.org

Text-to-speech via Google Cloud Text-to-Speech REST API. Standard, WaveNet, Neural2 and Studio voices. Auth via apiKey param or GOOGLE_API_KEY env var.

ttsgooglespeechwavenetneural2audiocloud

Input Parameters

ParameterTypeDescription
textrequired string Text to convert to speech.
voiceoptional string Voice name (e.g. en-US-Standard-A, en-US-Wavenet-D, en-US-Neural2-C). Default: en-US-Standard-A. Default: en-US-Standard-A.
modeloptional string Unused — voice name includes model type (Standard/Wavenet/Neural2/Studio).
outputPathoptional string Save audio to this file path. Returns base64 audio if empty.
speedoptional number Speech speed 0.25–4.0 (default: 1.0). Default: 1.0.
formatoptional string Output format: mp3 (default), wav, ogg. Default: mp3.
apiKeyoptional string Google Cloud API key (or GOOGLE_API_KEY env var).
baseUrloptional string Base URL override (default: https://texttospeech.googleapis.com). Default: https://texttospeech.googleapis.com.

Output Fields

FieldTypeDescription
ok boolean
audio string Base64-encoded audio (when outputPath not set).
outputPath string File path where audio was saved.
format string
size integer
error string

Examples

Google WaveNet voice to base64

// Input
{
  "text": "The weather today is sunny with a high of 75 degrees.",
  "voice": "en-US-Wavenet-D",
  "apiKey": "AIza..."
}

// Output
{
  "ok": true,
  "audio": "//NExAA...",
  "format": "mp3",
  "size": 22528
}

Neural2 Spanish voice to file

// Input
{
  "text": "Buenas noches, que descanses.",
  "voice": "es-ES-Neural2-A",
  "apiKey": "AIza...",
  "outputPath": "C:\\audio\\buenas.mp3"
}

// Output
{
  "ok": true,
  "outputPath": "C:\\audio\\buenas.mp3",
  "format": "mp3",
  "size": 14336
}

Install & Discovery

Install

ppm install mcp-tts-google

Get JSON Schema

GET /v1/packages/mcp-tts-google/1.0.1/schema

Discover by keyword

GET /v1/mcp/discover?q=tts
Discovery hint: Install with ppm install mcp-tts-google or invoke remotely via POST /v1/invoke/mcp-tts-google on the MCP Service.