speech-mcp-server
MCP server integrating VolcEngine for automatic speech recognition (ASR) and text-to-speech (TTS), converting audio to text or text to audio files.
README
Speech Model Context Protocol Server
An MCP server implementation for speech of volcengine
Features
Tools
- asr
Automatic Speech Recognition: Converts audio to text.
- Args:
- content: url or absolute path of the audio file to transcribe.
- Returns:
- Asr text
- Args:
- tts
Text-to-Speech: Synthesizes text into audio.
- Args:
- text: The text to synthesize into speech.
- speed: Speech speed (e.g., 1.0 for normal). default: 1.0.
- encoding: Desired audio output format (e.g., 'mp3', 'wav'). default: 'mp3'.
- Returns:
- Return the path of audio file.
- Args:
Configuration
The server requires the following environment variables to be set:
VOLC_APPID: Required, The APP ID for the VolcEngine.VOLC_TOKEN: Required, The Access Token for the VolcEngine.VOLC_VOICE_TYPE: Optional, Large speech synthesis model service voice_type, default is 'zh_female_meilinvyou_moon_bigtts'VOLC_CLUSTER: Required, Large speech synthesis model service cluster ID
The services that need to be activated on Volcengine are: Large speech synthesis model、Streaming speech recognition large model、Large model for audio file recognition
You can set these environment variables in your shell.
MCP Settings Configuration
To add this server to your MCP configuration, add the following to your MCP settings file:
{
"mcpServers": {
"speech-mcp-server": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/src/mcp_server_speech",
"run",
"main.py"
]
}
}
}
or
{
"mcpServers": {
"speech-mcp-server": {
"command": "uvx",
"args": [
"--from",
"git+https://github.com/thundersoft-td/mcp-server-speech",
"mcp-server-speech"
],
"env": {
"VOLC_APPID": "your appid",
"VOLC_TOKEN": "your token",
"VOLC_VOICE_TYPE": "tts voice type",
"VOLC_CLUSTER": "tts cluster id",
}
}
}
}
Usage
Running the Server
# Run the server with stdio transport (default)
python -m mcp_server_speech [--transport/-t {sse,stdio}]
License
This library is licensed under the MIT-0 License. See the LICENSE file.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.