TTS MCP Server

TTS MCP Server

Provides Text-to-Speech (TTS) functionality using Google TTS API, enabling audio generation, voice listing, and style templates via MCP.

Category
Visit Server

README

TTS MCP Server

A Model Context Protocol (MCP) server that provides Text-to-Speech (TTS) functionality using Google TTS API.

Features

  • Tools: Generate TTS audio, list voices, get style templates
  • Resources: Access voice style templates via URI patterns
  • Prompts: Direct access to 16+ voice style prompt templates

Installation

  1. Clone this repository
  2. Install dependencies:
    npm install
    
  3. Build the project:
    npm run build
    

Usage

Run the server:

npm start

Or for development:

npm run dev

MCP Configuration

Add the following to your MCP configuration file (e.g., mcp.json):

{
  "mcpServers": {
    "tts-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@activebook/tts-mcp-server"
      ],
      "env": {
        "GOOGLE_API_KEY": "{your-google-api-key}", // required, change to your own key
        "GOOGLE_NAME_MODEL": "gemini-2.0-flash", // optional
        "GOOGLE_TTS_MODEL": "gemini-2.5-flash-preview-tts", // optional
        "GOOGLE_VOICE": "kore" // optional
      }
    }
  }
}

Tools

google_tts_generate

Description: Generate TTS audio from text content

Parameters:

  • content: string (The text content to convert to speech) [required]
  • directory: string (Directory to save the audio file (Default: current directory)) [optional]
  • voice: string (Voice to use for TTS (Default: Kore)) [optional]
  • style: string (Speech style - either a template name like 'news_tone' or custom style text) [optional]

Returns: Path to the saved audio file

get_google_tts_voices

Description: Get list of available TTS voices

Parameters:

  • count: number (Number of voices to return (0 for all)) [optional]

get_voice_styles

Description: Get list of predefined speech style templates

Parameters:

  • detail: boolean (Whether to show voice style detail (Default: false)) [optional] Returns: JSON object containing available speech style templates with descriptions and style prompts

Prompts

Access voice style prompt templates directly:

Available Prompts

  • news_anchor - Formal, clear news-reporting style
  • professional_presenter - Confident business presentation style
  • bedtime_storyteller - Gentle, soothing storytelling voice
  • motivational_speaker - Energetic, inspiring delivery
  • podcast_host - Engaging conversational style
  • documentary_narrator - Calm, authoritative narration
  • mysterious_narrator - Deep, suspenseful voice
  • humorous_comedian - Light-hearted, comedic tone
  • calm_meditation_guide - Soothing meditation voice
  • dramatic_performer - Expressive theatrical style
  • And 6 more styles...

Usage

{
  "method": "prompts/get",
  "params": {
    "name": "news_anchor"
  }
}

Returns: Style prompt text ready for TTS generation

Resources

Access voice style metadata via URI patterns:

Voice Style Templates

  • URI Pattern: tts://voice-styles/{style_name}
  • Example: tts://voice-styles/news_anchor
  • Content: JSON with style description and prompt

Usage

{
  "method": "resources/read",
  "params": {
    "uri": "tts://voice-styles/bedtime_storyteller"
  }
}

Returns: Voice style metadata in JSON format

Screenshots

Feature Screenshot
Available Tools List Tools
Generate Audio Generate Audio
List Voices List Voices
Voice Styles Voice Styles
Combine Voice&Style Combine Voice&Style

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured