
允许克洛德有声音的MCP服务器.
概览
一个用于Zonos TTS的模型上下文协议集成,允许克洛德直接生成语音. 要通过 Smithery 为 Claude 桌面自动安装 Zonos TTS 集成 : 1. 确保Zonos与我们的API执行(PhialsBasement/zonos-api) 5. 加入克洛德的配置文件:编辑您的克洛德配置文件(通常在~/.config/claude/config.json中),并将此添加到mcpServers部分: 用您安装 MCP 服务器的实际路径替换 /path/ to/ your/ szonos- mcp 。 Claude一旦配置,就自动知道如何使用 speak response工具 : -通过克洛德进行文字对话 - 多重情感支持 - 多语种支持 - 通过PulseAudio进行适当的音频回放 - Node.js - PulseAudio设置 - 正在运行的 Zonos API (PhialsBasement/zonos-api) - 工作音频输出设备
概述(AI 翻译)
一个用于Zonos TTS的模型上下文协议集成,允许克洛德直接生成语音.
□ 设置
通过 Smithery 安装
要通过 Smithery 为 Claude 桌面自动安装 Zonos TTS 集成 :
手动安装
-
确保Zonos与我们的API执行(PhialsBasement/zonos-api)
-
安装依赖性:
-
配置 PulseAudio 访问:
-
构建 MCP 服务器:
-
加入克洛德的配置文件: 编辑您的 Claude 配置文件( 通常是在 [[T0] ) , 并将此添加到 [[T1] 部分 :
用您安装 MCP 服务器的实际路径替换 /path/to/your/zonos-mcp 。
□ 与克洛德一起使用
一旦配置,克洛德自动知道如何使用 [[T3] 工具:
□ 特性
- 通过克洛德对讲文字
- 多重情绪支持
- 多语种支助
- 通过PulseAudio进行适当的音频回放
□ 要求
- 节点.js
- PulseAudio设置
- Zonos API的运行实例
- 工作音频输出设备
□ 注释
- 确保Zonos API服务器和这个MCP服务器都在运行
- 音频回放需要适当的 PulseAudio 配置
本页由 AI 翻译,技术细节请以原文为准。
README
Zonos MCP Integration
A Model Context Protocol integration for Zonos TTS, allowing Claude to generate speech directly.
Setup
Installing via Smithery
To install Zonos TTS Integration for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @PhialsBasement/zonos-tts-mcp --client claude
Manual installation
-
Make sure you have Zonos running with our API implementation (PhialsBasement/zonos-api)
-
Install dependencies:
npm install @modelcontextprotocol/sdk axios
- Configure PulseAudio access:
# Your pulse audio should be properly configured for audio playback
# The MCP server will automatically try to connect to your pulse server
- Build the MCP server:
npm run build
# This will create the dist folder with the compiled server
- Add to Claude’s config file:
Edit your Claude config file (usually in
~/.config/claude/config.json) and add this to themcpServerssection:
"zonos-tts": {
"command": "node",
"args": [
"/path/to/your/zonos-mcp/dist/server.js"
]
}
Replace /path/to/your/zonos-mcp with the actual path where you installed the MCP server.
Using with Claude
Once configured, Claude automatically knows how to use the speak_response tool:
speak_response(
text="Your text here",
language="en-us", # optional, defaults to en-us
emotion="happy" # optional: "neutral", "happy", "sad", "angry"
)
Features
- Text-to-speech through Claude
- Multiple emotions support
- Multi-language support
- Proper audio playback through PulseAudio
Requirements
- Node.js
- PulseAudio setup
- Running instance of Zonos API (PhialsBasement/zonos-api)
- Working audio output device
Notes
- Make sure both the Zonos API server and this MCP server are running
- Audio playback requires proper PulseAudio configuration
安装
npx -y @smithery/cli install @PhialsBasement/zonos-tts-mcp --client claude