MCP.so
登录

MCP Tts

@blacktop

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

blacktop

关于 MCP Tts

MCP Server for Text to Speech

MCP Tts 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-tts": {
      "command": "npx",
      "args": [
        "skills",
        "add",
        "https://github.com/blacktop/mcp-tts",
        "--skill",
        "speak"
      ]
    }
  }
}

MCP Tts 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is mcp-tts?

mcp-tts is an MCP (Model Context Protocol) server that adds Text-to-Speech capabilities to AI assistants such as Claude Desktop and Cursor IDE. It provides four TTS tools – say_tts (macOS built-in), elevenlabs_tts, google_tts, and openai_tts – each powered by different speech synthesis engines.

How to use mcp-tts?

Install with go install github.com/blacktop/mcp-tts@latest. Configure the server in your MCP client’s settings (e.g., claude_desktop_config.json) with the required API keys for cloud-based tools. Once configured, the TTS tools can be called via the MCP protocol to speak text aloud through your computer’s speakers.

Key features of mcp-tts

  • Four TTS backends: macOS say, ElevenLabs, Google Gemini, OpenAI
  • Sequential speech mode prevents overlapping audio by default
  • Multi-instance protection with a system-wide file lock
  • Optional concurrent TTS mode for overlapping speech
  • Suppress “Speaking:” output to keep LLM responses clean
  • Save audio to disk (AIFF, MP3, WAV) with optional no-playback mode
  • Speed control (0.25x–4.0x) and custom voice instructions for OpenAI

Use cases of mcp-tts

  • Add spoken responses to AI assistants like Claude Desktop
  • Coordinate speech in multi‑agent environments to avoid cacophony
  • Generate audio files for offline playback or archiving
  • Assign distinct voices per project for at‑a‑glance identification

常见问题

1

What TTS tools does mcp-tts provide?

It provides four tools: `say_tts` (macOS built‑in), `elevenlabs_tts`, `google_tts`, and `openai_tts`. Each uses a different speech engine.

2

What API keys are required?

- `ELEVENLABS_API_KEY` for ElevenLabs - `GOOGLE_AI_API_KEY` or `GEMINI_API_KEY` for Google TTS - `OPENAI_API_KEY` for OpenAI TTS The `say_tts` tool works on macOS without any API key.

3

Can multiple agents speak at the same time?

By default, only one TTS request plays at a time – subsequent requests queue. Set `MCP_TTS_ALLOW_CONCURRENT=true` to allow overlapping speech.

4

How can I save audio to disk?

Set `MCP_TTS_OUTPUT_DIR` to a directory path. Optionally set `MCP_TTS_NO_PLAY=true` to skip playback and only save the file.

5

Does mcp-tts work on Windows or Linux?

The `say_tts` tool is macOS‑only. The other three tools work on any platform that has the required API keys and a working audio output.

评论

其他 分类下的更多 MCP 服务器