
mcp-tts-server
This project provides a Text-to-Speech (TTS) server based on the Model Context Protocol (MCP), utilizing the Groq API for speech generation.
Features
- Implements an MCP server for TTS functionality.
- Connects to the Groq API (
https://api.groq.com/openai/v1/audio/speech
) for generating lifelike audio from text. - Provides a
generate_speech
tool accessible via the MCP protocol. - Supports multiple audio output formats (wav, mp3, aac, opus, flac).
- Uses
@tropicbliss/symphonia
to play the generated audio directly on the server machine (optional). - Requires a Groq API key set as an environment variable (
GROQ_API_KEY
).
Installation
To install dependencies:
bun install
Running the Server on MCP Client
To run the server using the stdio transport:
{
"mcpServers": {
"mcp-tts-server": {
"command": "bunx",
"args": [
"--bun",
"mcp-tts-server",
],
"env": {
"GROQ_API_KEY": "gsk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
}
}
}
Project Structure
-
src/server.ts
: Defines the core MCP server logic, including thegenerate_speech
tool and interaction with the Groq API. -
src/cli.ts
: Provides a command-line interface to run the MCP server over stdio.
This project was created using bun init
in bun v1.2.7. Bun is a fast all-in-one JavaScript runtime.
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Converts Figma frames into front-end code for various mobile frameworks.
Advanced software engineer GPT that excels through nailing the basics.
Take an adjectivised noun, and create images making it progressively more adjective!
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.
Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.
Mirror ofhttps: //github.com/bitrefill/bitrefill-mcp-server
Ein leistungsstarkes Neovim -Plugin für die Verwaltung von MCP -Servern (Modellkontextprotokoll)
Reviews

user_3g8y4GUR
I've been using the mcp-tts-server by kaichen and it's truly impressive. The setup is straightforward, and the text-to-speech capabilities are top-notch. The repository is well-documented, making it easy for anyone to integrate and use. Kudos to kaichen for developing such a reliable and efficient TTS solution! Check it out on GitHub: https://github.com/kaichen/mcp-tts-server.