Blabber-MCP
📢 Blabber-MCP 🗣️
Ein MCP-Server, der Ihren LLMs mithilfe der Text-to-Speech-API von OpenAI eine Stimme verleiht! 🔊
✨ Funktionen
Text-to-Speech: Wandelt Eingabetext in hochwertiges gesprochenes Audio um.
Stimmwahl: Wählen Sie aus verschiedenen OpenAI-Stimmen (
alloy,echo,fable,onyx,nova,shimmer).Modellwahl: Verwenden Sie Standard- (
tts-1) oder High-Definition-Modelle (tts-1-hd).Formatoptionen: Erhalten Sie Audioausgaben in
mp3,opus,aacoderflac.Speichern von Dateien: Speichert das generierte Audio in einer lokalen Datei.
Optionale Wiedergabe: Spielt das generierte Audio automatisch über einen konfigurierbaren Systembefehl ab.
Konfigurierbare Standardwerte: Legen Sie eine Standardstimme über die Konfiguration fest.
Related MCP server: NijiVoice-MCP
🔧 Konfiguration
Um diesen Server zu verwenden, müssen Sie seine Konfiguration zur Einstellungsdatei Ihres MCP-Clients hinzufügen (z. B. mcp_settings.json).
OpenAI API-Schlüssel abrufen: Sie benötigen einen API-Schlüssel von OpenAI.
Zu MCP-Einstellungen hinzufügen: Fügen Sie den folgenden Block zum
mcpServers-Objekt in Ihrer Einstellungsdatei hinzu und ersetzen Sie"YOUR_OPENAI_API_KEY"durch Ihren tatsächlichen Schlüssel.
{
"mcpServers": {
"blabber-mcp": {
"command": "node",
"args": ["/full/path/to/blabber-mcp/build/index.js"], (IMPORTANT: Use the full, absolute path to the built index.js file)
"env": {
"OPENAI_API_KEY": "YOUR_OPENAI_API_KEY",
"AUDIO_PLAYER_COMMAND": "xdg-open", (Optional: Command to play audio (e.g., "cvlc", "vlc", "mpv", "ffplay", "afplay", "xdg-open"; defaults to "cvlc")
"DEFAULT_TTS_VOICE": "nova" (Optional: Set default voice (alloy, echo, fable, onyx, nova, shimmer); defaults to nova)
},
"disabled": false,
"alwaysAllow": []
}
}
}Wichtig: Stellen Sie sicher, dass der args-Pfad auf den korrekten Speicherort der build/index.js-Datei innerhalb Ihres blabber-mcp-Projektverzeichnisses zeigt. Verwenden Sie den vollständigen absoluten Pfad.
🚀 Verwendung
Sobald er konfiguriert ist und läuft, können Sie das text_to_speech-Tool über Ihren MCP-Client verwenden.
Tool: text_to_speech
Server: blabber-mcp (oder der Schlüssel, den Sie in der Konfiguration verwendet haben)
Argumente:
input(Zeichenfolge, erforderlich): Der zu synthetisierende Text.voice(Zeichenfolge, optional): Die zu verwendende Stimme (alloy,echo,fable,onyx,nova,shimmer). Standardmäßig wird die in der Konfiguration festgelegteDEFAULT_TTS_VOICEodernovaverwendet.model(Zeichenfolge, optional): Das Modell (tts-1,tts-1-hd). Standard isttts-1.response_format(Zeichenfolge, optional): Audioformat (mp3,opus,aac,flac). Standard istmp3.play(boolesch, optional): Auftruesetzen, um das Audio nach dem Speichern automatisch abzuspielen. Standard istfalse.
Beispiel für einen Tool-Aufruf (mit Wiedergabe):
<use_mcp_tool>
<server_name>blabber-mcp</server_name>
<tool_name>text_to_speech</tool_name>
<arguments>
{
"input": "Hello from Blabber MCP!",
"voice": "shimmer",
"play": true
}
</arguments>
</use_mcp_tool>Ausgabe:
Das Tool speichert die Audiodatei im output/-Verzeichnis innerhalb des blabber-mcp-Projektordners und gibt eine JSON-Antwort wie diese zurück:
{
"message": "Audio saved successfully. Playback initiated using command: cvlc",
"filePath": "path/to/speech_1743908694848.mp3",
"format": "mp3",
"voiceUsed": "shimmer"
}📜 Lizenz
Dieses Projekt ist unter der MIT-Lizenz lizenziert – siehe die Datei LICENSE für Details.
🕒 Änderungsprotokoll
Siehe die Datei CHANGELOG.md für Details zur Versionsgeschichte.
Available Tools
1 tooltext_to_speechA
Converts text into spoken audio using OpenAI TTS (default voice: alloy), saves it to a file, and optionally plays it.
Inputs: input (required), model, play, response_format, +1 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
With only one tool, there is no possibility of ambiguity or overlap between tools. The tool has a clearly distinct purpose of converting text to speech, and no other tools exist to cause confusion.
The single tool name 'text_to_speech' follows a clear verb_noun pattern (text_to_speech), and with only one tool, consistency is inherently perfect as there are no other names to compare against.
A single tool is too few for most server purposes, as it severely limits functionality and scope. While the tool itself is well-defined, the server lacks breadth, making it feel thin and under-scoped for typical MCP use cases.
The server is severely incomplete for a text-to-speech domain. It only provides conversion to speech, with no tools for managing audio files (e.g., list, delete, play controls), voice selection beyond the default, or other related operations like speech-to-text, leading to significant gaps in coverage.
Maintenance
Related MCP Connectors
AI voice generation: text-to-speech and voice cloning from any MCP client.
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
MCP server exposing the AceDataCloud Fish Audio API (text-to-speech with voice conditioning)
MCP server for Text-to-Speech
Related MCP Servers
- AlicenseBqualityDmaintenanceA MCP server that enables transcription of audio files using OpenAI's Speech-to-Text API, with support for multiple languages and file saving options.110MIT
- AlicenseBqualityDmaintenanceAn MCP server that enables LLMs to access the NijiVoice API for text-to-speech generation, supporting features like fetching available voice actors and checking credit balance.32MIT
- FlicenseCqualityCmaintenanceAn MCP server that exposes speech-to-text and text-to-speech capabilities using a local speaches instance, allowing AI assistants to transcribe audio and generate speech.2-
- AlicenseNot gradedqualityDmaintenanceAn MCP server that provides text-to-speech, speech-to-text, and voice management via ElevenLabs API.1MIT