WHAT IT CONNECTS
What MatthewDailey rime mcp gives an AI Agent
- Exposes a `speak` tool that converts text to speech and plays it through system audio
- Uses Rime's high-quality voice synthesis API
- Node.js 16.x or higher
- A working audio output device
- macOS: Uses `afplay`
- Windows: Built-in Media.SoundPlayer (PowerShell)
- Linux: mpg123, mplayer, aplay, or ffplay
- `RIME_GUIDANCE`: The main description of when and how to use the speak tool
- `RIME_WHO_TO_ADDRESS`: Who the speech should address (default: "user")
- `RIME_WHEN_TO_SPEAK`: When the tool should be used (default: "when asked to speak or when finishing a command")
- `RIME_VOICE`: The default voice to use (default: "cove")
- Install dependencies:
- Build the server:
- Run in development mode with hot reload:
SECURITY
An MCP listing is not a security review
An MCP server may receive model context, credentials, local files, or permission to call external systems. Review its code, requested environment variables, network behavior, package provenance, and maintenance status before connecting it to an agent.
README
Repository documentation
A Model Context Protocol (MCP) server that provides text-to-speech capabilities using the Rime API. This server downloads audio and plays it using the system's native audio player.
- Exposes a
speaktool that converts text to speech and plays it through system audio - Uses Rime's high-quality voice synthesis API
- Node.js 16.x or higher
- A working audio output device
- macOS: Uses
afplay
There's sample code from Claude for the following that is not tested 🤙✨
- Windows: Built-in Media.SoundPlayer (PowerShell)
- Linux: mpg123, mplayer, aplay, or 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"
}
}
All of the optional env vars are part of the tool definition and are prompts to
All voice options are listed here.
You can get your API key from the Rime Dashboard.
The following environment variables can be used to customize the behavior:
RIME_GUIDANCE: The main description of when and how to use the speak toolRIME_WHO_TO_ADDRESS: Who the speech should address (default: "user")RIME_WHEN_TO_SPEAK: When the tool should be used (default: "when asked to speak or when finishing a command")RIME_VOICE: The default voice to use (default: "cove")
"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."
RIME_GUIDANCE="Use phrases and slang common among Gen Alpha."
RIME_WHO_TO_ADDRESS="Matt"
RIME_WHEN_TO_SPEAK="when asked to speak"
RIME_VOICE="use 'cove' when talking about Typescript and 'antoine' when talking about Python"
- Install dependencies:
npm install- Build the server:
npm run build- Run in development mode with hot reload:
npm run devMIT
To install Rime Text-to-Speech Server for Claude Desktop automatically via Smithery:
npx -y @smithery/cli install @MatthewDailey/rime-mcp --client claudeCOMMUNITY
