Skip to main content
Glama

Иней МКП

иней

Сервер Model Context Protocol (MCP), который обеспечивает возможности преобразования текста в речь с использованием Rime API. Этот сервер загружает аудио и воспроизводит его с помощью собственного аудиоплеера системы.

Функции

  • Предоставляет инструмент speak , который преобразует текст в речь и воспроизводит ее через системный звук

  • Использует высококачественный API синтеза голоса Rime

Related MCP server: AivisSpeech MCP Server

Требования

  • Node.js 16.x или выше

  • Рабочее устройство вывода звука

  • macOS: Использует afplay

Вот пример кода от Клода, который не тестировался 🤙✨

  • Windows: Встроенный Media.SoundPlayer (PowerShell)

  • Linux: mpg123, mplayer, aplay или ffplay

Конфигурация МКП

"ref": {
  "command": "npx",
  "args": ["rime-mcp"],
  "env": {
      RIME_API_KEY=your_api_key_here

      # Optional configuration
      RIME_GUIDANCE="<guide how the agent speaks>"
      RIME_WHO_TO_ADDRESS="<your name>"
      RIME_WHEN_TO_SPEAK="<tell the agent when to speak>"
      RIME_VOICE="cove" 
  }
}

Все необязательные переменные окружения являются частью определения инструмента и представляют собой подсказки для ввода.

Все голосовые опции перечислены здесь .

Вы можете получить свой ключ API на панели инструментов Rime .

Для настройки поведения можно использовать следующие переменные среды:

  • RIME_GUIDANCE : Основное описание того, когда и как использовать инструмент речевого оповещения

  • RIME_WHO_TO_ADDRESS : Кому должна быть адресована речь (по умолчанию: «пользователь»)

  • RIME_WHEN_TO_SPEAK : Когда следует использовать инструмент (по умолчанию: «когда просят говорить или при завершении команды»)

  • RIME_VOICE : Голос по умолчанию (по умолчанию: «cove»)

Примеры использования

Демонстрация Rime MCP в курсоре

Пример 1: Кодирование объявлений агента

"RIME_WHEN_TO_SPEAK": "Always conclude your answers by speaking.",
"RIME_GUIDANCE": "Give a brief overview of the answer. If any files were edited, list them."

Пример 2: Узнайте, как разговаривают современные дети.

RIME_GUIDANCE="Use phrases and slang common among Gen Alpha."
RIME_WHO_TO_ADDRESS="Matt"
RIME_WHEN_TO_SPEAK="when asked to speak"

Пример 3: Разные языки в зависимости от контекста

RIME_VOICE="use 'cove' when talking about Typescript and 'antoine' when talking about Python"

Разработка

  1. Установить зависимости:

npm install
  1. Сборка сервера:

npm run build
  1. Запустить в режиме разработки с горячей перезагрузкой:

npm run dev

Лицензия

Массачусетский технологический институт

Значки

Available Tools

1 tool
speakA

Speak text aloud using Rime's text-to-speech API. Should be used when user asks you to speak or to announce and explain when you finish a command

User configuration:

WHO_TO_ADDRESS: user

WHEN_TO_SPEAK: when asked to speak or when finishing a command

VOICE: cove

GUIDANCE: Use the speak tool to convert text to speech when the user requests audio output or when providing verbal responses

Inputs: text (required), speaker, speedAlpha, reduceLatency.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 1 tool

    Disambiguation5/5

    With only one tool, there is no possibility of ambiguity or overlap between tools. The speak tool has a single, clearly defined purpose for text-to-speech conversion.

    Naming Consistency5/5

    A single tool inherently has perfect naming consistency, as there are no other tools to compare it against. The name 'speak' follows a clear verb pattern appropriate for its function.

    Tool Count2/5

    A single tool is too few for most MCP server purposes, even for a text-to-speech service. This feels thin and limited, lacking complementary tools like volume control, voice selection, or speech status checks that would enhance functionality.

    Completeness2/5

    The tool surface is severely incomplete for a text-to-speech domain. While the speak tool covers the core output function, there are obvious gaps such as no tools for managing voices, adjusting speech parameters, stopping speech, or checking speech status, which limits agent capabilities.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol server that integrates high-quality text-to-speech capabilities with Claude Desktop and other MCP-compatible clients, supporting multiple voice options and audio formats.
      1
      MIT
    • A
      license
      B
      quality
      D
      maintenance
      A Model Context Protocol server that provides text-to-speech functionality for AI agents using Microsoft Edge's text-to-speech technology, supporting multiple voices, languages, and voice customization.
      2
      8
      MIT