mcp-voice-interface
v1.0.0
Published
Browser-based voice input/output for AI Assistant conversations via MCP (Model Context Protocol)
Maintainers
Readme
MCP Voice Interface
Talk to AI assistants using your voice through a web browser. Compatible with Claude Desktop, OpenCode, and other MCP-enabled AI tools.
Features
🎙️ Voice Conversations - Speak naturally with AI assistants
🌍 30+ Languages - Speech recognition in multiple languages
📱 Remote Access - Use from phone/tablet while AI runs on computer
⚙️ Smart Controls - Collapsible settings, always-on mode, custom voices
⏱️ Dynamic Timeouts - Intelligent wait times based on response length
Easy Installation
🚀 One-Command Setup
Claude Desktop:
npx mcp-voice-interface --install-claude-config
# Restart Claude Desktop and you're ready!OpenCode (in current project):
npx mcp-voice-interface --install-opencode-config --local
npx mcp-voice-interface --install-opencode-plugin --local
# Start OpenCode and use the converse toolClaude Code CLI:
npx mcp-voice-interface --install-claude-code-config --local
# Start Claude Code CLI and use voice tools📦 Manual Installation
From NPM:
npm install -g mcp-voice-interface
mcp-voice-interfaceFrom Source:
git clone <repository-url>
cd mcp-voice-interface
npm install && npm run build && npm startHow to Use
- Start the server - Run
mcp-voice-interface - Open browser - Visit
https://localhost:5114(opens automatically) - Allow microphone - Grant permissions when prompted
- Start talking - Use the
conversetool in your AI assistant
Voice Commands in AI Chat
Use the converse tool to start talking:
- converse("Hello! How can I help you today?", timeout: 35)Browser Interface
The web interface provides:
- Voice Settings (click ⚙️ to expand)
- Language selection (30+ options)
- Voice selection
- Speech speed control
- Always-on microphone mode
- Smart Controls
- Pause during AI speech (prevents echo)
- Stop AI when user speaks (natural conversation)
- Mobile Friendly - Works on phones and tablets
Remote Access
Access from any device on your network:
- Find your computer's IP:
ifconfig | grep inet(Mac/Linux) oripconfig(Windows) - Visit
https://YOUR_IP:5114on your phone/browser - Accept the security warning (self-signed certificate)
- Grant microphone permissions
Perfect for continuing conversations away from your desk!
Configuration
Environment Variables
export MCP_VOICE_AUTO_OPEN=false # Disable auto-opening browser
export MCP_VOICE_HTTPS_PORT=5114 # Change HTTPS portPorts
- HTTPS: 5114 (required for microphone access)
- HTTP: 5113 (local access only)
Requirements
- Node.js 18+
- Modern browser (Chrome/Safari recommended)
- Microphone access
Troubleshooting
Certificate warnings on mobile?
- Tap "Advanced" → "Proceed to site" to accept self-signed certificate
Microphone not working?
- Ensure you're using HTTPS (not HTTP)
- Check browser permissions
- Try refreshing the page
AI not responding to voice?
- Make sure the
conversetool is being used (not justspeak) - Check that timeouts are properly calculated
Development
npm install
npm run build
npm run dev # Watch mode
npm run start # Run serverLicense
MIT
