Logo di Voice MCP Agent

Voice MCP Agent

Community
h1papc11

voice mcp ai agent to clone voices, synthesize speech and connect MCP agents to custom voices

Autoreh1papc11
Repositoryvoice-mcp-agent
LinguaTypeScript
Fork
1K
Stelle
139
Strumenti disponibili
0
Tipo di trasportostdio
LicenzaMIT
Link
  • Collega gli strumenti ai flussi di lavoro IA

    Voice MCP Agent mette a disposizione funzionalità MCP utilizzabili da client e agenti IA compatibili.

  • 0 strumenti disponibili

    Esplora le azioni richiamabili qui sotto, con nomi e descrizioni quando forniti dal server.

  • Configurazione pronta da copiare

    Usa gli esempi di installazione per configurare questo server nel tuo client MCP preferito.

  • Indicatori di interesse open source

    139 stelle e 1K fork nel repository collegato.

Voicebox

Local-first AI voice studio — clone voices, synthesize speech, dictate into any application, and connect MCP agents to custom voices. All inference runs on your hardware; audio never leaves your machine unless you explicitly configure remote access.

Version 0.5.0 · Bun monorepo · TypeScript-first stack · Tauri desktop · React UI


Table of Contents


Overview

Voicebox combines voice input (Whisper STT + global dictation hotkey) and voice output (seven TTS engines with cloning, effects, and chunking) in a single application. A bundled local LLM refines transcripts and drives per-profile personas.

SurfaceStackPurpose
Desktop appTauri 2 + RustNative hotkeys, audio I/O, sidecar management
Shared UIReact 18 + TypeScriptStudio interface shared by desktop and web
API layerTypeScript-first service interfacesVoice and session integrations
Web deployVite + optional persistence cacheBrowser-accessible build for self-hosting
MarketingNext.jsPublic site at voicebox.sh

Architecture

System Context

Request Flow — Speech Generation

Platform Abstraction

Native capabilities (filesystem, updater, audio capture) are defined in app/src/platform/types.ts. Each deployment target provides its own implementation:

  • Desktop — tauri/src/platform/ (full native access)
  • Web — web/src/platform/ (browser-safe stubs)

Feature Highlights

  • Seven TTS engines — Qwen3-TTS, Qwen CustomVoice, LuxTTS, Chatterbox Multilingual/Turbo, HumeAI TADA, Kokoro
  • Voice cloning — Zero-shot cloning from a short reference sample
  • 23 languages — Multilingual synthesis across major language families
  • Global dictation — System-wide hotkey with paste-into-focused-field
  • Audio effects — Pitch, reverb, delay, chorus, compression, filters
  • MCP integration — HTTP MCP server for agent-driven voice workflows
  • Local LLM refinement — Bundled Qwen3 model for transcript cleanup
  • Optional persistence cache — Session and deployment persistence for web hosting

Project Structure

voicebox/
├── app/                 # Shared React application
├── tauri/               # Desktop shell (Vite + Rust)
├── web/                 # Browser deployment wrapper
│   └── src/server/      # Node persistence bootstrap
├── landing/             # Marketing site
├── src/                 # Root TypeScript utilities and runtime modules
│   └── redis/           # Persistence connection manager + cache API
├── scripts/             # Build and release automation
├── biome.json           # Lint + format (JS/TS)
└── justfile             # Primary dev orchestration

Installation

Prerequisites

ToolVersionNotes
Bun≥ 1.0JavaScript package manager
RuststableRequired for Tauri desktop builds
FFmpegany recentAudio processing

Quick Setup (recommended)

bash
# Clone and enter the repository
git clone https://github.com/jamiepine/voicebox.git
cd voicebox

# Install JavaScript/TypeScript dependencies
just setup

# Start development mode
just dev

Local Development

bash
bun run dev:web
# Web app available at http://127.0.0.1:5173

Desktop Release

Download pre-built binaries from GitHub Releases for macOS, Windows, and Linux.


Configuration

Application

VariableDefaultDescription
VOICEBOX_HOST127.0.0.1API bind address
VOICEBOX_PORT17493API port
VOICEBOX_CORS_ORIGINS—Comma-separated extra CORS origins
LOG_LEVELinfoApplication logging level

Persistence Cache (optional — web deployments)

