Tts

com.brainiall由 brainiall.com 发布官方发布者v1.0.0更新于 Oct 25, 2026

Hosted pay-per-use TTS: 54 neural voices, 9 languages incl. Brazilian Portuguese. $10 free credits.

发布方自己的服务:Brainiall Documents

已验证Streamable HTTP可网页运行媒体与设计AI 与机器学习

概览

AI 生成的概览

托管式文本转语音 MCP 服务器,让助手用 54 种神经语音、9 种语言把文本合成为 WAV 音频。

可以做什么
合成语音:将最多 5000 字符的文本转为 WAV 音频,可选择语言、语音、语速以及音频或 base64 JSON 输出,按字符计费。浏览语音:列出完整语音目录,含语言、性别、口音与质量等级,可按语言筛选。检查服务状态:免费查询后端健康状况。
适用场景
适合需要让助手朗读文本、生成旁白、无障碍音频、语言练习片段或语音提醒,又不想本地运行 TTS 模型或订阅第三方服务的场景。
运行要求
远程 Streamable HTTP 端点,无需安装。需要 Brainiall API 密钥,以 Bearer 令牌形式放在 Authorization 请求头中,从提供方的应用站点获取。需要访问托管 API 的网络连接。部分客户端配置从 BRAINIALL_API_KEY 等环境变量读取密钥。
安装前请注意
按量计费:合成按每 1000 字符从 Brainiall 账户余额扣费,重复或长文本调用会产生费用。API 密钥是放在 Authorization 请求头中的机密,勿写入提交的配置或版本控制。合成的文本会发送给第三方托管 API。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Tts,将其添加到工作区。
  2. 连接 所需的 凭据。它们会被私密存储,绝不会在公开页面上展示。
  3. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.brainiall%2Ftts/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。 客户端会在首次连接时完成 OAuth 登录。

{
  "mcpServers": {
    "tts": {
      "type": "http",
      "url": "https://api.brainiall.com/mcp/tts/mcp"
    }
  }
}

README

Brainiall TTS MCP Server

Hosted text-to-speech for AI agents via the Model Context Protocol.

54 neural voices, 9 languages — including native Brazilian Portuguese (pf_dora, pm_alex, pm_santa) — served from a hosted, pay-per-use API. No GPU, no model downloads, no ElevenLabs subscription: bring one API key and pay $0.008 per 1,000 characters ($10 free credits on signup).

Why this server

Every other TTS MCP server either runs models locally (heavy, slow to set up) or wraps a third-party key you already pay a subscription for. This one is a hosted, metered API:

  • Zero setup — remote server, nothing to install
  • Pay per use — $0.008/1K characters, billed against your Brainiall balance
  • $10 free credits — sign up at app.brainiall.com
  • WAV out — 16-bit PCM, 24 kHz mono, returned as playable MCP audio content or base64 JSON

Quick start

Get an API key at app.brainiall.com ($10 welcome credits, no card required).

VS Code / GitHub Copilot

[Install Brainiall TTS in VS Code]

The button installs the remote server in discovery mode, so VS Code can list its tools without a secret. Synthesis still fails closed until you add your Brainiall API key. For a secure workspace configuration that prompts once and stores the key in VS Code's secret storage, copy .vscode/mcp.json into your project or clone this repository, then start brainiallTts from MCP: List Servers.

json
{  "inputs": [    {      "type": "promptString",      "id": "brainiall-api-key",      "description": "Brainiall API key",      "password": true    }  ],  "servers": {    "brainiallTts": {      "type": "http",      "url": "https://api.brainiall.com/mcp/tts/mcp",      "headers": {        "Authorization": "Bearer ${input:brainiall-api-key}"      }    }  }}

After the server starts, try:

Use Brainiall TTS to list the Brazilian Portuguese voices, then read “Olá do VS Code” with pf_dora.

The install URL format and secret-input configuration follow the official VS Code MCP guide and configuration reference.

GitHub Copilot cloud agent

Use the restricted remote-server configuration for Copilot cloud agent or Copilot code review. It allowlists the three Brainiall tools and resolves the Bearer token from the repository's COPILOT_MCP_BRAINIALL_API_KEY Agents secret; no API key is committed.

Continue (VS Code / JetBrains)

Copy the ready-to-use Continue MCP block to .continue/mcpServers/brainiall-tts.yaml, then put BRAINIALL_API_KEY=your-key in .continue/.env. Keep that .env file out of version control.

The block uses Continue's supported streamable-http transport and resolves the key through ${{ secrets.BRAINIALL_API_KEY }}; no credential is committed. See the Continue setup and smoke test.

Dify builders

For a Dify speech workflow, use the open-source BRAINIALL Speech provider and keep the API key in Dify's credential store. The bounded Dify intent route explains the caller-owned boundary; it is not a Dify partnership or a guarantee of production behavior.

Remote server (recommended — nothing to install)

Codex CLI / IDE / ChatGPT desktop app

