Logo MCP TTS VOICEVOX

MCP TTS VOICEVOX

Cộng đồng
kajidog

VOICEVOX MCP Server (MCP Apps対応)

Nhà phát hànhkajidog
Kho mãmcp-tts-voicevox
Ngôn ngữTypeScript
Bản fork
6
Sao
16
Công cụ có sẵn
6
Phương thức truyền tảistdio, streamable-http
Danh mục
Giấy phépISC
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    MCP TTS VOICEVOX cung cấp các chức năng MCP cho các ứng dụng khách AI và tác nhân AI tương thích.

  • 6 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Mẫu cấu hình có thể sao chép ngay

    Dùng các đoạn cấu hình mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Mức độ quan tâm của cộng đồng đến kho mã

    16 sao và 6 bản fork từ kho mã được liên kết.

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)

UI Audio Player

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 playbackTrack listSegment editing
Multi-speaker playerTrack listSegment editing
Speaker selectionDictionary managerWAV export
Speaker selectionDictionary managerWAV export

Supported Clients

ClientConnectionNotes
ChatGPTHTTP (remote)Requires VOICEVOX_PLAYER_DOMAIN
Claude Desktopstdio (local)Works out of the box
Claude DesktopHTTP (via mcp-remote)Do not set VOICEVOX_PLAYER_DOMAIN

Note: speak_player requires a host that supports MCP Apps. In hosts without MCP Apps support, the tool is not available and speak (server-side playback) can be used instead.

Player MCP Tools

ToolDescription
voicevox_speak_playerCreate a new player session and display the UI. Returns viewUUID.
voicevox_resynthesize_playerUpdate all segments for an existing player (new viewUUID each call).
voicevox_get_player_stateRead the current player state (paginated) for AI tuning.
voicevox_open_dictionary_uiOpen the user dictionary manager UI.

Quick Start

Requirements

  • Node.js 20.0.0 or higher (or Bun) or Docker
  • VOICEVOX Engine (must be running; included in Docker Compose)
  • ffplay (optional, recommended — not needed with Docker)

Installing FFplay

ffplay is a lightweight player included with FFmpeg that supports playback from stdin. When available, it automatically enables low-latency streaming playback.

💡 FFplay is optional. Without it, playback falls back to temp file-based playback (Windows: PowerShell, macOS: afplay, Linux: aplay, etc.).

  • Easy setup: One-liner installation for each OS (see steps below)
  • Required: ffplay must be in PATH (restart terminal/apps after installation)

Installation examples:

  • Windows (any of these)

  • macOS

    • Homebrew: brew install ffmpeg
  • Linux

    • Debian/Ubuntu: sudo apt-get update && sudo apt-get install -y ffmpeg
    • Fedora: sudo dnf install -y ffmpeg
    • Arch: sudo pacman -S ffmpeg

PATH Setup:

  • Windows: Add ...\ffmpeg\bin to environment variables, then restart PowerShell/terminal and editor (Claude/VS Code, etc.)
    • Verify: powershell -c "$env:Path" should include the ffmpeg path
  • macOS/Linux: Usually auto-detected. Check with echo $PATH if needed, restart shell.
  • MCP clients (Claude Desktop/Code): Restart the app to reload PATH.

Verification:

bash
ffplay -version

If version info is displayed, installation is complete. CLI/MCP will automatically detect ffplay and use stdin streaming playback.

3 Steps to Get Started

1. Start VOICEVOX Engine

2. Add to Claude Desktop config file

Config file location:

  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
json
{
  "mcpServers": {
    "tts-mcp": {
      "command": "npx",
      "args": ["-y", "@kajidog/mcp-tts-voicevox"]
    }
  }
}

💡 If using Bun, just replace npx with bunx:

json
"command": "bunx", "args": ["@kajidog/mcp-tts-voicevox"]

3. Restart Claude Desktop

That's it! Ask Claude to "say hello" and it will speak!

Quick Start with Docker

