Back to Home
marcindulak icon

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

Run Command
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 30

Security 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

Stats

Interest Score43
Security Score4
Cost ClassMedium
Avg Tokens70
Stars17
Forks2
Last Update2025-12-02

Tags

Speech-to-TextMCPLinuxDockerTmux