Use the project-scoped Codex configuration. It reads BRAINIALL_API_KEY from the environment, allowlists the three Brainiall tools, and prompts before every call.

Claude Code

Use the environment-backed Claude Code configuration. It keeps the key out of .mcp.json, scopes the server to the current project, and documents the external-data and metered-usage boundary.

Claude Desktop / any client with .mcp.json-style config

json
{  "mcpServers": {    "brainiall-tts": {      "type": "http",      "url": "https://api.brainiall.com/mcp/tts/mcp",      "headers": {        "Authorization": "Bearer YOUR_BRAINIALL_API_KEY"      }    }  }}

Cursor (~/.cursor/mcp.json)

json
{  "mcpServers": {    "brainiall-tts": {      "url": "https://api.brainiall.com/mcp/tts/mcp",      "headers": {        "Authorization": "Bearer YOUR_BRAINIALL_API_KEY"      }    }  }}

LM Studio

Use the official one-click deeplink and the explicit local-model privacy boundary in the LM Studio setup guide.

OpenCode v2

Use the remote-server schema and environment-backed Bearer header in the OpenCode v2 setup guide.

Msty Studio

Use the manual Msty Studio field guide for a Streamable HTTP connection. The reference file is not presented as an official integration or import preset.

Hugging Face Chat UI (self-hosted)

Use the administrator MCP_SERVERS example and a tool-capable model. The guide documents the shared-key boundary for base servers.

Clients that require /v1/audio/speech

Use the zero-dependency partial OpenAI-shaped TTS adapter when a client can configure an OpenAI-style speech route but cannot call Brainiall's native endpoint. The adapter returns WAV only, declares the sample rate observed in the WAV header, never retries a metered request, and documents the exact compatibility limits. It is a local reference adapter, not a claim that the hosted Brainiall API is natively OpenAI-compatible.

Run locally (stdio-free, still calls the hosted API)

The server itself is a thin wrapper — you can self-host it and it will proxy to api.brainiall.com with your key:

bash
docker build -t brainiall-tts-mcp .docker run -p 8080:8080 -e APIM_KEY=YOUR_BRAINIALL_API_KEY brainiall-tts-mcp# MCP endpoint: http://localhost:8080/mcp

Tools

ToolDescriptionCost
synthesize_speechConvert text (≤5000 chars) to WAV speech. Params: text, language (default pt), voice, speed (0.5–2.0), output_format (audio | base64_json)$0.008/1K chars
list_voicesFull voice catalog with language, gender, accent, quality grade. Optional language filterfree
check_tts_serviceBackend health statusfree

Voices

LanguageVoices
Portuguese (BR)pf_dora, pm_alex, pm_santa
English (US)af_heart, af_bella, af_nova, am_adam, am_michael + 14 more
English (GB)bf_alice, bf_emma, bm_daniel, bm_george + 4 more
Spanishef_dora, em_alex, em_santa
Frenchff_siwis, fm_gilles
Italianif_sara, im_nicola
Hindihf_alpha, hf_beta, hm_omega, hm_psi
Japanesejf_alpha, jf_gongitsune, jm_kumo + 2 more
Mandarinzf_xiaoxiao, zm_yunxi + 6 more

Example

Ask your agent:

"Read this paragraph out loud in Brazilian Portuguese with a female voice"

The agent calls synthesize_speech(text=..., language="pt", voice="pf_dora") and receives playable WAV audio.

For copy-ready prompts and smoke tests for narration, accessibility, language practice, and agent alerts, see Agent workflow recipes.

For REST client testing and automation, import the Postman collection. It contains health, voice-list and two-character synthesis smoke tests and keeps the API key in a collection variable rather than the request URL.

For no-code automation, import the n8n text-to-WAV workflow. It uses n8n's Header Auth credential instead of embedding a key in the workflow, sends editable text, voice and speed fields to the hosted API, and returns the WAV in the binary property speech. The template is statically validated; select your credential and run it in your own n8n instance to validate the live integration.

For code generation, API clients, and directory discovery, use the machine-readable OpenAPI 3.1 specification. The specification documents the authenticated voice catalog and WAV synthesis endpoints without embedding an API key.

Authentication & billing

Pass your Brainiall API key as a Bearer token (see configs above). Usage is metered per character against your account balance — the same key works across all Brainiall APIs (STT, OCR, NLP, image and more at brainiall.com).

Endpoints

  • MCP (Streamable HTTP): https://api.brainiall.com/mcp/tts/mcp
  • Health: https://api.brainiall.com/mcp/tts/health
  • Underlying REST API: POST https://api.brainiall.com/v1/tts/synthesize

License

MIT

来源:README.md,提交 8a6ee09

工具

0
该服务器需要登录,因此 SourceWeft 无法在没有账号的情况下读取其工具,也未收录。已连接账号所能看到的内容可能因账号及其权限而异。

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 85%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

其他 Brainiall 集成