Back to MCP directory
publicPublicdnsLocal runtime

say-mcp-server

一个基于macOS内置say命令的文本转语音MCP服务器

article

README

🚀 中文翻译

本项目提供了多语言语音播报的配置信息,可通过配置实现不同语言的语音输出。

🚀 快速开始

配置步骤

将以下配置示例添加到mcp.json文件中:

{
  "say-m": {
    "/usr/bin/say": {
      "Alex": "english_us",
      "Sophie": "english_gbr",
      "Juan": "spanish",
      "Pierre": "french",
      "Hans": "german",
      "Antonio": "italian",
      "Yuki": "japanese",
      "Sejong": "korean",
      "Ting-Ting": "mandarin",
      "Siu-Lan": "cantonese",
      "Mei-Jia": "taiwanese",
      "Ting-Ting": "hongkongan",
      "Daan": "dutch",
      "Miguel": "portuguese",
      "Alexey": "russian",
      "Hsiung-Yu": "minnan",
      "Ho-Tsing": "hakka",
      "Jia-Hui": "wuu"
    }
  }
}

运行要求

  • 操作系统:macOS
  • Node.js 版本:>=16.0

✨ 主要特性

  • 支持多种语言的语音播报,包括英语(美国、英国)、西班牙语、法语、德语、意大利语、日语、韩语、中文(普通话、粤语、台湾话、香港话、闽南语、客家话、吴语)、荷兰语、葡萄牙语、俄语等。

📦 安装指南

本项目未提及具体的安装步骤,仅需按照上述配置说明进行配置即可。

💻 使用示例

基础用法

以下是不同语言对应的代码示例: | 角色 | 语言 | 代码示例 | | ---- | ---- | ---- | | say-m | 英语(美国) | /usr/bin/say -v Alex | | say-m | 英语(英国) | /usr/bin/say -v Sophie | | say-m | 西班牙语 | /usr/bin/say -v Juan | | say-m | 法语 | /usr/bin/say -v Pierre | | say-m | 德语 | /usr/bin/say -v Hans | | say-m | 意大利语 | /usr/bin/say -v Antonio | | say-m | 日语 | /usr/bin/say -v Yuki | | say-m | 韩语 | /usr/bin/say -v Sejong | | say-m | 中文(普通话) | /usr/bin/say -v Ting-Ting | | say-m | 中文(粤语) | /usr/bin/say -v Siu-Lan | | say-m | 中文(台湾) | /usr/bin/say -v Mei-Jia | | say-m | 中文(香港) | /usr/bin/say -v Ting-Ting | | say-m | 荷兰语 | /usr/bin/say -v Daan | | say-m | 葡萄牙语 | /usr/bin/say -v Miguel | | say-m | 俄语 | /usr/bin/say -v Alexey | | say-m | 中文(闽南语) | /usr/bin/say -v Hsiung-Yu | | say-m | 中文(客家话) | /usr/bin/say -v Ho-Tsing | | say-m | 中文(吴语) | /usr/bin/say -v Jia-Hui |

📄 许可证

本项目采用 MIT License 许可协议。

👥 贡献者

Barton Rhodes - btr@say-m.com

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client