STT MCP Server Linux

v1.0.0Developer Toolsstable

Local speech-to-text MCP server for Tmux on Linux (for use not only with Claude Code)

claude-codelinuxmcpmcp-servertmux
Share:
22
Stars
0
Downloads
0
Weekly
0/5

What is STT MCP Server Linux?

STT MCP Server Linux is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to local speech-to-text mcp server for tmux on linux (for use not only with claude code)

Local speech-to-text MCP server for Tmux on Linux (for use not only with Claude Code)

This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • Local speech-to-text MCP server for Tmux on Linux (for use n

Use Cases

Convert speech to text locally on Linux using Tmux.
Enable voice input in Claude Code without sending audio to cloud services.
marcindulak

Maintainer

LicenseApache-2.0
Languagepython
Versionv1.0.0
UpdatedApr 28, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx stt-mcp-server-linux

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use STT MCP Server Linux

STT MCP Server Linux is a local speech-to-text MCP server for Linux that runs inside a Docker container and exposes a `transcribe` tool via the Model Context Protocol. It uses OpenAI Whisper (tiny model by default) to transcribe microphone audio captured with a push-to-talk mechanism triggered by the Right Ctrl key. The transcribed text is injected directly into a Tmux session's input buffer, making it ideal for hands-free voice input into Claude Code without sending any audio to cloud services. It also supports a standalone mode independent of MCP for use with any shell session.

Prerequisites

  • Linux operating system (required for /dev/input and /dev/snd device access)
  • Docker Engine or Docker Desktop installed and running
  • Tmux installed (the server injects transcribed text via tmux send-keys)
  • Claude Code installed and configured as the MCP client
  • Claude Code must be run inside a Tmux session
1

Clone the repository

Clone the stt-mcp-server-linux repository and set the path variable for use in later steps.

git clone https://github.com/marcindulak/stt-mcp-server-linux
cd stt-mcp-server-linux
export STT_MCP_SERVER_LINUX_PATH=$(pwd)
2

Build the Docker image

Build the Docker container image that includes the speech-to-text runtime with Whisper and all audio processing dependencies.

bash scripts/build_docker_image.sh
3

Download the Whisper model

Download the Whisper tiny model to ~/.stt-mcp-server-linux/whisper. This model runs entirely locally and does not send audio to any external service.

bash scripts/download_whisper_model.sh
4

Configure Tmux

Add the required Tmux settings to ~/.tmux.conf. These settings enable mouse support, increase the scrollback buffer, hide the status bar to reduce flicker, and reduce the escape-key delay.

cat >> ~/.tmux.conf <<'EOF'
set -g mouse on
set -g history-limit 1000000
set -g status off
set -g escape-time 0
EOF
5

Register the MCP server with Claude Code

Run the provided helper script from your project directory to add the server to Claude Code with user-level scope. Verify the connection with `claude mcp list`.

bash "${STT_MCP_SERVER_LINUX_PATH}/scripts/add_mcp_server_to_claude.sh"
claude mcp list
6

Start Claude Code inside a Tmux session

Launch Claude inside a Tmux session using a custom TMUX_TMPDIR that is shared between the Docker host and the container. Then ask Claude to activate the transcribe tool.

TMUX_TMPDIR=~/.stt-mcp-server-linux/tmux tmux new-session -s claude 'claude'
7

Activate push-to-talk

Inside the Claude Code session, ask Claude to run the transcribe tool provided by stt-mcp-server-linux. Once the server logs 'Waiting for Right Ctrl key press', hold Right Ctrl to record and release to transcribe. Use `docker logs stt-mcp-server-linux` to monitor startup progress.

STT MCP Server Linux Examples

Client configuration

The add_mcp_server_to_claude.sh script registers the server automatically. The equivalent manual Claude Code CLI command to add it is shown below.

{
  "mcpServers": {
    "stt-mcp-server-linux": {
      "command": "bash",
      "args": ["/path/to/stt-mcp-server-linux/scripts/restart_mcp_server.sh"]
    }
  }
}

Prompts to try

Once the MCP server is active and listening, use these prompts inside the Claude Code Tmux session.

- "Run the transcribe tool provided by the stt-mcp-server-linux MCP server"
- "Check the status of the stt-mcp-server-linux MCP server with /mcp"
- "Stop transcription and quit" (press Right Ctrl to record, release to transcribe any voice prompt)

Troubleshooting STT MCP Server Linux

The transcribe tool is not ready immediately after Claude Code starts

Give the Docker container time to initialize. Run `docker logs stt-mcp-server-linux` and wait for a log line containing 'Waiting for Right Ctrl key press on ... keyboard'. You can also run `/mcp` inside Claude Code to verify the server status.

Starting a second container stops the previous one

Only one transcription container can run at a time. If you start a new Tmux session or restart the service, the previous container is automatically replaced. This is by design — stop the first session before starting another.

Right Ctrl key is not detected

The server reads from /dev/input keyboard devices. Ensure the Docker container is granted access to host input devices (handled by the build/start scripts). If you use a custom keyboard layout or USB hub, check that /dev/input/event* devices for your keyboard are accessible inside the container.

Frequently Asked Questions about STT MCP Server Linux

What is STT MCP Server Linux?

STT MCP Server Linux is a Model Context Protocol (MCP) server that local speech-to-text mcp server for tmux on linux (for use not only with claude code) It connects AI assistants to external tools and data sources through a standardized interface.

How do I install STT MCP Server Linux?

Follow the installation instructions on the STT MCP Server Linux GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with STT MCP Server Linux?

STT MCP Server Linux works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is STT MCP Server Linux free to use?

Yes, STT MCP Server Linux is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Developer Tools MCP Servers

Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "stt-mcp-server-linux": { "command": "npx", "args": ["-y", "stt-mcp-server-linux"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use STT MCP Server Linux?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides