Kokoro TTS MCP Server
by ross-sec
README.md
<div align="center">

### **MCP server for text-to-speech using Kokoro TTS**
[](https://www.npmjs.com/package/@ross_tchnologies/kokoro-tts-mcp-server)
[](https://opensource.org/licenses/MIT)
[](https://github.com/ross-sec/kokoro_mcp_server)
**100% Local ⢠No Python Required ⢠Female Voice Default**
**[š¦ NPM Package](https://www.npmjs.com/package/@ross_tchnologies/kokoro-tts-mcp-server)** | **[š GitHub Repository](https://github.com/ross-sec/kokoro_mcp_server)** | **[š Documentation](https://github.com/ross-sec/kokoro_mcp_server/wiki)**
</div>
---
## Overview
A production-ready MCP server that provides text-to-speech capabilities using the Kokoro TTS model. Features a default female voice (`af_heart`) and runs **100% locally** using native JavaScript, eliminating Python dependencies.
**Built by [Ross Technologies](https://github.com/ross-sec)**
š Beer Sheva, Israel | š§ [devops.ross@gmail.com](mailto:devops.ross@gmail.com)
## Features
ā
**100% Local** - No external API calls, complete privacy
ā
**Native JavaScript** - Built with TypeScript and Node.js
ā
**SSE & Stdio Support** - Multiple transport modes
ā
**NPX Ready** - Run directly without installation
ā
**Female Voice Default** - Uses `af_heart` voice out of the box
ā
**Auto Audio Playback** - Automatically saves and plays generated audio
## Quick Start
```bash
# Run with npx (no installation)
npx @ross_tchnologies/kokoro-tts-mcp-server
# Or install globally
npm install -g @ross_tchnologies/kokoro-tts-mcp-server
kokoro-tts-mcp
```
## Installation
### NPM
```bash
npm install @ross_tchnologies/kokoro-tts-mcp-server
```
### NPX (No Installation)
```bash
npx @ross_tchnologies/kokoro-tts-mcp-server
```
### Global Installation
```bash
npm install -g @ross_tchnologies/kokoro-tts-mcp-server
```
Visit **[Installation Guide](https://github.com/ross-sec/kokoro_mcp_server/wiki/Installation)** for detailed instructions.
## MCP Client Configuration
Add to your MCP configuration file (e.g., `~/.cursor/mcp.json`):
```json
{
"mcpServers": {
"kokoro-tts": {
"command": "npx",
"args": ["-y", "@ross_tchnologies/kokoro-tts-mcp-server"]
}
}
}
```
See **[Configuration Guide](https://github.com/ross-sec/kokoro_mcp_server/wiki/Configuration)** for more options.
## Usage
### Text to Speech Tool
```json
{
"name": "text_to_speech",
"arguments": {
"text": "Hello, world!",
"voice": "af_heart", // optional, default
"speed": 1.0 // optional, default
}
}
```
**Available Voices:** `af_heart` (default), `af_bella`, `af_sarah`, and more.
See **[API Reference](https://github.com/ross-sec/kokoro_mcp_server/wiki/API-Reference)** for complete documentation.
## Documentation
š **[Full Documentation Wiki](https://github.com/ross-sec/kokoro_mcp_server/wiki)**
**Quick Links:**
- š [Installation Guide](https://github.com/ross-sec/kokoro_mcp_server/wiki/Installation)
- š [Getting Started](https://github.com/ross-sec/kokoro_mcp_server/wiki/Getting-Started)
- āļø [Configuration](https://github.com/ross-sec/kokoro_mcp_server/wiki/Configuration)
- š [API Reference](https://github.com/ross-sec/kokoro_mcp_server/wiki/API-Reference)
- š» [Examples](https://github.com/ross-sec/kokoro_mcp_server/wiki/Examples)
- š§ [Troubleshooting](https://github.com/ross-sec/kokoro_mcp_server/wiki/Troubleshooting)
- ā [FAQ](https://github.com/ross-sec/kokoro_mcp_server/wiki/FAQ)
- š ļø [Development Guide](https://github.com/ross-sec/kokoro_mcp_server/wiki/Development-Guide)
## Requirements
- **Node.js** v18 or higher
- No Python or other external dependencies required! š
## Troubleshooting
- **First run**: Downloads ~300MB model (one-time, takes 2-5 minutes)
- **Audio not playing**: File is saved - check response message for location
- **WSL users**: Copy audio files to Windows Desktop for playback
See **[Troubleshooting Guide](https://github.com/ross-sec/kokoro_mcp_server/wiki/Troubleshooting)** for detailed solutions.
## Contributing
Contributions are welcome! See:
- **[Contributing Guide](https://github.com/ross-sec/kokoro_mcp_server/wiki/Contributing)**
- **[Development Guide](https://github.com/ross-sec/kokoro_mcp_server/wiki/Development-Guide)**
## Links & Resources
- š¦ **[NPM Package](https://www.npmjs.com/package/@ross_tchnologies/kokoro-tts-mcp-server)** - Install from npm
- š **[GitHub Repository](https://github.com/ross-sec/kokoro_mcp_server)** - Source code and issues
- š **[Documentation Wiki](https://github.com/ross-sec/kokoro_mcp_server/wiki)** - Complete documentation
- š **[Report Issues](https://github.com/ross-sec/kokoro_mcp_server/issues)** - Bug reports and feature requests
- š¬ **[Discussions](https://github.com/ross-sec/kokoro_mcp_server/discussions)** - Community discussions
- š **[Model Context Protocol](https://modelcontextprotocol.io)** - Learn about MCP
- š **[Kokoro TTS Model](https://github.com/hexgrad/kokoro)** - Underlying TTS engine
## License
MIT License - See [LICENSE](https://github.com/ross-sec/kokoro_mcp_server/blob/main/LICENSE) for details.
Copyright Ā© 2025 [Ross Technologies](https://ross-developers.com). All rights reserved.
---
<div align="center">
**Made with ā¤ļø by Ross Technologies**
[Back to Top](#ross_tchnologieskokoro-tts-mcp-server)
</div>
This server cannot be deployed
Maintenance
ActivityInactive
ResponsivenessSyncing