Skip to content

The open-source AI voice studio. Clone, dictate, create.

fix: use underscore-separated MCP tool names so Claude Desktop accepts them

Jashwanth89901040814c
diff --git a/backend/mcp_server/tools.py b/backend/mcp_server/tools.py
index 61003f11..fae79e48 100644
--- a/backend/mcp_server/tools.py
+++ b/backend/mcp_server/tools.py
@@ -36,7 +36,7 @@ def register_tools(mcp: FastMCP) -> None:
"""Attach all Voicebox tools to the given FastMCP instance."""
@mcp.tool(
- name="voicebox.speak",
+ name="voicebox_speak",
description=(
"Speak text in a Voicebox voice profile. Returns a generation id "
"the caller can poll at /generate/{id}/status. Audio plays on the "
@@ -113,7 +113,7 @@ def register_tools(mcp: FastMCP) -> None:
db.close()
@mcp.tool(
- name="voicebox.transcribe",
+ name="voicebox_transcribe",
description=(
"Transcribe an audio clip to text using Voicebox's local Whisper. "
"Pass exactly one of `audio_base64` (bytes as base64) or "
@@ -171,7 +171,7 @@ def register_tools(mcp: FastMCP) -> None:
tmp_path.unlink(missing_ok=True)
@mcp.tool(
- name="voicebox.list_captures",
+ name="voicebox_list_captures",
description=(
"List recent voice captures (dictations, recordings, uploads) "
"with their transcripts. Most-recent first."
@@ -199,7 +199,7 @@ def register_tools(mcp: FastMCP) -> None:
db.close()
@mcp.tool(
- name="voicebox.list_profiles",
+ name="voicebox_list_profiles",
description=(
"List available voice profiles (both cloned voices and presets). "
"Use the returned `name` with voicebox.speak(profile=...)."