Connect the Giggy MCP server to Claude Code, Cursor and Codex
Giggy hosts a Streamable HTTP Model Context Protocol (MCP) server at https://giggy.ai/mcp exposing list_voices, list_my_voices, generate_speech, get_speech_generation and transcribe_audio.
Before you start
- Create a Giggy API key (giggy_sk_) in Speech API > API Keys.
- Install an MCP-compatible client: Claude Code, Cursor, Codex, VS Code or Cline.
- Confirm whether the key belongs to Personal or a Workspace (MCP billing and custom voices follow the key's owner).
Create it in Giggy
- Add https://giggy.ai/mcp as a Streamable HTTP MCP server in your client configuration (see github.com/giggy-ai/giggy-mcp for client snippets).
- Set the Authorization header to Bearer $GIGGY_API_KEY.
- Ask your agent to call list_voices (for example with language="English") and pick a voice_id.
- Call generate_speech with your script, voice_id and mode ("batch" for $0.60/1M or "fast" for $0.80/1M), then poll get_speech_generation for the signed MP3 URL.
Improve the result
- Pass an idempotency_key when automating repeated generation workflows from an agent.
- Download Batch results within 7 days (or 12 hours under a 12-hour privacy policy) before active storage cleanup.
Examples
- MCP endpoint: https://giggy.ai/mcp with header Authorization: Bearer $GIGGY_API_KEY.
- Available MCP tools: list_voices, list_my_voices, generate_speech (mode: batch | fast | streaming), get_speech_generation and transcribe_audio (completed WAV data URLs).
Common mistakes
- Expecting generate_speech over MCP to return raw MP3 bytes inline — it returns durable generation metadata; call get_speech_generation with generation_uuid to retrieve the signed MP3 URL.
- Trying to stream live microphone audio through MCP transcribe_audio — MCP accepts completed WAV data URLs; use wss://api.giggy.ai/v1/audio/transcriptions for live audio.
- Assuming every REST option exists on MCP tools — REST options are not automatically SDK or MCP options.
Related guides
- How to create text to speech
- How to create a designed voice
- How to create a voice clone
- How Generation History works
- How My Voices and Voice Library work
- Migrate from OpenAI tts-1 before shutdown
- Twilio Media Streams with Giggy WebSocket STT
- Build a Pipecat voice agent with Giggy
- Use Giggy TTS in LiveKit Agents
- Configure Giggy as a Jambonz custom STT provider
- Automate voiceovers and transcription in n8n