MCP cover image
See in Github
2025-04-14

VoiceVox MCP服务器

1

Github Watches

0

Github Forks

1

Github Stars

MCP TTS VOICEVOX

VOICEVOXを使用した音声合成MCPサーバー

特徴

  • キュー管理機能 - 複数の音声合成リクエストを効率的に処理
  • プリフェッチ - 次の音声を事前に生成し、再生をスムーズに

必要条件

インストール

npm install -g @kajidog/mcp-tts-voicevox

使い方

MCPサーバーとして

  1. VOICEVOXエンジンを起動
  2. MCPサーバーを起動
npx @kajidog/mcp-tts-voicevox

ライブラリとして

プロジェクトに直接インポートして使用することも可能です:

npm install @kajidog/mcp-tts-voicevox
import { VoicevoxClient } from "@kajidog/mcp-tts-voicevox";

// クライアントを初期化
const client = new VoicevoxClient({
  url: "http://localhost:50021", // VOICEVOXエンジンのURL
  defaultSpeaker: 1,             // デフォルト話者ID(オプション)
  defaultSpeedScale: 1.0         // デフォルト速度(オプション)
});

// テキストを音声に変換して再生
await client.speak("こんにちは");

// テキストから音声ファイルを生成
const filePath = await client.generateAudioFile("こんにちは", "./output.wav");

主な機能

  • テキスト読み上げ (speak) - テキストを音声に変換して再生
  • クエリ生成 (generate_query) - 音声合成用クエリの作成
  • ファイル生成 (synthesize_file) - クエリから音声ファイルを生成

環境変数

  • VOICEVOX_URL: VOICEVOXエンジンのURL(デフォルト: http://localhost:50021

ライセンス

ISC

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • modelcontextprotocol
  • 模型上下文协议服务器

    Reviews

    5 (1)
    Avatar
    user_Fn6cRRdx
    2025-04-16

    I recently tried mcp-tts-voicevox by kajidog and it has exceeded my expectations. The text-to-speech functionality is seamless and produces highly natural-sounding voices. Installation was straightforward using the provided link on GitHub. As a dedicated mcp user, I highly recommend this tool for anyone looking to enhance their TTS projects with high-quality audio.