agent-tts-free-mcp
v1.0.0
Published
Zero-cost, unlimited neural voice generator & MCP server for AI coding agents and autonomous content pipelines. Powered by Edge neural speech.
Maintainers
Readme
agent-tts-free-mcp
Zero-cost, unlimited neural voice generator & MCP server for AI coding agents, autonomous content creators, and automation pipelines. Powered by Edge neural speech synthesis.
Why agent-tts-free-mcp?
Commercial TTS APIs (ElevenLabs, OpenAI Audio, Google Cloud TTS) charge high per-character or per-minute fees, rate-limit agents, and require API keys.
agent-tts-free-mcp provides:
- Zero API keys required: Completely free and ready to use immediately out of the box.
- Natural Neural Audio: Crisp 24kHz 48kbps MP3 speech powered by Microsoft Edge Neural voices.
- Multi-lingual: Premium natural voices for Korean (
ko-KR-SunHiNeural,ko-KR-InJoonNeural, etc.), English (en-US-JennyNeural,en-US-GuyNeural), Japanese (ja-JP-NanamiNeural), and more. - Dual Interface:
- Standard MCP Server for Claude Code, Cursor, Windsurf, Antigravity, and AI agents.
- Fast CLI & Programmatic Library for bash scripts, build pipelines, and video rendering automations.
1. Quick Start (CLI)
# List available neural voices
npx agent-tts list-voices
# Synthesize speech to MP3
npx agent-tts say "안녕하세요. 오늘 전해드릴 경제 뉴스는 다음과 같습니다." -o news.mp3
# Use a specific voice with customized speech rate
npx agent-tts say "Hello world from autonomous AI agent!" --voice en-US-JennyNeural --rate +10% -o welcome.mp32. MCP Server Setup for AI Agents
Add to your MCP configuration (~/.claude/settings.json, Cursor MCP settings, or Antigravity config):
{
"mcpServers": {
"agent-tts": {
"command": "npx",
"args": ["-y", "agent-tts-free-mcp"]
}
}
}Available MCP Tools:
generate_speech_mp3- Synthesizes text into high-quality neural MP3 audio file.
- Arguments:
text(string, required): Text content to speak.outputPath(string, optional): Target file path (e.g../output.mp3). Defaults to a temporary file.voice(string, optional): Neural voice ID (default:ko-KR-SunHiNeural).rate(string, optional): Prosody rate adjustment (e.g.+10%,-5%).pitch(string, optional): Prosody pitch adjustment (e.g.+0Hz,+50Hz).
list_voices- Lists available neural voices and filters by language code.
- Arguments:
language(string, optional): Filter code likeko-KR,en-US,ja-JP.
3. Programmatic Usage (Node.js / TypeScript)
import { synthesizeSpeech, buildSsml, listVoices } from 'agent-tts-free-mcp';
import * as fs from 'fs';
// 1. Check supported voices
const koreanVoices = listVoices('ko-KR');
// 2. Synthesize audio buffer
const audioBuffer = await synthesizeSpeech('자동화 파이프라인에서 생성된 음성입니다.', {
voice: 'ko-KR-SunHiNeural',
rate: '+5%',
});
// 3. Save to disk
fs.writeFileSync('output.mp3', audioBuffer);
console.log(`Saved ${audioBuffer.length} bytes of MP3 audio!`);Supported Voices (Highlights)
| Voice ID | Name | Gender | Language | Recommended Use Case |
|---|---|---|---|---|
| ko-KR-SunHiNeural | 선희 (Sun-Hi) | Female | ko-KR | YouTube Shorts, Documentaries, Calm Narration |
| ko-KR-InJoonNeural | 인준 (In-Joon) | Male | ko-KR | News, Explainer Videos, Technical Briefings |
| ko-KR-HyunsuNeural | 현수 (Hyun-su) | Male | ko-KR | Conversational, Podcast dialogues |
| en-US-JennyNeural | Jenny | Female | en-US | Modern US English female narration |
| en-US-GuyNeural | Guy | Male | en-US | Authoritative tech / corporate voice |
| ja-JP-NanamiNeural | 七海 (Nanami) | Female | ja-JP | Clear natural Japanese narration |
License
MIT © OIYO Lab