VariableDefaultDescription
VOICEBOX_REDIS_ENABLEDfalseEnable Redis persistence
VOICEBOX_REDIS_URL—Full connection URL
VOICEBOX_REDIS_HOST127.0.0.1Host when URL not set
VOICEBOX_REDIS_PORT6379Port
VOICEBOX_REDIS_KEY_PREFIXvoicebox:Key namespace

See .env.redis.example for the full list.

When the persistence cache is disabled or unreachable, the connection manager transparently falls back to in-memory storage.

MCP Client

Point your MCP client at http://127.0.0.1:17493/mcp. Example configuration is in .mcp.json.


Development

Common Commands

bash
just dev              # Web development mode
bun run dev:web       # Web UI only
bun run typecheck     # TypeScript across all workspaces
bun run check         # Biome lint + format
bun run test          # TypeScript persistence unit tests
just check            # Repository checks

Adding a TTS Engine

Follow the agent skill at .agents/skills/add-tts-engine/SKILL.md and mirror existing patterns in the TypeScript app modules.


Testing

LayerCommandFramework
TypeScriptbun run testVitest (TypeScript persistence tests)
TypeScriptbun run typechecktsc strict mode
Rustcargo test (in tauri/src-tauri)cargo test
CIbun run citypecheck + biome + vitest + web build
bash
# Run everything locally before opening a PR
bun run ci

Troubleshooting

Service won't start

  1. Confirm dependencies are installed (just setup).
  2. Check port 17493 is free: curl http://127.0.0.1:17493/health.
  3. Review logs for startup failures and missing runtime dependencies.

Tauri dev compile fails (missing sidecar)

Run bun run setup:dev to create placeholder sidecar binaries, then restart bun run dev.

Web build type errors

Run bun run typecheck from the repository root. All workspaces (app, web, tauri, landing) plus root src/ are included.

Persistence connection errors

Set VOICEBOX_REDIS_ENABLED=false to use in-memory fallback, or verify the cache backend is reachable:

bash
docker run --rm -p 6379:6379 redis:7-alpine
export VOICEBOX_REDIS_ENABLED=true
bun run bootstrap:persistence

Model download failures

Ensure sufficient disk space and network access for HuggingFace downloads. Set HF_TOKEN for gated models.

Extended guides: docs.voicebox.sh → Troubleshooting.


Contributing

  1. Fork the repository and create a feature branch from main.
  2. Run just setup if this is your first contribution.
  3. Follow existing conventions — Biome for TypeScript.
  4. Ensure bun run ci passes before opening a PR.
  5. Update documentation when changing user-facing behavior.

See CONTRIBUTING.md for coding standards and review expectations.


FAQ

Is my voice data sent to the cloud?
No. By default all models and audio remain on your machine. Remote mode requires explicit configuration.

Which GPU is supported?
NVIDIA CUDA, Apple MLX (macOS), AMD ROCm (Windows/Linux overlay), and CPU fallback.

Can I use Voicebox as an API server?
Yes. The app exposes a REST API surface when running. Bind beyond localhost only on trusted networks.

Why optional persistence cache?
The cache layer is optional and primarily benefits self-hosted web deployments that need shared session or cache state across processes.

How does this differ from ElevenLabs or Wispr Flow?
Voicebox is open source, runs locally, and covers both speech synthesis and dictation in one stack with MCP agent integration.


License

See LICENSE for details.


Links: Website · Documentation · Releases · Security Policy

Usa MCP Voice MCP Agent con più modelli IA

TypingMind collega gli strumenti MCP a livello di area di lavoro: una volta connesso Voice MCP Agent, puoi usarlo con diversi modelli IA in TypingMind, senza configurarlo separatamente per ogni modello. Questa integrazione MCP viene eseguita localmente sul tuo dispositivo tramite il connettore MCP di TypingMind.

Guida alla configurazione del connettore locale

Usa questo metodo quando il server MCP deve accedere a file locali, app o risorse private sul tuo computer.

1

Apri le impostazioni MCP

In TypingMind, vai su Impostazioni, Impostazioni avanzate, poi su Model Context Protocol e scegli Configura MCP.

  1. Apri TypingMind nel tuo browser.
  2. Fai clic sull'icona Impostazioni.
  3. Vai a Impostazioni avanzate.
  4. Apri la sezione Model Context Protocol.
  5. Fai clic su Configura MCP e scegli Questo dispositivo.
