Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@voiceroid_daemon-mcpSpeak 'こんにちは、今日はいい天気ですね' with speed 1.2"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
voiceroid_daemon-mcp
MCP (Model Context Protocol) server for VOICEROID2 text-to-speech via voiceroid_daemon.
Features
Text-to-speech generation with VOICEROID2 voices
Text-to-kana phonetic conversion
Customizable voice parameters (volume, speed, pitch, emphasis)
Audio playback support for macOS, Windows, and Linux
Basic authentication support
Prerequisites
Node.js 18 or higher
voiceroid_daemon running on your system
VOICEROID2 installed (for voiceroid_daemon)
Installation
Configuration
Create a .env file in the project root (optional):
Usage
Running the MCP Server
Configuring with Claude Desktop
Add the following to your Claude Desktop configuration file:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Available Tools
test_connection
Test the connection to voiceroid_daemon server.
convert_text
Convert Japanese text to phonetic kana reading.
Parameters:
text(string, required): Text to convert to kana
speak_text
Generate and play speech audio from text.
Parameters:
text(string, required): Text to speakkana(string, optional): Phonetic reading in kanavolume(number, optional): Voice volume (0-2, default: 1)speed(number, optional): Speech speed (0.5-4, default: 1)pitch(number, optional): Voice pitch (0.5-2, default: 1)emphasis(number, optional): Emphasis level (0-2, default: 1)
Example Usage in Claude
Once configured, you can use the tools in Claude:
Troubleshooting
Connection Failed
Ensure voiceroid_daemon is running
Check the URL in your configuration
Verify firewall settings allow connections
Test with curl:
curl http://127.0.0.1:8080/
Audio Playback Issues
macOS: Uses
afplay(built-in)Windows: Uses PowerShell's
Media.SoundPlayerLinux: Requires
aplay(usually part of alsa-utils)
Authentication Errors
If voiceroid_daemon requires authentication, ensure you've set:
VOICEROID_DAEMON_USERNAMEVOICEROID_DAEMON_PASSWORD
Development
License
MIT