You can run both the MCP server and VOICEVOX Engine with a single command using Docker Compose. No Node.js or VOICEVOX installation required.

1. Start the containers

bash
docker compose up -d

This starts the VOICEVOX Engine and the MCP server (HTTP mode on port 3000).

2. Add to Claude Desktop config file (using mcp-remote)

json
{
  "mcpServers": {
    "tts-mcp": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "http://localhost:3000/mcp"]
    }
  }
}

3. Restart Claude Desktop

Security (Docker): docker-compose.yml publishes port 3000 without authentication. MCP_ALLOWED_HOSTS is not a defense here — non-browser clients can send any Host header they like — so anyone who can reach the port can use the server. Set MCP_API_KEY (and send it as X-API-Key), or keep the port bound to a trusted network / localhost only. Consider also setting VOICEVOX_ALLOWED_OUTPUT_DIRS to limit where file-writing tools may write.

Limitations (Docker): The Docker container has no audio device, so the voicevox_speak tool (server-side playback) is disabled by default. Use voicevox_speak_player instead — it plays audio on the client side (in Claude Desktop) and works without any audio device on the server. See UI Audio Player for details.


MCP Tools

voicevox_speak — Text-to-Speech

The main feature callable from Claude.

ParameterDescriptionDefault
textText to speak (multiple segments separated by newlines)Required
phrasesInline accent notation (takes priority over text)(unset)
speakerSpeaker ID1
speedScalePlayback speed1.0
immediateImmediate playback (clears queue)true
waitForStartWait for playback to startfalse
waitForEndWait for playback completionfalse

immediate / waitForStart / waitForEnd disappear from the tool schema when the matching --restrict-* option is set.

Examples:

javascript
// Simple text
{ "text": "Hello" }

// Specify speaker
{ "text": "Hello", "speaker": 3 }

// Different speakers per segment
{ "text": "1:Hello\n3:Nice weather today" }

// Wait for completion (synchronous processing)
{ "text": "Wait for this to finish before continuing", "waitForEnd": true }

// Control the accent with inline notation (`,` separates phrases, `[` marks the accent)
{ "text": "こんにちは世界", "phrases": "コン[ニ]チワ,セ[カ]イ" }

Inline Accent Notation

