ms-tts

ms-tts

MCP server for text-to-speech synthesis using Azure Speech Services, supporting 6 languages with high-quality neural voices and smart voice selection.

Category
Visit Server

README

MCP Text-to-Speech Server

Model Context Protocol server for text-to-speech synthesis using Azure Speech Services.

Features

  • 🎵 High-Quality Speech: Azure Neural voices with natural sound
  • 🌍 6 Languages: English, Finnish, Spanish, German, French, Swedish
  • 🗣️ Smart Voice Selection: Auto-select optimal voices or specify manually
  • 📊 Performance Metrics: Synthesis timing and audio stats
  • 🔧 MCP Compatible: Works with Claude Desktop, VS Code, other MCP clients

Supported Voices

Language Default Voice Alternatives
English (en-US) en-US-RyanMultilingualNeural en-US-JennyMultilingualNeural, en-US-AndrewMultilingualNeural
Finnish (fi-FI) en-US-RyanMultilingualNeural en-US-JennyMultilingualNeural, fi-FI-SelmaNeural, fi-FI-NooraNeural
Spanish (es-ES) es-ES-AlvaroNeural es-ES-ElviraNeural
German (de-DE) de-DE-ConradNeural de-DE-KatjaNeural
French (fr-FR) fr-FR-DeniseNeural fr-FR-HenriNeural
Swedish (sv-SE) sv-SE-MattiasNeural sv-SE-SofieNeural

Quick Start

# 1. Install
npm install

# 2. Configure (copy from parent or create .env)
cp ../.env .env

# 3. Test
npm run test:basic

# 4. Start
npm start

Required .env:

AZURE_SPEECH_KEY=your-key
AZURE_SPEECH_REGION=westeurope

MCP Integration

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "audio-tts": {
      "command": "node",
      "args": ["/path/to/mcp-server/mcp-server.mjs"],
      "env": {"AZURE_SPEECH_KEY": "your-key", "AZURE_SPEECH_REGION": "westeurope"}
    }
  }
}

VS Code

Use included .vscode/mcp.json or install MCP extension.

Usage

Natural language: "Convert to Finnish speech: Hei kaikki, olen Jenny."

Direct tool call:

{
  "tool": "synthesize_speech",
  "parameters": {
    "sentence": "Hei kaikki, olen Jenny ja puhun suomea.",
    "language": "fi-FI", 
    "voice": "en-US-JennyMultilingualNeural"
  }
}

Tool Parameters

Parameter Required Description
sentence ✅ Text to convert (1-1000 chars)
language ✅ Language code (en-US, fi-FI, es-ES, de-DE, fr-FR, sv-SE)
voice ❌ Specific voice (uses language default if not specified)

Output

Audio saved to ./audio/mcp-generated/ as:

mcp-tts-fi_FI-en-US-JennyMultilingualNeural-2025-08-17T16-30-45-123Z.wav

Returns: file path, voice used, performance metrics (synthesis time, duration, etc.)

Troubleshooting

Server won't start: Check Azure credentials in .env, ensure Node.js 16+, run npm install

No audio output: Verify output directory exists, check Azure quota/billing, confirm supported language

Voice issues: Use exact voice names from table above, try language default, check Azure region support

Debug mode: DEBUG=* npm start

Requirements

  • Node.js 16+
  • Azure Speech Services API key
  • MCP-compatible client (Claude Desktop, VS Code with MCP extension)

Built with Model Context Protocol for universal AI integration

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