KM

kajidog/mcp-tts-voicevox

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

16 stars 6 forks 质量 85 趋势 41ISC

VOICEVOX MCP Server (MCP Apps対応)

概览

A text-to-speech MCP server using VOICEVOX 🎮 — Test VoicevoxClient directly in your browser - — Text-to-speech from MCP clients like Claude Desktop - — Play audio directly in the chat with an interactive player (ChatGPT / Claude Desktop / Claude Web etc.) - — Switch speakers per segment in a single call - — Queue management, immediate playback, prefetching, streaming - — Works on Windows, macOS, Linux (including WSL) The voicevox_speak_player tool uses MCP Apps to render an interactive audio player directly inside the chat. Unlike the standard voicevox_speak tool which plays audio on the server, — no audio device needed on the server. - — Audio plays in Claude Desktop's chat, not on the server. Works even over remote connections.

README

以下为原文 README 节选,完整内容请查看原文。

VOICEVOX TTS MCP

English | 日本語

A text-to-speech MCP server using VOICEVOX

🎮 Try the Browser Demo — Test VoicevoxClient directly in your browser

What You Can Do

  • Make your AI assistant speak — Text-to-speech from MCP clients like Claude Desktop
  • UI Audio Player (MCP Apps) — Play audio directly in the chat with an interactive player (ChatGPT / Claude Desktop / Claude Web etc.)
  • Multi-character conversations — Switch speakers per segment in a single call
  • Smooth playback — Queue management, immediate playback, prefetching, streaming
  • Cross-platform — Works on Windows, macOS, Linux (including WSL)

UI Audio Player (MCP Apps)

The voicevox_speak_player tool uses MCP Apps to render an interactive audio player directly inside the chat. Unlike the standard voicevox_speak tool which plays audio on the server, audio is played on the client side (in the browser/app) — no audio device needed on the server.

Features

  • Client-side playback — Audio plays in Claude Desktop’s chat, not on the server. Works even over remote connections.
  • Play/Pause controls — Full playback controls embedded in the conversation
  • Multi-speaker dialogue — Sequential playback of multiple speakers in one player with track navigation
  • Speaker switching — Change the voice of any segment directly from the player UI
  • Segment editing — Adjust speed, volume, intonation, pause length, and pre/post silence per segment
  • Accent phrase editing — Edit accent positions and mora pitch directly in the UI
  • Add / delete / reorder segments — Drag-and-drop track reordering; add new segments inline
  • WAV export — Save all tracks as numbered WAV files and open the output folder automatically
  • User dictionary manager — Add, edit, and delete VOICEVOX user dictionary words with preview playback
  • Cross-session state restore — Player state is persisted on the server; reopening the chat restores previous tracks

Export behavior by environment:

  • Save and open always exports WAV files. If opening the file explorer is not supported, export still succeeds and the save path is shown in the UI.
  • Choose output folder uses a native directory picker on Windows/macOS. On unsupported environments, this action falls back to the default export directory.
Multi-speaker playback Track list Segment editing
Speaker selection Dictionary manager WAV export

Supported Clients

在 GitHub 查看完整 README

安装

npx -y @kajidog/mcp-tts-voicevox
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "tts-mcp": { "command": "npx", "args": ["-y", "@kajidog/mcp-tts-voicevox"] } } }