phrases (and the pronunciation field of the user dictionary tools) accepts katakana with an inline accent marker:

  • , separates accent phrases — コン[ニ]チワ,セ[カ]イ
  • [ marks where the pitch drops after; コン[ニ]チワ means the accent falls on ニ
  • Omitting the brackets for a phrase keeps VOICEVOX's own accent estimation for it

text stays required even when phrases is given — pass the plain text there and the notation is what gets spoken.

voicevox_get_accent_phrases returns the same notation for a given text, so you can read the estimated accent, tweak the bracket, and feed it back into phrases.

ToolDescription
voicevox_speak_playerSpeak with UI audio player (see Player MCP Tools)
voicevox_pingCheck VOICEVOX Engine connection
voicevox_get_speakersGet list of available speakers
voicevox_stop_speakerStop playback and clear queue
voicevox_synthesize_fileGenerate audio file

User dictionary tools (group dictionary):

ToolDescription
voicevox_get_accent_phrasesGet reading and accent positions of a text as inline notation
voicevox_get_user_dictionaryList user dictionary words (filter + pagination)
voicevox_add_user_dictionary_wordAdd a word (pronunciation accepts inline accent notation)
voicevox_update_user_dictionary_wordUpdate a word (omitted fields keep their value)
voicevox_delete_user_dictionary_wordDelete a word by UUID
voicevox_add_user_dictionary_wordsAdd multiple words at once
voicevox_update_user_dictionary_wordsUpdate multiple words at once

Any tool can be turned off individually with --disable-tools / VOICEVOX_DISABLED_TOOLS, or by group with --disable-groups / VOICEVOX_DISABLED_GROUPS.


Configuration

VOICEVOX Settings

VariableDescriptionDefault
VOICEVOX_URLEngine URLhttp://localhost:50021
VOICEVOX_DEFAULT_SPEAKERDefault speaker ID1
VOICEVOX_DEFAULT_SPEED_SCALEPlayback speed1.0
VOICEVOX_RETRY_COUNTRetries for failed API requests (0 disables)2
VOICEVOX_RETRY_DELAY_MSInitial retry delay in ms (exponential backoff)250
VOICEVOX_TIMEOUT_MSTimeout for a single VOICEVOX API request in ms. Raise it for long text or a slow engine30000

Playback Options

VariableDescriptionDefault
VOICEVOX_USE_STREAMINGStreaming playback (requires ffplay)false
VOICEVOX_DEFAULT_POST_PHONEME_LENGTHTrailing silence per segment in seconds. Increase for a longer pause between queued segments (also protects the end of speech from being cut off with streaming playback)engine default
VOICEVOX_DEFAULT_IMMEDIATEImmediate playbacktrue
VOICEVOX_DEFAULT_WAIT_FOR_STARTWait for playback startfalse
VOICEVOX_DEFAULT_WAIT_FOR_ENDWait for playback endfalse

Restriction Settings

Restrict AI from specifying certain options.

VariableDescription
VOICEVOX_RESTRICT_IMMEDIATERestrict immediate option
VOICEVOX_RESTRICT_WAIT_FOR_STARTRestrict waitForStart option
VOICEVOX_RESTRICT_WAIT_FOR_ENDRestrict waitForEnd option

Disable Tools

bash
# Disable individual tools
export VOICEVOX_DISABLED_TOOLS=speak_player,synthesize_file

# Disable a built-in group of tools
export VOICEVOX_DISABLED_GROUPS=player

# Combine groups and individual tools
export VOICEVOX_DISABLED_GROUPS=dictionary
export VOICEVOX_DISABLED_TOOLS=synthesize_file

Built-in groups for VOICEVOX_DISABLED_GROUPS / --disable-groups:

GroupTools
playerspeak_player, resynthesize_player, get_player_state, open_dictionary_ui
dictionaryget_accent_phrases, get_user_dictionary, add_user_dictionary_word, update_user_dictionary_word, delete_user_dictionary_word, add_user_dictionary_words, update_user_dictionary_words
filesynthesize_file
appsspeak_player, resynthesize_player, open_dictionary_ui (MCP App UI tools)

UI Player Settings

VariableDescriptionDefault
VOICEVOX_PLAYER_DOMAINWidget domain for UI player (required for ChatGPT, e.g. https://your-app.onrender.com)(unset)
VOICEVOX_AUTO_PLAYAuto-play audio in UI playertrue
VOICEVOX_PLAYER_EXPORT_ENABLEDEnable track export(download) from UI player (false to disable)true
VOICEVOX_PLAYER_EXPORT_DIRDefault output directory for exported tracks (also used as fallback when folder picker is unavailable)./voicevox-player-exports
VOICEVOX_PLAYER_CACHE_DIRDirectory for player cache files (*.txt) and default player state file./.voicevox-player-cache
VOICEVOX_PLAYER_AUDIO_CACHE_ENABLEDEnable persistent audio cache on disk (false disables disk cache writes/reads)true
VOICEVOX_PLAYER_AUDIO_CACHE_TTL_DAYSAudio cache retention in days (0: disable disk cache, -1: no TTL cleanup)30
VOICEVOX_PLAYER_AUDIO_CACHE_MAX_MBAudio cache size cap in MB (0: disable disk cache, -1: unlimited)512
VOICEVOX_PLAYER_STATE_FILEPath of persisted player state JSON<VOICEVOX_PLAYER_CACHE_DIR>/player-state.json

File Output Settings

VariableDescriptionDefault
VOICEVOX_ALLOWED_OUTPUT_DIRSComma-separated directories that file-writing tools (voicevox_synthesize_file, player track export) may write into. Paths outside them are rejected with an error. Unset means no restriction — recommended to set when the server is exposed over HTTP(unset)

Server Settings

VariableDescriptionDefault
MCP_HTTP_MODEEnable HTTP modefalse
MCP_HTTP_PORTHTTP port3000
MCP_HTTP_HOSTHTTP host0.0.0.0
MCP_ALLOWED_HOSTSAllowed hosts (comma-separated)localhost,127.0.0.1,[::1]
MCP_ALLOWED_ORIGINSAllowed origins (comma-separated)http://localhost,http://127.0.0.1,...
MCP_API_KEYRequired API key for /mcp (sent via X-API-Key or Authorization: Bearer)(unset)

Command line arguments take priority over environment variables. The complete, up-to-date list of options is always available via npx @kajidog/mcp-tts-voicevox --help.

bash
# Basic settings
npx @kajidog/mcp-tts-voicevox --url http://192.168.1.100:50021 --speaker 3 --speed 1.2

# HTTP mode
npx @kajidog/mcp-tts-voicevox --http --port 8080

# With restrictions
npx @kajidog/mcp-tts-voicevox --restrict-immediate --restrict-wait-for-end

# Disable individual tools
npx @kajidog/mcp-tts-voicevox --disable-tools speak_player,synthesize_file

# Disable a tool group
npx @kajidog/mcp-tts-voicevox --disable-groups player
ArgumentDescription
--help, -hShow help
--version, -vShow version
--initGenerate .voicevoxrc.json with default settings
--config <path>Path to config file
--url <value>VOICEVOX Engine URL
--speaker <value>Default speaker ID
--speed <value>Playback speed
--use-streaming / --no-use-streamingStreaming playback
--post-phoneme-length <sec>Trailing silence per segment (pause between queued segments)
--immediate / --no-immediateImmediate playback
--wait-for-start / --no-wait-for-startWait for start
--wait-for-end / --no-wait-for-endWait for end
--restrict-immediateRestrict immediate
--restrict-wait-for-startRestrict waitForStart
--restrict-wait-for-endRestrict waitForEnd
--allowed-output-dirs <dirs>Directories that file-writing tools may write into (comma-separated; unset = no restriction)
--disable-tools <tools>Disable tools (comma-separated tool names)
--disable-groups <groups>Disable tool groups: player, dictionary, file, apps
--auto-play / --no-auto-playAuto-play in UI player
--player-export / --no-player-exportEnable/disable track export(download) in UI player
--player-export-dir <dir>Default output directory for exported tracks
--player-cache-dir <dir>Player cache directory
--player-state-file <path>Persisted player state file path
--player-audio-cache / --no-player-audio-cacheEnable/disable disk audio cache for player
--player-audio-cache-ttl-days <days>Audio cache retention days (0: disable, -1: no TTL cleanup)
--player-audio-cache-max-mb <mb>Audio cache size cap in MB (0: disable, -1: unlimited)
--httpHTTP mode
--port <value>HTTP port
--host <value>HTTP host
--allowed-hosts <hosts>Allowed hosts (comma-separated)
--allowed-origins <origins>Allowed origins (comma-separated)
--api-key <key>Required API key for /mcp

You can use a JSON config file instead of (or in addition to) environment variables and CLI arguments. This is useful when you have many settings to configure.

Priority order: CLI args > Environment variables > Config file > Defaults

Generate a config file

bash
npx @kajidog/mcp-tts-voicevox --init

This creates .voicevoxrc.json in the current directory with all default settings. Edit it as needed.

Use a custom config file path

bash
npx @kajidog/mcp-tts-voicevox --config ./my-config.json

Or via environment variable:

bash
VOICEVOX_CONFIG=./my-config.json npx @kajidog/mcp-tts-voicevox

Example .voicevoxrc.json

json
{
  "url": "http://192.168.1.50:50021",
  "speaker": 3,
  "speed": 1.2,
  "http": true,
  "port": 8080,
  "disable-tools": ["synthesize_file"],
  "disable-groups": ["dictionary"]
}

Keys can be written in kebab-case (use-streaming), camelCase (useStreaming), or internal key names (defaultSpeaker). If .voicevoxrc.json exists in the current directory, it is loaded automatically.

For remote connections:

Start Server:

bash
# Linux/macOS
MCP_HTTP_MODE=true MCP_HTTP_PORT=3000 npx @kajidog/mcp-tts-voicevox

# Windows PowerShell
$env:MCP_HTTP_MODE='true'; $env:MCP_HTTP_PORT='3000'; npx @kajidog/mcp-tts-voicevox

Claude Desktop Config (using mcp-remote):

json
{
  "mcpServers": {
    "tts-mcp-proxy": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "http://localhost:3000/mcp"]
    }
  }
}

Per-Project Speaker Settings

With Claude Code, you can configure different default speakers per project using custom headers in .mcp.json:

HeaderDescription
X-Voicevox-SpeakerDefault speaker ID for this project
X-API-KeyAPI key when MCP_API_KEY is configured

Example .mcp.json:

json
{
  "mcpServers": {
    "tts": {
      "type": "http",
      "url": "http://localhost:3000/mcp",
      "headers": {
        "X-Voicevox-Speaker": "113",
        "X-API-Key": "your-api-key"
      }
    }
  }
}

This allows each project to use a different voice character automatically.

Priority order:

  1. Explicit speaker parameter in tool call (highest)
  2. Project default from X-Voicevox-Speaker header
  3. Global VOICEVOX_DEFAULT_SPEAKER setting (lowest)

Connecting from WSL to an MCP server running on Windows:

1. Get Windows Host IP from WSL

bash
# Method 1: From default gateway
ip route show | grep -oP 'default via \K[\d.]+'
# Usually in the format 172.x.x.1

# Method 2: From /etc/resolv.conf (WSL2)
cat /etc/resolv.conf | grep nameserver | awk '{print $2}'

2. Start Server on Windows

Add the WSL gateway IP to MCP_ALLOWED_HOSTS to allow access from WSL:

powershell
$env:MCP_HTTP_MODE='true'
$env:MCP_ALLOWED_HOSTS='localhost,127.0.0.1,172.29.176.1'
npx @kajidog/mcp-tts-voicevox

