Voice MCP Agent logo

Voice MCP Agent

Community
h1papc11

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

Publisherh1papc11
Repositoryvoice-mcp-agent
LanguageTypeScript
Forks
1K
Stars
139
Available tools
0
Transport typestdio
LicenseMIT
Links
  • Connect tools to AI workflows

    Voice MCP Agent exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    139 stars and 1K forks from the linked repository.

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

Use Voice MCP Agent MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once Voice MCP Agent is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add Voice MCP Agent as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the Voice MCP Agent MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "voice-mcp-agent": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the Voice MCP Agent MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the Voice MCP Agent MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use Voice MCP Agent to help me with this task?
Voice MCP Agent
Sure. I read it.
Here is what I found using Voice MCP Agent.

Frequently asked questions

What is the Voice MCP Agent MCP server used for?

Voice MCP Agent is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use Voice MCP Agent MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use Voice MCP Agent with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use Voice MCP Agent MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With Voice MCP Agent connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect Voice MCP Agent MCP to TypingMind?

Voice MCP Agent runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does Voice MCP Agent MCP provide in TypingMind?

Voice MCP Agent exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use Voice MCP Agent MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If Voice MCP Agent requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