voice-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
voice-mcp
Local-first macOS voice daemon & MCP server to talk directly to your coding agents (Claude Code, Antigravity, or any stdio MCP client) — an open-source, privacy-aware alternative to Wispr Flow with real-time barge-in.
Why voice-mcp?
Instead of dictating text and reading walls of markdown back, voice-mcp combines:
System-wide
Fnkeyboard daemon (voice-daemon) with a native macOS menu bar icon (🎙️/🔊/🔴):Hold
Fn(≥ 200 ms, pre-capture att=0+ 250 ms tail): Open Space silent dictation — streams speech to Gradium STT and pastes cleanly at your cursor anywhere on macOS without pressing Enter.Double-tap
Fn(< 400 ms): Direct Voice Interaction mode — listens hands-free with semantic turn detection, pastes[mode vocal] <transcript>and presses Enter so your agent summarizes in chat + replies aloud with Noémie and instant barge-in.
Stdio MCP Server (
voice-mcp) exposingecouter,parler,dialoguer, andstatut_voix, synchronized with the sharedoral/ecritmode (~/.cache/voice-mcp/mode.json).
Related MCP server: sidevoice-connector
Architecture
Microphone (24 kHz PCM, in-memory only)
│
├─► Gradium STT WebSocket (eu.api.gradium.ai)
│ • Semantic VAD (2.0 s horizon) & keyword boosting (keywords.yaml)
│ • Barge-in RMS detector cuts TTS in < 80 ms with 480 ms pre-roll
│
├─► Coding Agent (Claude Code / Antigravity via MCP stdio)
│ • Keeps all workspace tools, skills & safety guardrails
│ • Outputs 3–5 bullet summary in chat + 2 short spoken sentences
│
└─► Gradium Phonon TTS (100% local via ptts, 0 API credits)
• Default voice: Noémie (15 FR voices cached on demand)
• Hot-plug audio device refresh (headset / speakers)Installation
Prerequisites: macOS (Apple Silicon / Intel), Python 3.11–3.13, uv.
git clone https://github.com/Exawyll/voice-mcp.git
cd voice-mcp
uv sync --python 3.121. Configure API Key & Local Settings
cp .env.example .envEdit .env and set your Gradium API key (free tier available at gradium.ai, routed to EU endpoint eu.api.gradium.ai by default):
GRADIUM_API_KEY=your_gradium_api_key(Optional) Copy keywords.local.yaml.example to keywords.local.yaml (gitignored) to boost your own domain acronyms and project terms.
Quick Test (CLI)
# Check config (key redacted) and audio devices
uv run voice-test status
# List available French Phonon voices
uv run voice-test voices
# Test local TTS (0 credits)
uv run voice-test tts "Bonjour, je suis Noémie." --voice Noémie
# Test streaming STT
uv run voice-test stt --timeout 20
# Test real-time barge-in (interrupt while speaking)
uv run voice-test bargeinConnect to Coding Agents (MCP)
Claude Code
claude mcp add --scope user voice-mcp -- \
uv --directory /path/to/voice-mcp run voice-mcpAntigravity (~/.gemini/config/mcp_config.json)
{
"mcpServers": {
"voice-mcp": {
"command": "/path/to/uv",
"args": [
"--directory",
"/path/to/voice-mcp",
"run",
"voice-mcp"
]
}
}
}Global Agent Rule (~/.claude/CLAUDE.md / ~/.gemini/GEMINI.md)
- If a message starts with `[mode vocal]`, show a short 3–5 bullet summary in chat and reply aloud via `dialoguer()` in 2 short sentences max.
- Without `[mode vocal]` (or when Open Space silent mode is active), reply in text only.macOS Keyboard Daemon & Auto-Start (LaunchAgent)
One-time macOS Permissions
System Settings > Keyboard: Press 🌐 key to → Do Nothing.
Privacy & Security > Input Monitoring: allow your Terminal / Python binary.
Privacy & Security > Accessibility: allow your Terminal / Python binary (for
Cmd+V/Returnpaste).
Run Manually or Install at Login
# Verify macOS permissions
uv run voice-daemon --check-permissions
# Run interactively with menu bar icon
uv run voice-daemon
# Install and start automatically at macOS login
# (packages ~/Applications/VoiceMCP.app so Microphone & Accessibility permissions stick cleanly)
uv run voice-daemon --install-launchagent
# Stop and remove LaunchAgent
uv run voice-daemon --uninstall-launchagentLogs when running via LaunchAgent: ~/Library/Logs/voice-mcp-daemon.log.
Note: --install-launchagent creates ~/Applications/VoiceMCP.app on macOS so Microphone and Accessibility permissions apply cleanly to VoiceMCP instead of a generic Python binary.
Privacy, Security & Licensing
No audio stored on disk: microphone audio stays in memory and is streamed only to the configured Gradium region (
euby default).Local TTS output: Phonon runs 100% locally on-device, so agent replies never leave your machine.
Secrets safety:
.envandkeywords.local.yamlare gitignored;GRADIUM_API_KEYis never exposed instatut_voix()or error messages; native macOS truststore (truststore) handles corporate TLS proxies without disabling certificate verification.Licensing:
voice-mcpsource code: MIT (LICENSE).Underlying Phonon weights:
phonon-31m-enis Apache 2.0;phonon-40m-fr(used for French voices such as Noémie) is CC BY-NC 4.0 (non-commercial — commercial license available from Gradium, or switchVOICE_TTS_BACKEND=say/gradium).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Command your AI agents by voice: PTT rooms, channels, direct messages, agent email, memory (mRAG).
Let cloud agents talk to you: progress updates spoken on your Mac, and replies you send back.
Human-input bridge for AI agents with voice-first answer links, MCP tools, and HTTP APIs.
Audio for your agent: transcribe, speak, translate, summarise, plus sound effects and music.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAdds voice conversation capabilities to AI agents via MCP, enabling local speech recognition and synthesis with tools like speak, listen, and ask_by_voice for interactive voice interactions.MIT

sidevoice-connectorofficial
AlicenseNot gradedqualityAmaintenanceEnables coding agents to participate in voice calls, speaking replies while continuing their work and accepting spoken input or interruptions within the same conversation. It delivers voice input into Claude Code, Codex, Cursor, or custom HTTP endpoint workflows.Apache 2.0- AlicenseNot gradedqualityBmaintenanceEnables coding agents to hold spoken conversations by exposing speech-to-text and text-to-speech tools over MCP, routing them to a local daemon that drives a Chrome window using on-device speech recognition and Piper synthesis. It supports listening, speaking, and reading files aloud within a Claude Code plugin or an MCP gateway.MIT
- AlicenseNot gradedqualityCmaintenanceEnables hands-free voice collaboration with a coding agent: you speak requirements aloud and hear only short, plain-language progress and completion summaries while the agent edits code, runs tests, and fixes bugs in the background. It also handles continuous speech recognition with automatic turn detection, barge-in interruption, and spoken approval prompts before risky operations.1MIT