Or with CLI arguments:

powershell
npx @kajidog/mcp-tts-voicevox --http --allowed-hosts "localhost,127.0.0.1,172.29.176.1"

3. WSL Configuration (.mcp.json)

json
{
  "mcpServers": {
    "tts": {
      "type": "http",
      "url": "http://172.29.176.1:3000/mcp"
    }
  }
}

⚠️ Within WSL, localhost refers to WSL itself. Use the WSL gateway IP to access the Windows host.

To use with ChatGPT, deploy the MCP server in HTTP mode to the cloud with access to a VOICEVOX Engine.

1. Deploy to the Cloud

Deploy with Docker to Render, Railway, etc. (Dockerfile included).

2. Set Up VOICEVOX Engine

Run VOICEVOX Engine locally and expose it via ngrok, or deploy it alongside the MCP server.

3. Configure Environment Variables

VariableExampleDescription
VOICEVOX_URLhttps://xxxx.ngrok-free.appVOICEVOX Engine URL
MCP_HTTP_MODEtrueEnable HTTP mode
MCP_ALLOWED_HOSTSyour-app.onrender.comDeployed hostname
VOICEVOX_PLAYER_DOMAINhttps://your-app.onrender.comWidget domain for UI player (required for ChatGPT)
VOICEVOX_DISABLED_TOOLSspeakDisable server-side playback (no audio device)
VOICEVOX_PLAYER_EXPORT_ENABLEDfalseDisable export feature (files cannot be downloaded from cloud)

4. Add Connector in ChatGPT

