Skip to main content
Glama

Edge-TTS MCP Server

Edge-TTS MCP 服务器

模型上下文协议 (MCP) 服务器为利用 Microsoft Edge 的文本转语音功能的 AI 代理提供语音合成服务。

概述

该 MCP 服务器使用edge-tts库提供文本转语音功能。它被设计为一种工具,使人工智能代理能够以自然的声音做出回应。

功能

  • 文本到语音转换
  • 多种语音和语言支持
  • 调整音频速度和音调
  • 流音频数据

安装

pip install "edge_tts_mcp_server"

或者如果您想以开发模式安装:

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

如何使用

VS Code 中的示例设置

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" ] } } }

与 MCP Inspector 一起使用

作为标准 MCP 服务器运行:

mcp dev server.py

使用 uvx (uvicorn) 运行

如果您将其作为 uv 下的基于 FastAPI 的服务器运行:

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

命令行选项:

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

API 端点

在 FastAPI 模式下运行时,以下端点可用:

  • / - API 信息
  • /health健康检查
  • /voices - 可用声音列表(可选择按?locale=ja-JP等进行过滤)
  • /mcp - MCP API 端点

执照

麻省理工学院

-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

模型上下文协议服务器使用 Microsoft Edge 的文本转语音技术为 AI 代理提供文本转语音功能,支持多种声音、语言和语音自定义。

  1. 概述
    1. 功能
      1. 安装
        1. 如何使用
          1. VS Code 中的示例设置
          2. 与 MCP Inspector 一起使用
          3. 使用 uvx (uvicorn) 运行
        2. API 端点
          1. 执照

            Related MCP Servers

            • -
              security
              F
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants to utilize AivisSpeech Engine's high-quality voice synthesis capabilities through a standardized API interface.
              Last updated -
              TypeScript
            • -
              security
              A
              license
              -
              quality
              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.
              Last updated -
              TypeScript
              MIT License
            • A
              security
              A
              license
              A
              quality
              A Model Context Protocol server that enables AI models to generate and play high-quality text-to-speech audio through your device's native audio system using Rime's voice synthesis API.
              Last updated -
              1
              15
              4
              JavaScript
              The Unlicense
              • Apple
              • Linux
            • -
              security
              A
              license
              -
              quality
              A Model Context Protocol server that enables AI assistants like Claude to initiate and manage real-time voice calls using Twilio and OpenAI's voice models.
              Last updated -
              14
              TypeScript
              MIT License
              • Apple

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/yuiseki/edge_tts_mcp_server'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server