Text-to-Speech MCP Server

by ParseDark

184 downloads
Not rated
GitHub

About

A simple MCP (Model Context Protocol) server that provides text-to-speech conversion capabilities, written in TypeScript.

Details

Author
ParseDark
Downloads
184
Categories
Other

- Convert any text to speech audio
- Save the resulting audio as MP3 files
- Simple integration with any MCP-compatible client

Install globally via npm install -g mcp-koko-tts, set the TTS_OUTPUT_DIR environment variable (default ~/.mcp_tts), and start the required Kokoro-FastAPI Docker container (GPU or CPU). Then configure the MCP client (e.g., Cherry Studio) with the server’s build path.

Text-to-Speech MCP Server

A simple MCP (Model Context Protocol) server that provides text-to-speech conversion capabilities, written in TypeScript.

Project Purpose

This project implements a Model Context Protocol (MCP) server that offers text-to-speech functionality. It allows AI assistants and other MCP clients to convert text into speech audio files (MP3 format) through a standardized interface.

Key features:

Convert any text to speech audio
Save the resulting audio as MP3 files

  • Simple integration with any MCP-compatible client

quickstart

install

npm install -g mcp-koko-tts

mcp path

Please run it in the root directory of the project.
current_dir=$(pwd); mcp_path="$current_dir/build/index.js"; echo "MCP Path is set to: $mcp_path"

environment variable

export TTS_OUTPUT_DIR="~/.mcp_tts"

start the tts docker container

``` gh repo clone remsky/Kokoro-FastAPI

cd Kokoro-FastAPI

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.