Go to ChatGPT Settings → Connectors → Add MCP server URL (https://your-app.onrender.com/mcp).

The basic steps are the same as ChatGPT, but the VOICEVOX_PLAYER_DOMAIN value is different.

Claude Web requires ui.domain to be a hash-based dedicated domain. Compute it with the following command:

bash
node -e "console.log(require('crypto').createHash('sha256').update('Your MCP server URL').digest('hex').slice(0,32)+'.claudemcpcontent.com')"

Example: If your MCP server URL is https://your-app.onrender.com/mcp:

bash
node -e "console.log(require('crypto').createHash('sha256').update('https://your-app.onrender.com/mcp').digest('hex').slice(0,32)+'.claudemcpcontent.com')"
# Example output: 48fb73a6...claudemcpcontent.com

Set this output value as VOICEVOX_PLAYER_DOMAIN.

Note: Since ChatGPT and Claude Web require different VOICEVOX_PLAYER_DOMAIN values, a single instance cannot serve both clients simultaneously. Deploy separate instances for each, or switch the environment variable depending on your target client.


Troubleshooting

1. Check if VOICEVOX Engine is running

bash
curl http://localhost:50021/speakers

2. Check platform-specific playback tools

OSRequired Tool
LinuxOne of aplay, paplay, play, ffplay
macOSafplay (pre-installed)
WindowsPowerShell (pre-installed)
  • Check package installation: npm list -g @kajidog/mcp-tts-voicevox
  • Verify JSON syntax in config file
  • Restart the client

Package Structure

PackageDescription
@kajidog/mcp-tts-voicevoxMCP server (apps/mcp-tts)
@kajidog/voicevox-clientGeneral-purpose VOICEVOX client library (can be used independently)
@kajidog/mcp-coreShared MCP infrastructure (config schema, HTTP/stdio launcher). Not published — bundled into the server
@kajidog/player-uiReact-based audio player UI, bundled into a single HTML file. Not published

Setup

bash
git clone https://github.com/kajidog/mcp-tts-voicevox.git
cd mcp-tts-voicevox
pnpm install

Commands

The package manager is pnpm (npm / yarn are not supported).

CommandDescription
pnpm buildBuild all packages
pnpm testRun tests
pnpm lintRun lint (single Biome pass over the whole workspace)
pnpm typecheckType-check every package
pnpm changesetAdd a changeset for a user-facing change

Dev servers live in the server package, so run them with a filter:

CommandDescription
pnpm --filter @kajidog/mcp-tts-voicevox devStart dev server (stdio)
pnpm --filter @kajidog/mcp-tts-voicevox dev:httpStart dev server in HTTP mode
pnpm --filter @kajidog/mcp-tts-voicevox dev:bunStart dev server with Bun
pnpm --filter @kajidog/mcp-tts-voicevox dev:bun:httpStart HTTP dev server with Bun

License

ISC

Cài đặt

TypingMind
Yêu cầu:

Node.js 18+

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

Công cụ có sẵn

  • speak

    Convert text to speech and play it

  • generate_query

    Generate a query for voice synthesis

  • synthesize_file

    Generate an audio file and return its absolute path

  • stop_speaker

    Stop the current speaker

  • get_speakers

    Get a list of available speakers

  • get_speaker_detail

    Get detail of a speaker by id

Dùng MCP MCP TTS VOICEVOX với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối MCP TTS VOICEVOX, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. Bạn có thể chạy MCP ngay trên thiết bị của mình hoặc kết nối qua URL của máy chủ MCP từ xa.

Cách 1: Dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Thiết lập trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Thiết lập trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh thiết lập trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Để tiến trình tiếp tục chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Để tiến trình tiếp tục chạy trong cửa sổ Terminal khi bạn dùng các công cụ MCP.
3

Thêm MCP TTS VOICEVOX làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của MCP TTS VOICEVOX.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "kajidog-mcp-tts-voicevox": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-tts-voicevox"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của MCP TTS VOICEVOX, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của MCP TTS VOICEVOX.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng MCP TTS VOICEVOX giúp tôi làm việc này không?
MCP TTS VOICEVOX
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng MCP TTS VOICEVOX.

Cách 2: Thêm URL máy chủ MCP

Dùng cách này khi MCP TTS VOICEVOX đã chạy trên máy chủ từ xa hoặc nhóm của bạn muốn có một trình kết nối dùng chung cho nhiều người dùng.

1

Mở mục Trình kết nối MCP

Trong TypingMind, vào Plugin, mở mục Trình kết nối MCP, rồi chọn Thêm URL.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Vào mục Plugin.
  3. Mở mục Trình kết nối MCP.
  4. Nhấp vào Thêm URL.
Biểu mẫu Thêm URL máy chủ MCP tùy chỉnh của TypingMind
2

Dán URL máy chủ

Nhập URL máy chủ của bạn vào trường URL máy chủ. Thêm tên kết nối, mô tả, biểu tượng, header HTTP tùy chỉnh hoặc cài đặt ứng dụng khách OAuth nếu máy chủ yêu cầu.

  1. Dán URL máy chủ của bạn vào trường URL máy chủ.
  2. Nhập tên kết nối cho MCP TTS VOICEVOX.
  3. Thêm mô tả và biểu tượng nếu bạn muốn dễ nhận biết kết nối hơn.
  4. Thêm header HTTP tùy chỉnh hoặc thông tin ứng dụng khách OAuth nếu máy chủ yêu cầu xác thực.
3

Tạo kết nối

Nhấp vào Tạo kết nối, sau đó quay lại danh sách Plugin và xác nhận kết nối MCP mới đang hoạt động.

  1. Nhấp vào Tạo kết nối.
  2. Quay lại danh sách trình kết nối MCP.
  3. Xác nhận kết nối MCP TTS VOICEVOX hiển thị trạng thái đang hoạt động.
  4. Làm mới danh sách plugin nếu kết nối chưa xuất hiện ngay.
4

Đổi mô hình mà không cần kết nối lại

Bắt đầu cuộc trò chuyện với mô hình bạn thích, bật các công cụ của MCP TTS VOICEVOX trong mục Plugin và chuyển sang mô hình khác khi cần. Kết nối MCP vẫn sẵn dùng trong không gian làm việc TypingMind.

  1. Bắt đầu cuộc trò chuyện mới trong TypingMind.
  2. Chọn mô hình AI bạn muốn dùng.
  3. Bật các công cụ của MCP TTS VOICEVOX trong mục Plugin.
  4. Yêu cầu mô hình dùng công cụ khi cần.
  5. Chuyển sang mô hình AI khác và tiếp tục dùng kết nối MCP hiện có.
Cuộc trò chuyện trên TypingMind dùng các công cụ MCP đã bật với mô hình AI đã chọn
Bạn có thể dùng MCP TTS VOICEVOX giúp tôi làm việc này không?
MCP TTS VOICEVOX
Được. Tôi đọc rồi.
Đây là kết quả tôi tìm được bằng MCP TTS VOICEVOX.

Câu hỏi thường gặp

Máy chủ MCP MCP TTS VOICEVOX dùng để làm gì?

MCP TTS VOICEVOX là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP MCP TTS VOICEVOX với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng MCP TTS VOICEVOX với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP MCP TTS VOICEVOX với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối MCP TTS VOICEVOX, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP MCP TTS VOICEVOX với TypingMind?

Bạn có thể kết nối MCP TTS VOICEVOX trong TypingMind bằng trình kết nối MCP cục bộ hoặc bằng cách thêm URL máy chủ MCP từ xa. Dùng trình kết nối cục bộ khi máy chủ cần truy cập tệp, ứng dụng hoặc tài nguyên riêng trên thiết bị của bạn; dùng URL máy chủ khi máy chủ MCP được lưu trữ từ xa.

MCP MCP TTS VOICEVOX cung cấp những công cụ nào trong TypingMind?

MCP TTS VOICEVOX cung cấp 6 công cụ MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP MCP TTS VOICEVOX không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu MCP TTS VOICEVOX yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