stt-mcp-server-linux
by marcindulak
Overview
Provides a local speech-to-text server for Linux, integrating with the Claude Code editor via push-to-talk functionality and Tmux for text injection.
Installation
docker run --rm --interactive --name stt-mcp-server-linux --device /dev/input --device /dev/snd --group-add $(getent group input | cut -d: -f3) --volume ~/.stt-mcp-server-linux/whisper:/.whisper --volume ~/.stt-mcp-server-linux/tmux:/.tmux --volume $(pwd)/tests:/app/tests stt-mcp-server-linux /home/nonroot/venv/bin/python /app/stt_mcp_server_linux.py --session claude --pad-up-to-seconds 30Security Notes
The `scripts/restart_mcp_server.sh` script uses `eval $DOCKER_CMD`, which is vulnerable to command injection if environment variables like `CONTAINER_NAME`, `TMUX_SESSION`, or `TMUX_TMPDIR` are set to malicious values. While the Python code itself implements robust sanitization for text injected into Tmux to prevent command injection into Tmux, the orchestration scripts pose a significant risk.
Similar Servers
claude-code-mcp
Provides an MCP server to allow LLMs to directly invoke Claude Code CLI for complex coding, file system, and Git operations, bypassing interactive permission prompts.
voicemode
Enables voice interaction capabilities (Speech-to-Text and Text-to-Speech) for Model Context Protocol (MCP) servers, allowing for natural language conversations and voice-controlled actions.
tmux-mcp
Enables AI assistants to interact with, control, and observe tmux terminal sessions.
mcp-tts
Provides a Text-to-Speech (TTS) server using the Model Context Protocol (MCP) to integrate various TTS engines into applications like Claude Desktop and Cursor IDE.