WellSaid Claude Connector

WellSaid Claude Connector

An MCP server that wraps the WellSaid Labs text-to-speech API, enabling Claude to generate lifelike voiceovers with voice selection, prosody control, and caption support directly from text.

Category
访问服务器

README

WellSaid Claude Connector

Generate lifelike WellSaid Labs voiceover from text — right inside Claude.

This is a Model Context Protocol server that wraps the WellSaid Labs text-to-speech API and exposes it as Claude tools. Ask Claude to "list WellSaid voices" or "voice this script with Wade C., a little slower and deeper," and it renders audio (plus captions if you want them).

Runs as a local stdio connector (Claude Desktop custom connectors + Claude Code) or as a remote Streamable-HTTP connector. No build step — plain Node ESM.


What Claude can do with it

Tool What it does
wellsaid_list_voices List voice avatars and their speaker_id (name, style, accent, gender, language), with optional search.
wellsaid_list_voice_criteria Summarize the distinct styles/accents/genders/languages to narrow a search.
wellsaid_generate_speech Convert text → audio with a chosen voice. Supports model (legacy/caruso), AI Director prosody (pitch/tempo/loudness), output format, and replacement libraries.
wellsaid_generate_speech_with_timing Render speech plus word timing and SRT/VTT captions — the API's zip is extracted to individual files.
wellsaid_create_clip_async Start an async TTS job (good for long or batched scripts).
wellsaid_get_clip Check a clip's status and download it when ready.
wellsaid_list_clips List recent clips on the account.
wellsaid_combine_clips Stitch multiple clips into one file with custom pauses.
wellsaid_get_respelling_suggestions Get pronunciation respellings for a tricky name/term.
wellsaid_request Advanced escape hatch — call any WellSaid endpoint directly.

Generated files are written to your output folder (default ./output, or set WELLSAID_OUTPUT_DIR).

Prosody & pronunciation (AI Director)

WellSaid's expressive controls run on the caruso model via AI Director tags embedded in the text. wellsaid_generate_speech exposes them two ways:

  • Whole-line convenience: pass pitch, tempo, and/or loudness — the connector wraps your text in the right tags and automatically selects the caruso model. Approximate ranges: pitch [-45, 100], tempo [0.7, 2.3], loudness [-15, 9].
  • Fine control: embed tags directly in text, e.g. The <emphasis>best</emphasis> value is <respell value="PEET-suh">pizza</respell>. Use wellsaid_get_respelling_suggestions to find respelling values.

Output format can be mp3 (default), wav, or s16le, with an optional sample_rate.


Prerequisites

  • Node.js ≥ 18.17 (uses the built-in fetch). Developed on Node 24. .env auto-loads via a built-in on Node ≥ 20.12, with a manual fallback on older versions.
  • A WellSaid API key — create one at wellsaidlabs.com (Studio → API) or the Developer Portal. Sent as the X-Api-Key header. Default keys are rate-limited to ~3 requests/second and 1,000 characters per synchronous request.

Install & verify

cd wellsaid-connector
npm install
cp .env.example .env        # then paste your key into WELLSAID_API_KEY
npm run doctor              # checks config + connectivity to /tts/avatars

npm run doctor prints your config and, if the key works, the number of available voices.


Add it to Claude

Claude Code

claude mcp add wellsaid --env WELLSAID_API_KEY=YOUR_KEY -- node /absolute/path/to/wellsaid-connector/src/index.js

Then in a session: "List my WellSaid voices" → "Generate speech for '…' with speaker_id 3, a little deeper."

Claude Desktop (config file)

Settings → Developer → Edit Config, and merge the mcpServers block from claude_desktop_config.example.json. Replace the API key, the args path, and the output dir with your own install location. Fully quit and reopen Claude Desktop; the tools then appear under the 🔌 connector menu.

Claude Desktop (one-click extension)

The repo ships a manifest.json so it can be packaged as a Desktop Extension (.mcpb) that prompts for the API key in the UI — no JSON editing:

npx @anthropic-ai/mcpb pack .      # produces wellsaid.mcpb

Drag wellsaid.mcpb into Claude Desktop → Settings → Extensions, and paste your key when prompted. The extension defaults the output folder to your Downloads folder (see the config note below).

Remote / hosted connector — public, OAuth (src/remote.js)

This is the path to a public connector anyone can add by URL. src/remote.js is an OAuth 2.1–protected MCP server (Dynamic Client Registration + PKCE) that shows a consent page where each user pastes their own WellSaid key; that key is bound to their token and used only for their requests.

npm run start:remote        # OAuth MCP server on http://localhost:8788/mcp

Deploy it to a public HTTPS URL, then in Claude → Settings → Connectors → Add custom connector → paste https://your-url/mcp. Full instructions (Docker / Render / Fly / tunnel) are in DEPLOY.md. This hosted server is also the prerequisite for a Connectors Directory submission — see PRIVACY.md for the required privacy policy template.

There's also an authless local HTTP mode for quick testing (npm run start:http, port 8787) — stateless, no auth, 4 MB body cap. Use start:remote (OAuth) for anything shared.


Configuration

All configuration is via environment variables (or .env):

Variable Required Default Purpose
WELLSAID_API_KEY ✅ — Your WellSaid key (X-Api-Key).
WELLSAID_API_BASE https://api.wellsaidlabs.com/v1 Override the API base URL.
WELLSAID_OUTPUT_DIR ./output Where audio/caption files are saved (see note).
MCP_TRANSPORT stdio stdio or http.
PORT 8787 Port for HTTP transport.

Output-dir note: the code default is the connector's ./output folder, used when WELLSAID_OUTPUT_DIR is unset (Claude Code / .env installs). The one-click Desktop Extension (.mcpb) and the example Claude Desktop config instead default to your ~/Downloads folder, because a packaged extension has no writable ./output. Any tool call can override with output_dir.


Development

npm test                     # unit + in-process + stdio + http suites
node test/unit.test.js       # client helpers, safe file writing, zip reader
node test/inmemory.test.js   # tool behavior against a mocked API (real body-building)
node test/stdio.smoke.js     # spawns the real process, exercises the MCP handshake
node test/http.smoke.js      # Streamable-HTTP transport
npm run inspect              # opens the MCP Inspector against the server

Notes on API coverage

  • wellsaid_list_voices (GET /v1/tts/avatars) and wellsaid_generate_speech (POST /v1/tts/stream) are built against WellSaid's documented request/response shapes, including the integer speaker_id, model, audio_configs, and library_ids fields and inline AI Director tags.
  • wellsaid_generate_speech_with_timing posts to /v1/tts/word-timing and unpacks the returned zip.
  • wellsaid_combine_clips uses clip_ids + pause_durations per the combine endpoint.
  • If WellSaid changes a field, wellsaid_request lets Claude call any endpoint directly while this connector is updated.

Security

  • Your API key stays in your local environment / MCP client config; it is only sent to api.wellsaidlabs.com (or your WELLSAID_API_BASE) as X-Api-Key, and is never logged or written to disk.
  • Output filenames are reduced to a bare basename, so a tool call can never write outside your configured output folder.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选