MCP Simple Voicevox logo

MCP Simple Voicevox

Community
t09tanaka

MCP (Model Context Protocol) を通じて VOICEVOX のテキスト読み上げ機能を提供するシンプルなサーバーです。

Publishert09tanaka
Repositorymcp-simple-voicevox
LanguageTypeScript
Forks
12
Stars
72
Available tools
0
Transport typestdio
LicenseApache-2.0
Links
  • Connect tools to AI workflows

    MCP Simple Voicevox exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    72 stars and 12 forks from the linked repository.

@t09tanaka/mcp-simple-voicevox

MCP (Model Context Protocol) を通じて VOICEVOX のテキスト読み上げ機能を提供するシンプルなサーバーです。

概要

このプロジェクトは、VOICEVOX の音声合成エンジンを MCP ツールとして利用できるようにするサーバー実装です。Claude Code 等の MCP クライアントから、テキストの読み上げ機能を簡単に利用できます。

前提条件

  • Node.js 18.0.0 以上
  • VOICEVOX エンジンが起動している必要があります
    • VOICEVOX 公式サイトから VOICEVOX をダウンロード・インストール
    • VOICEVOX を起動し、エンジンが http://localhost:50021 で稼働していることを確認

使用方法

MCP クライアント(Claude Code、Claude Desktop 等)の設定ファイルに以下を追加してください。

macOS / Linux / WSL

bash
claude mcp add voicevox -- npx @t09tanaka/mcp-simple-voicevox
json
{
  "mcpServers": {
    "voicevox": {
      "command": "npx",
      "args": ["@t09tanaka/mcp-simple-voicevox"]
    }
  }
}

Windows(ネイティブ)

bash
claude mcp add voicevox -- cmd /c npx @t09tanaka/mcp-simple-voicevox
json
{
  "mcpServers": {
    "voicevox": {
      "command": "cmd",
      "args": ["/c", "npx", "@t09tanaka/mcp-simple-voicevox"]
    }
  }
}

その他の設定方法は docs/usage.md を参照してください。

speak ツール

テキストを音声で読み上げます。

パラメータ:

  • text (string, 必須): 読み上げるテキスト
  • speaker (number, 必須): 話者 ID
  • speedScale (number, オプション): 読み上げ速度のスケール(0.5〜2.0、デフォルト: 1.0)
  • volumeScale (number, オプション): 音量のスケール(0.0〜2.0、デフォルト: 1.0)
  • async (boolean, オプション): 非同期再生モード(falseの場合、音声再生の完了を待ちます。デフォルト: true)

使用例:

json
{
  \"text\": \"こんにちは、これはテスト音声です。\",
  \"speaker\": 1,
  \"speedScale\": 1.3,
  \"volumeScale\": 1.5,
  \"async\": true
}

話者 ID について

VOICEVOX で利用可能な話者 ID は、VOICEVOX エンジンの /speakers エンドポイントから取得できます:

bash
curl http://localhost:50021/speakers

一般的な話者 ID(参考):

  • 1: 四国めたん(ノーマル)
  • 2: 四国めたん(あまあま)
  • 3: 四国めたん(ツンツン)
  • 8: 春日部つむぎ(ノーマル)
  • 10: 雨晴はう(ノーマル)

対応プラットフォーム

音声再生は以下のプラットフォームに対応しています:

  • macOS: afplay コマンドを使用
  • Linux: aplay コマンドを使用
  • Windows: PowerShell の Media.SoundPlayer を使用

トラブルシューティング

VOICEVOX エンジンに接続できない

  • VOICEVOX アプリケーションが起動しているか確認
  • http://localhost:50021 で VOICEVOX API が利用可能か確認
  • ファイアウォールの設定を確認

Windows で "Connection closed" エラーが発生する

  • Windows(ネイティブ)では npx を直接実行できないため、cmd /c 経由で実行する必要があります
  • 上記の「Windows(ネイティブ)」の設定例を参照してください

音声が再生されない

  • 対応プラットフォームか確認
  • 音声再生コマンドがインストールされているか確認
    • Linux: aplay (alsa-utils)
    • その他のプラットフォームは通常デフォルトで利用可能

ライセンス

Apache License 2.0

貢献

プルリクエストや Issue の報告は歓迎します。詳細な仕様は docs/specification.md を参照してください。

Use MCP Simple Voicevox MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MCP Simple Voicevox is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MCP Simple Voicevox as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MCP Simple Voicevox MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "mcp-simple-voicevox": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MCP Simple Voicevox MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MCP Simple Voicevox MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP Simple Voicevox to help me with this task?
MCP Simple Voicevox
Sure. I read it.
Here is what I found using MCP Simple Voicevox.

Frequently asked questions

What is the MCP Simple Voicevox MCP server used for?

MCP Simple Voicevox is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MCP Simple Voicevox MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MCP Simple Voicevox with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MCP Simple Voicevox MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MCP Simple Voicevox connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MCP Simple Voicevox MCP to TypingMind?

MCP Simple Voicevox runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does MCP Simple Voicevox MCP provide in TypingMind?

MCP Simple Voicevox exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MCP Simple Voicevox MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MCP Simple Voicevox requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