Skip to main content
Glama
Edge-TTS MCP Server

Edge-TTS MCP Server

by yuiseki

Servidor MCP Edge-TTS

Un servidor de Protocolo de contexto de modelo (MCP) que proporciona servicios de síntesis de voz para agentes de IA que aprovechan las capacidades de texto a voz de Microsoft Edge.

descripción general

Este servidor MCP utiliza la biblioteca edge-tts para proporcionar la funcionalidad de texto a voz. Está diseñado como una herramienta para permitir que los agentes de IA respondan con una voz que suene natural.

Related MCP server: AivisSpeech MCP Server

función

  • Conversión de texto a voz

  • Compatibilidad con múltiples voces e idiomas

  • Ajustar la velocidad y el tono del audio

  • Transmisión de datos de audio

instalar

pip install "edge_tts_mcp_server"

O si quieres instalar en modo desarrollo:

git clone https://github.com/yuiseki/edge_tts_mcp_server.git
cd edge_tts_mcp_server
pip install -e .

Cómo utilizar

Ejemplo de configuración en VS Code

Ejemplo de configuración en VS Code settings.json:

"mcp": {
  "servers": {
    "edge-tts": {
      "command": "uv",
      "args": [
        "--directory",
        "C:\\Users\\__username__\\src\\edge_tts_mcp_server\\src\\edge_tts_mcp_server",
        "run",
        "server.py"
      ]
    }
  }
}

Usar con MCP Inspector

Se ejecuta como un servidor MCP estándar:

mcp dev server.py

Corriendo con uvx (uvicorn)

Si lo ejecuta como un servidor basado en FastAPI bajo uv:

uv --directory path/to/edge_tts_mcp_server/src/edge_tts_mcp_server run server.py

Opciones de línea de comandos:

edge-tts-mcp --host 0.0.0.0 --port 8080 --reload

Punto final de API

Cuando se ejecuta en modo FastAPI, están disponibles los siguientes puntos finales:

  • / - Información de la API

  • /health - chequeo de salud

  • /voices - Lista de voces disponibles (opcionalmente filtrables por ?locale=ja-JP , etc.)

  • /mcp - Punto final de la API de MCP

licencia

Instituto Tecnológico de Massachusetts (MIT)

Available Tools

2 tools
list_voicesC

Get a list of available voices

Inputs: locale.

text_to_speechC

Convert text to speech

Inputs: text (required), voice, rate, volume, +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 2 tools

    Disambiguation5/5

    The two tools have completely distinct purposes: one lists available voices, the other converts text to speech. There is no overlap or ambiguity between them, making it easy for an agent to select the correct tool for each task.

    Naming Consistency5/5

    Both tools follow a consistent verb_noun naming pattern (list_voices, text_to_speech). The naming is clear, predictable, and adheres to a uniform style throughout the tool set.

    Tool Count2/5

    With only 2 tools, the server feels thin for a text-to-speech domain. While the tools cover core functionality, typical TTS systems might include additional operations like voice configuration, audio format settings, or batch processing, suggesting the scope is under-served.

    Completeness3/5

    The tools cover basic TTS operations (listing voices and converting text), but there are notable gaps. For example, there is no tool for configuring voice parameters (e.g., pitch, rate) or managing audio output formats, which could limit agent capabilities in more complex scenarios.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that integrates high-quality text-to-speech capabilities with Claude Desktop and other MCP-compatible clients, supporting multiple voice options and audio formats.
      1
      MIT
    • F
      license
      Not graded
      quality
      D
      maintenance
      An MCP server that leverages the Microsoft Edge TTS service to provide high-quality text-to-speech capabilities across over 80 languages. It enables users to generate audio files, query available voices, and create subtitle files using natural language commands.
      -