Antigravity Voice MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Antigravity Voice MCP read this out loud: build finished successfully"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Antigravity Voice MCP
Local MCP (Model Context Protocol) server untuk menghubungkan Google Antigravity IDE dengan Windows Text-to-Speech.
Project ini menyediakan tool suara yang bisa dipanggil melalui MCP, sehingga Antigravity dapat membacakan teks, ringkasan, atau status pekerjaan melalui speaker Windows.
Status
Version: 1.1.0
Fitur saat ini:
speak— membacakan teks menggunakan Windows Text-to-Speech.list_voices— menampilkan voice Windows yang tersedia.Dukungan pengaturan:
voice
rate
volume
MCP transport melalui stdio.
Windows PowerShell +
System.Speech.Sudah diuji pada Windows 11 dengan Node.js 24.
Related MCP server: TTS MCP Server
Requirements
Pastikan device memiliki:
Windows 10 atau Windows 11
Node.js
npm
Google Antigravity IDE
Windows Text-to-Speech voice yang aktif
Cek Node.js dan npm:
node -v
npm -vInstallation
Clone repository:
git clone https://github.com/sirbramantyo/antigravity-voice-mcp.gitMasuk ke folder project:
cd antigravity-voice-mcpInstall dependency:
npm installProject Structure
antigravity-voice-mcp
├── src
│ ├── index.js
│ ├── test-client.js
│ └── test-tts.js
├── .gitignore
├── package.json
├── package-lock.json
└── README.mdTest Windows Text-to-Speech
Untuk memastikan Node.js dapat menjalankan Windows TTS:
node src/test-tts.jsJika berhasil, speaker akan membacakan kalimat test.
Test MCP Server
Jalankan:
node src/test-client.jsExpected result:
Available MCP tools:
- speak
- list_voicesTool list_voices akan menampilkan voice Windows yang terpasang, lalu tool speak akan menjalankan Text-to-Speech.
Contoh voice yang pernah terdeteksi:
Microsoft Hazel Desktop
Microsoft Zira DesktopAntigravity MCP Configuration
Antigravity membaca custom MCP server melalui file:
~/.gemini/config/mcp_config.jsonPada Windows, lokasi tersebut biasanya berada di folder user.
Tambahkan konfigurasi berikut ke object mcpServers:
{
"mcpServers": {
"antigravity-voice": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": [
"D:\\PATH\\TO\\antigravity-voice-mcp\\src\\index.js"
],
"cwd": "D:\\PATH\\TO\\antigravity-voice-mcp"
}
}
}Ganti:
D:\PATH\TO\antigravity-voice-mcpdengan lokasi repository pada device Anda.
Contoh:
E:\Documents\Web_Development\Tools\antigravity-voice-mcpPenting: absolute path berbeda pada setiap device. Jangan menyalin path dari laptop lain tanpa menyesuaikannya.
Node.js Path
Untuk mengetahui path Node.js pada Windows:
where.exe nodeContoh hasil:
C:\Program Files\nodejs\node.exeGunakan path tersebut pada field command di mcp_config.json.
Enable MCP di Antigravity
Di Antigravity IDE:
Buka Agent panel.
Buka menu MCP Servers.
Pilih Manage MCP Servers.
Pastikan
antigravity-voicemuncul.Enable atau refresh server setelah mengubah
index.jsatau konfigurasi MCP.
Tool: speak
Tool speak menerima parameter:
text
voice
rate
volumeDefault configuration:
voice = Microsoft Zira Desktop
rate = 2
volume = 100Range:
rate = -10 sampai 10
volume = 0 sampai 100Contoh pemanggilan:
{
text: "Build completed successfully.",
voice: "Microsoft Zira Desktop",
rate: 2,
volume: 100
}Jika voice, rate, dan volume tidak dikirim, server menggunakan nilai default.
Tool: list_voices
Tool ini membaca voice yang tersedia melalui Windows System.Speech.
Gunakan tool ini sebelum memilih voice custom pada device baru, karena daftar voice dapat berbeda antar komputer.
Important Notes
Jangan commit folder berikut:
node_modules/Repository sudah menggunakan .gitignore.
File global Antigravity:
~/.gemini/config/mcp_config.jsonjuga tidak perlu dimasukkan ke repository karena berisi absolute path yang spesifik untuk masing-masing device.
Updating the Project
Setelah melakukan perubahan source code:
git add .
git commit -m "Describe your change"
git pushPada device lain, update repository dengan:
git pull
npm installnpm install diperlukan jika dependency pada package.json berubah.
Troubleshooting
MCP server tidak muncul di Antigravity
Periksa:
path Node.js pada
commandpath
src/index.jsnilai
cwdJSON syntax pada
mcp_config.json
Setelah memperbaiki konfigurasi, refresh MCP server.
MCP terhubung tetapi suara tidak terdengar
Test langsung:
node src/test-tts.jsJika direct TTS gagal, masalah berada pada Windows TTS atau PowerShell, bukan MCP.
Jika direct TTS berhasil tetapi MCP gagal, jalankan:
node src/test-client.jsuntuk mengisolasi masalah antara MCP client dan server.
Voice tidak ditemukan
Jalankan list_voices atau test client untuk melihat nama voice yang benar-benar tersedia pada device tersebut.
Nama voice harus sama persis dengan nama yang dilaporkan Windows.
Recommended Workflow
Gunakan voice terutama untuk notifikasi singkat seperti:
Build completed successfully.
Tests passed.
Three tests failed.
Deployment finished.Membacakan seluruh response coding yang panjang biasanya kurang efisien.
License
Private/internal utility project unless changed by repository owner.
Available Tools
2 toolslist_voicesList VoicesA
List installed Windows Text-to-Speech voices.
Inputs: no named parameters.
speakSpeakC
Speak text aloud using Windows Text-to-Speech.
Inputs: text (required), rate, voice, volume.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
speak and list_voices target entirely distinct actions (produce audio vs. enumerate available voices), with no overlap in purpose. An agent can trivially pick the right tool.
Both names follow a clean verb_noun convention (speak, list_voices) with consistent snake_case where multi-word. No mixing of styles.
Two tools is on the thin side, but for a narrow text-to-speech server each tool clearly earns its place. It borders on under-scoped rather than bloated.
Core capability (speaking) is present, but list_voices is a partial dead end since there is no way to select a voice, stop/pause playback, or adjust rate/pitch. These are notable gaps for a TTS surface.
Maintenance
Related MCP Connectors
MCP server for Text-to-Speech
MCP server exposing the AceDataCloud Fish Audio API (text-to-speech with voice conditioning)
Remote text-to-speech MCP server with text_to_speech and list_voices tools. Free plan.
Hosted text-to-speech MCP server: 66 voices in 9 languages, long-form narration, podcasts.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for text-to-speech using macOS say command, enabling speech synthesis, audio file generation, and voice management.59 npm1MIT
- AlicenseNot gradedqualityDmaintenanceProvides Text-to-Speech (TTS) functionality using Google TTS API, enabling audio generation, voice listing, and style templates via MCP.21 npm1MIT
- AlicenseAqualityCmaintenanceEnables MCP clients to synthesize text into speech locally and play it through the machine's audio, with selectable voices and playback speed.255 PyPIApache 2.0
- FlicenseNot gradedqualityBmaintenanceEnables generating spoken audio from text and retrieving available voice characters and styles through MCP tools on macOS.-