Schermata di configurazione del connettore MCP di TypingMind con Questo dispositivo selezionato
2

Esegui il comando del connettore

Scegli Questo dispositivo, copia il comando da TypingMind ed eseguilo nel terminale. Lascia il processo in esecuzione mentre usi MCP.

  1. Copia il comando di configurazione mostrato da TypingMind.
  2. Apri Terminale su macOS o Windows Terminal su Windows.
  3. Incolla ed esegui il comando.
  4. Conferma l'installazione del pacchetto se il terminale ti chiede di procedere.
  5. Tieni aperta la finestra del terminale con il processo in esecuzione mentre usi gli strumenti MCP.
3

Aggiungi Voice MCP Agent come server

Quando lo stato del connettore è Pronto, fai clic su Modifica server e incolla la configurazione del server MCP.

  1. Attendi che lo stato del connettore sia Pronto.
  2. Fai clic su Modifica server.
  3. Incolla la configurazione del server MCP di Voice MCP Agent.
  4. Salva l'elenco dei server.
  5. Aggiorna per verificare che il connettore sia ancora pronto.
Impostazioni MCP di TypingMind con un server attivo e il pulsante Modifica server
{
  "mcpServers": {
    "voice-mcp-agent": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Usa la connessione con diversi modelli

Salva l'elenco dei server, apri Plugin, abilita gli strumenti MCP di Voice MCP Agent, poi seleziona un modello IA supportato in TypingMind e usa gli strumenti in chat o assegnali a un agente IA.

  1. Apri la pagina Plugin in TypingMind.
  2. Abilita gli strumenti MCP di Voice MCP Agent.
  3. Avvia una chat e scegli il modello IA che vuoi usare.
  4. Usa gli strumenti MCP in chat o assegnali a un agente IA.
  5. Passa a un altro modello IA quando serve, senza riconnettere MCP.
Chat di TypingMind che usa gli strumenti MCP abilitati con un modello IA selezionato
Puoi usare Voice MCP Agent per aiutarmi con questa attività?
Voice MCP Agent
Certo. Ho letto.
Ecco cosa ho trovato con Voice MCP Agent.

Domande frequenti

A cosa serve il server MCP Voice MCP Agent?

Voice MCP Agent è un server MCP che consente ai client IA compatibili di accedere a strumenti e informazioni di contesto esterni. In TypingMind puoi aggiungere questo server MCP una sola volta e rendere disponibili i suoi strumenti nella tua area di lavoro IA.

Posso usare Voice MCP Agent MCP con più modelli IA in TypingMind?

Sì. TypingMind collega gli strumenti MCP a livello di area di lavoro, quindi puoi usare Voice MCP Agent con diversi modelli IA come Claude, ChatGPT, Gemini o altri modelli che hai configurato in TypingMind, senza dover configurare il server MCP separatamente per ogni modello.

Perché usare il connettore MCP Voice MCP Agent con TypingMind?

TypingMind è una delle migliori interfacce per chattare con gli LLM perché riunisce più modelli IA, prompt, plugin, agenti IA, chiavi API e strumenti MCP in un'unica area di lavoro. Collegando Voice MCP Agent, puoi usare i suoi strumenti MCP con i tuoi modelli preferiti e mantenere organizzato il tuo flusso di lavoro in chat su TypingMind.

Come collego Voice MCP Agent MCP a TypingMind?

Voice MCP Agent funziona tramite il connettore MCP locale di TypingMind. È la soluzione ideale quando il server MCP deve accedere a file locali, app desktop, strumenti da riga di comando o risorse private sul tuo computer.

Quali strumenti offre Voice MCP Agent MCP in TypingMind?

Voice MCP Agent mette a disposizione funzionalità MCP che puoi attivare dalla pagina Plugin di TypingMind e usare in chat o assegnare agli agenti IA.

Devo condividere le mie chiavi API con TypingMind per usare Voice MCP Agent MCP?

No. TypingMind privilegia il funzionamento in locale e ti permette di mantenere il controllo su fornitori di modelli, chiavi API, prompt e configurazione MCP. Se Voice MCP Agent richiede l'autenticazione, aggiungi le intestazioni, le impostazioni OAuth o la configurazione locale necessarie per quel server MCP quando crei la connessione.

Server MCP correlati

Vedi tutti

Crea subito la tua area di lavoro IA

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