You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Voice input MCP server for CLI terminal tools #41413
I have searched for existing issues and confirmed this is not a duplicate
Problem
Terminal-based AI coding tools (OpenCode CLI, Claude Code, Cursor) cannot use voice input because terminal apps do not support clickable microphone icons. Users must type all prompts manually.
Proposed Solution
Add voice input support via a standalone MCP server (@opencode-ai/voice-mcp) that provides:
voice_transcribe — Record audio from microphone and transcribe to text
voice_type — Record, transcribe, and type at cursor position
voice_status — Check voice input availability
Implementation
MCP server using @modelcontextprotocol/sdk
Local Whisper transcription via faster-whisper (Python)
Cross-platform recording (sox/ffmpeg)
100% local — no cloud API required
Works with OpenCode CLI, Claude Code, Cursor, and any MCP-compatible tool
Existing issues (#41364, #33300, #35219, #37742, #39688) focus on desktop app voice input (GUI microphone button). This issue is about CLI/terminal voice input via MCP server, which works across all MCP-compatible tools.
Thanks for updating the issue! It now meets the contributing guidelines. We appreciate the detailed write-up and the effort to differentiate this from existing voice input requests.
The voice MCP server is built and published to npm. Note: it's published under my own scope (@yuvarjbhado) since I don't own the @opencode-ai org on npm — the install snippet in the original post should use this name:
Nice work shipping the dictation MCP — push-to-talk transcription is a solid baseline for terminal tools.
Worth noting there's a complementary approach if you want conversation rather than dictation: qwen-audio-agent (disclosure: I maintain it) runs a full-duplex voice frontend in front of CLI agents including OpenCode:
No push-to-talk: talk while the agent works, interrupt mid-task (barge-in)
Spoken results: long-running task outcomes are announced back by voice, so you can step away from the terminal
OpenCode is a first-class backend — qwenaudio install opencode sets it up, then qwenaudio --backend opencode (or the desktop orb) starts a voice session over ACP.
The two aren't mutually exclusive: a dictation MCP covers "type by voice" inside the TUI, while a runtime like this covers "supervise the agent hands-free".
@jlongster — wanted to check in on this one since it's been quiet for a few weeks. The voice MCP server is live and published (@yuvarjbhado/voice-mcp, 100% local faster-whisper). The earlier docs PR (#42769) was raised as official-docs placement, but I'd rather match what maintainers actually want than push a personal package into the Guides. Two options:
Keep voice input core/documented inside opencode (docs + optionally a packages/ integration), or
List it in the ecosystem listing instead.
Happy to fold the guide into whichever home you prefer — or close this out cleanly if core voice input isn't on the roadmap. Thanks!
Activity
github-actions commentedon Aug 9, 2026
This issue does not fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]: Add voice input support via MCP server)Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be a duplicate of existing issues. Please check:
If you believe this was flagged incorrectly, please let a maintainer know.
[-]feat: Add voice input support via MCP server[/-][+][FEATURE]: Voice input MCP server for CLI terminal tools[/+]github-actions commentedon Aug 9, 2026
Thanks for updating the issue! It now meets the contributing guidelines. We appreciate the detailed write-up and the effort to differentiate this from existing voice input requests.
YuvrajSinghBhadoria2 commentedon Aug 15, 2026
Update: implementation published 🎤
The voice MCP server is built and published to npm. Note: it's published under my own scope (
@yuvarjbhado) since I don't own the@opencode-aiorg on npm — the install snippet in the original post should use this name:{ "mcpServers": { "voice": { "command": "npx", "args": ["-y", "@yuvarjbhado/voice-mcp"] } } }Or with OpenCode's
mcpkey:{ "mcp": { "voice": { "command": "npx", "args": ["-y", "@yuvarjbhado/voice-mcp"] } } }What it provides:
voice_transcribe— record + local Whisper transcriptionvoice_type— record, transcribe, and type at cursorvoice_status— check availability100% local (faster-whisper), cross-platform (sox/ffmpeg), no cloud API. Source: https://github.com/YuvrajSinghBhadoria2/opencode-voice-mcp
Still happy to fold this into the opencode repo (docs or a
packages/dir) if maintainers want it core — just let me know the preferred location.x-lixu commentedon Aug 18, 2026
Nice work shipping the dictation MCP — push-to-talk transcription is a solid baseline for terminal tools.
Worth noting there's a complementary approach if you want conversation rather than dictation: qwen-audio-agent (disclosure: I maintain it) runs a full-duplex voice frontend in front of CLI agents including OpenCode:
OpenCode is a first-class backend —
qwenaudio install opencodesets it up, thenqwenaudio --backend opencode(or the desktop orb) starts a voice session over ACP.The two aren't mutually exclusive: a dictation MCP covers "type by voice" inside the TUI, while a runtime like this covers "supervise the agent hands-free".
YuvrajSinghBhadoria2 commentedon Sep 6, 2026
@jlongster — wanted to check in on this one since it's been quiet for a few weeks. The voice MCP server is live and published (
@yuvarjbhado/voice-mcp, 100% local faster-whisper). The earlier docs PR (#42769) was raised as official-docs placement, but I'd rather match what maintainers actually want than push a personal package into the Guides. Two options:packages/integration), orHappy to fold the guide into whichever home you prefer — or close this out cleanly if core voice input isn't on the roadmap. Thanks!
neriousy commentedon Oct 20, 2026
Thanks for building and publishing this voice MCP server. We're closing the proposal to include it in OpenCode.